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

Disassembly:
push 0xffffffffffffffff
push 0x47bbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x3c], ebx
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
mov dword [esp + 0x74], 1
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
mov byte [esp + 0x7c], 2
call fcn.00401510
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.00463010
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.00404410
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4641dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
xor esi, esi
cmp eax, esi
je 0x464243
mov edi, dword [esp + 0x84]
mov ecx, edi
call fcn.00401d80
push edi
push ecx
lea esi, [ebp - 0x10]
mov dword [esp + 0x8c], esp
mov edi, esp
push esi
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.00463300
mov edi, eax
mov byte [esp + 0x74], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4649c3
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4649c3
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], esi
mov edx, dword [0x4a440c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a440c
mov byte [esp + 0x74], 6
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov eax, dword [ebx + 4]
mov byte [esp + 0x74], 7
mov dword [esp + 0x34], esi
cmp eax, esi
jne 0x464372
lea eax, [edi - 0x10]
mov byte [esp + 0x74], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4642ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
cmp eax, esi
je 0x4642c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
cmp eax, esi
je 0x4642d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x4642f7
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea eax, [ebp - 0x10]
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov byte [esp + 0x74], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46433d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464368
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
jmp 0x464a11
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, esi
mov dword [esp + 0x1c], eax
jge 0x464471
lea eax, [edi - 0x10]
mov byte [esp + 0x74], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4643ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
cmp eax, esi
je 0x4643c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
cmp eax, esi
je 0x4643d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x4643f7
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x74], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x74], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46443d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
jmp 0x464a11
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edi, eax
cmp edi, esi
mov dword [esp + 0x1c], edi
jge 0x4644eb
lea ecx, [esp + 0x20]
call fcn.00401df0
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
cmp eax, esi
je 0x4644aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
cmp eax, esi
je 0x4644bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x4c]
call fcn.0040fde0
lea ecx, [esp + 0x28]
call fcn.00401df0
lea ecx, [esp + 0x7c]
call fcn.00401df0
lea ecx, [esp + 0x80]
call fcn.00401df0
jmp 0x464a0f
mov ecx, dword [esp + 0x84]
call fcn.00401d80
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00404410
mov ecx, dword [esp + 0x7c]
cmp dword [ecx - 0xc], esi
je 0x464569
push 0x47faf8
lea ecx, [esp + 0x80]
call fcn.00406910
test eax, eax
je 0x464569
lea edx, [esp + 0x4c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x47faf8
call fcn.004062c0
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x84], 8
call fcn.004023c0
mov ecx, ebx
mov byte [esp + 0x80], 7
call fcn.00463f40
jmp 0x46457a
lea ecx, [esp + 0x4c]
call fcn.00463160
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x38], eax
cmp ecx, esi
jbe 0x464a2b
lea esp, [esp]
cmp eax, ecx
jae 0x464854
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax*4]
lea ebp, [ecx + eax*4]
cmp dword [edx - 0xc], esi
je 0x464838
xor edi, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
mov ecx, ebx
mov byte [esp + 0x80], 9
call fcn.004639d0
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x46485e
mov eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp eax, edi
jbe 0x464901
lea esp, [esp]
cmp ecx, eax
jae 0x464854
mov edx, dword [esp + 0x5c]
mov eax, dword [0x4a440c]
lea edi, [edx + ecx*4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push ecx
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x84], 0xa
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00463190
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x464785
cmp dword [ecx - 0xc], 0
je 0x464785
mov eax, dword [ebp]
xor edx, edx
test eax, eax
setne dl
test edx, edx
je 0x4648f7
push eax
push ecx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4647c4
push 1
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.004027a0
push 0x48f07c
push eax
call fcn.004040c0
add esp, 8
lea ecx, [esp + 0x40]
mov bl, al
call fcn.00401df0
test bl, bl
je 0x464775
lea ecx, [esp + 0x30]
call fcn.004023a0
lea ecx, [esp + 0x2c]
call fcn.004023a0
push 0x2e
mov ecx, ebp
mov byte [esp + 0x78], 0xc
call fcn.00406940
cmp eax, 0xffffffff
je 0x464763
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00407aa0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 0xd
call fcn.00404410
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 0xc
call fcn.00401df0
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00406940
cmp eax, 0xffffffff
je 0x464763
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00407aa0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 0xe
call fcn.00404410
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0xc
call fcn.00401df0
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
call fcn.00406910
test eax, eax
je 0x4647e1
lea ecx, [esp + 0x2c]
call fcn.00401df0
lea ecx, [esp + 0x30]
call fcn.00401df0
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 9
call fcn.00401df0
jmp 0x4647a6
lea eax, [ecx - 0x10]
mov byte [esp + 0x74], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4647a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jae 0x464901
mov ebx, dword [esp + 0x3c]
jmp 0x464600
push edi
lea ecx, [esp + 0x24]
call fcn.00404410
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.00401df0
jmp 0x464812
push edi
lea ecx, [esp + 0x24]
call fcn.00404410
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], 1
call fcn.00401df0
lea ecx, [esp + 0x30]
call fcn.00401df0
lea ecx, [esp + 0x18]
call fcn.00401df0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 7
test eax, eax
je 0x464838
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x38], eax
cmp eax, ecx
jae 0x464a27
xor esi, esi
jmp 0x464590
push 0x80070057
call fcn.00401100
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x46487f
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4648a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
cmp eax, edi
je 0x4648b5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
cmp eax, edi
je 0x4648ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x4648eb
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
jmp 0x4643fa
push 0x80004005
call fcn.00401100
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x46491e
push eax
push ecx
call fcn.0040fad0
mov ecx, dword [esp + 0x64]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov ecx, dword [esp + 0x84]
call fcn.00401d80
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x74], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
test eax, eax
je 0x464968
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x74], 4
test eax, eax
je 0x46497d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x46499e
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fad0
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4649c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x74], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4649e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x74], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464a0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0xc
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
je 0x46491e
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x20]
push edx
call fcn.00404410
jmp 0x46492e