Function at 0x10039980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10059ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call dword [0x1005d4d4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0
call dword [0x1005d4d4]
mov ebp, dword [esp + 0x64]
lea eax, [ebp + 0x18]
push eax
push ecx
mov bl, 1
mov byte [esp + 0x64], bl
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_HUNTSCENENAME
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER
mov byte [esp + 0x6c], 2
call dword [0x1005d4b4]
lea esi, [ebp + 8]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_USEORDERHUNT
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER
mov byte [esp + 0x6c], 3
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov edx, dword [esp + 0x18]
mov edi, dword [0x1005d18c]
push edx
call edi
add esp, 4
mov dword [ebp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_USEORDERCHARACTER
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER
mov byte [esp + 0x6c], 4
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov ecx, dword [esp + 0x18]
push ecx
call edi
add esp, 4
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_USEORDERSERVER
mov dword [ebp + 0x20], eax
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER
mov byte [esp + 0x6c], 5
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_SERVERMAIN
mov dword [ebp + 0x24], eax
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER
mov byte [esp + 0x6c], 6
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov edx, dword [esp + 0x18]
push edx
call edi
add esp, 4
lea ecx, [esp + 0x34]
mov dword [ebp + 0x28], eax
call dword [0x1005d4d4]
lea ecx, [esp + 0x3c]
call dword [0x1005d4d4]
lea ecx, [esp + 0x40]
call dword [0x1005d4d4]
lea eax, [esp + 0x18]
push eax
push ecx
mov bl, 7
mov byte [esp + 0x64], bl
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.ORDER_CHARACTERCOUNT
call dword [0x1005d4b4]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.CHARACTER
mov byte [esp + 0x6c], 8
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov ebp, dword [reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x10039f1c
mov edx, dword [esp + 0x64]
add edx, 0x2c
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
push eax
push str.ORDER_NUMBER
lea ecx, [esp + 0x1c]
push str._s_04d
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 9
mov ecx, esp
mov dword [esp + 0x38], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x20]
add esp, 4
push edx
push str.ORDER_HUNTSCENENAME
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
push str._s_04d
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x34]
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xa
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x1c]
push eax
push str.ORDER_HUNTHOURS
lea ecx, [esp + 0x1c]
push str._s_04d
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xb
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov byte [esp + 0x68], bl
mov ecx, esi
call fcn.10022ef0
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x20]
add esp, 4
push edx
push str.ORDER_HUNTMONNAME
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1c]
push str._s_04d
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x1c]
push eax
push str.ORDER_HUNTITEMNAME
lea ecx, [esp + 0x1c]
push str._s_04d
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x40]
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xd
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov ecx, dword [esp + 0x1c]
push ecx
push str.ORDER_HUNTITEMCOUNT
lea edx, [esp + 0x1c]
push str._s_04d
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xe
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_PKCOUNT
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x54], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0xf
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_USEBLACKLIST
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x58], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_LEVEL
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x5c], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x11
mov ecx, esp
mov dword [esp + 0x34], esp
push str.CHARACTER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x78], eax
call fcn.10038310
mov ebx, dword [esp + 0x48]
call fcn.1003a340
mov eax, dword [esp + 0x1c]
mov edi, dword [0x1005d18c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov bl, 7
jl 0x10039bb2
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.ORDER_SERVERCOUNT
call dword [0x1005d4b4]
push ecx
mov byte [esp + 0x68], 0x12
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x1003a2ed
mov ecx, dword [esp + 0x64]
add ecx, 0x40
mov dword [esp + 0x64], ecx
jmp 0x10039f88
mov edi, dword [0x1005d18c]
mov bl, 7
mov edx, dword [esp + 0x1c]
push edx
push str.ORDER_NUMBER
lea eax, [esp + 0x1c]
push str._s_04d
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x13
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_HUNTSCENENAME
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x40], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x14
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x1c]
push eax
push str.ORDER_HUNTHOURS
lea ecx, [esp + 0x1c]
push str._s_04d
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x18]
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x15
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov byte [esp + 0x68], bl
mov ecx, esi
call fcn.10022ef0
mov ecx, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esp + 0x20]
add esp, 4
push edx
push str.ORDER_HUNTMONNAME
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1c]
push str._s_04d
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x16
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x1c]
push eax
push str.ORDER_HUNTITEMNAME
lea ecx, [esp + 0x1c]
push str._s_04d
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x40]
push edx
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x17
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov ecx, dword [esp + 0x1c]
push ecx
push str.ORDER_HUNTITEMCOUNT
lea edx, [esp + 0x1c]
push str._s_04d
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x18
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_PKCOUNT
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x54], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x19
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_USEBLACKLIST
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x58], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x1a
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
push str.ORDER_LEVEL
lea edx, [esp + 0x1c]
push str._s_04d
push edx
mov dword [esp + 0x5c], eax
call ebp
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x1005d4ac]
push ecx
mov byte [esp + 0x68], 0x1b
mov ecx, esp
mov dword [esp + 0x34], esp
push str.SERVER
call dword [0x1005d4b4]
mov ecx, esi
mov byte [esp + 0x68], bl
call fcn.10022ef0
mov eax, dword [esp + 0x18]
push eax
call edi
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x78], eax
call fcn.10038310
mov ebx, dword [esp + 0x88]
call fcn.1003a340
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jl 0x10039f80
lea ecx, [esp + 0x40]
call dword [0x1005d4d0]
lea ecx, [esp + 0x3c]
call dword [0x1005d4d0]
lea ecx, [esp + 0x34]
call dword [0x1005d4d0]
lea ecx, [esp + 0x14]
call dword [0x1005d4d0]
lea ecx, [esp + 0x18]
call dword [0x1005d4d0]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4