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

Disassembly:
push 0xffffffffffffffff
push 0x47c828
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4eb0]
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 [0x4a540c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
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.00401530
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.00463b50
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 0x464d1c
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 0x464d83
mov edi, dword [esp + 0x84]
mov ecx, edi
call fcn.00401dc0
push edi
push ecx
lea esi, [ebp - 0x10]
mov dword [esp + 0x8c], esp
mov edi, esp
push esi
call fcn.00401530
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.00463e40
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 0x465503
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x465503
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 [0x4a540c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a540c
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 0x464eb2
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 0x464dec
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 0x464e01
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 0x464e16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x464e37
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x54]
push edx
call dword [0x47f370]
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 0x464e58
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 0x464e7d
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 0x464ea8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
jmp 0x465551
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 0x464fb1
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 0x464eec
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 0x464f01
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 0x464f16
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x464f37
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x54]
push edx
call dword [0x47f370]
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 0x464f58
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 0x464f7d
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 0x464fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
jmp 0x465551
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 0x46502b
lea ecx, [esp + 0x20]
call fcn.0044e330
mov eax, dword [esp + 0x24]
mov byte [esp + 0x74], 5
cmp eax, esi
je 0x464fea
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 0x464fff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x4c]
call fcn.0040fe00
lea ecx, [esp + 0x28]
call fcn.0044e330
lea ecx, [esp + 0x7c]
call fcn.0044e330
lea ecx, [esp + 0x80]
call fcn.0044e330
jmp 0x46554f
mov ecx, dword [esp + 0x84]
call fcn.00401dc0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00404410
mov ecx, dword [esp + 0x7c]
cmp dword [ecx - 0xc], esi
je 0x4650a9
push 0x480af8
lea ecx, [esp + 0x80]
call fcn.004068f0
test eax, eax
je 0x4650a9
lea edx, [esp + 0x4c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x480af8
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.004023e0
mov ecx, ebx
mov byte [esp + 0x80], 7
call fcn.00464a80
jmp 0x4650ba
lea ecx, [esp + 0x4c]
call fcn.00463ca0
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x38], eax
cmp ecx, esi
jbe 0x46556b
lea esp, [esp]
cmp eax, ecx
jae 0x465394
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax*4]
lea ebp, [ecx + eax*4]
cmp dword [edx - 0xc], esi
je 0x465378
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.00464510
cmp eax, edi
mov dword [esp + 0x1c], eax
jl 0x46539e
mov eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp eax, edi
jbe 0x465441
lea esp, [esp]
cmp ecx, eax
jae 0x465394
mov edx, dword [esp + 0x5c]
mov eax, dword [0x4a540c]
lea edi, [edx + ecx*4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a540c
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.00401530
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00463cd0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x4652c5
cmp dword [ecx - 0xc], 0
je 0x4652c5
mov eax, dword [ebp]
xor edx, edx
test eax, eax
setne dl
test edx, edx
je 0x465437
push eax
push ecx
call dword [0x47f3b0]
add esp, 8
test eax, eax
je 0x465304
push 1
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
call fcn.004027c0
push 0x490144
push eax
call fcn.004040c0
add esp, 8
lea ecx, [esp + 0x40]
mov bl, al
call fcn.0044e330
test bl, bl
je 0x4652b5
lea ecx, [esp + 0x30]
call fcn.004023c0
lea ecx, [esp + 0x2c]
call fcn.004023c0
push 0x2e
mov ecx, ebp
mov byte [esp + 0x78], 0xc
call fcn.00406920
cmp eax, 0xffffffff
je 0x4652a3
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.00407a80
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.0044e330
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00406920
cmp eax, 0xffffffff
je 0x4652a3
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00407a80
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.0044e330
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
call fcn.004068f0
test eax, eax
je 0x465321
lea ecx, [esp + 0x2c]
call fcn.0044e330
lea ecx, [esp + 0x30]
call fcn.0044e330
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 9
call fcn.0044e330
jmp 0x4652e6
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 0x4652e6
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 0x465441
mov ebx, dword [esp + 0x3c]
jmp 0x465140
push edi
lea ecx, [esp + 0x24]
call fcn.00404410
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.0044e330
jmp 0x465352
push edi
lea ecx, [esp + 0x24]
call fcn.00404410
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], 1
call fcn.0044e330
lea ecx, [esp + 0x30]
call fcn.0044e330
lea ecx, [esp + 0x18]
call fcn.0044e330
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x74], 7
test eax, eax
je 0x465378
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x64]
push edx
call dword [0x47f370]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x38], eax
cmp eax, ecx
jae 0x465567
xor esi, esi
jmp 0x4650d0
push 0x80070057
call fcn.00401120
mov eax, dword [esp + 0x5c]
cmp eax, edi
je 0x4653bf
mov ecx, dword [esp + 0x60]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x64]
push edx
call dword [0x47f370]
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 0x4653e0
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 0x4653f5
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 0x46540a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x46542b
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x54]
push edx
call dword [0x47f370]
add esp, 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
jmp 0x464f3a
push 0x80004005
call fcn.00401120
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x46545e
push eax
push ecx
call fcn.0040fb20
mov ecx, dword [esp + 0x64]
push ecx
call dword [0x47f370]
add esp, 0xc
mov ecx, dword [esp + 0x84]
call fcn.00401dc0
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 0x465493
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 0x4654a8
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 0x4654bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4654de
mov ecx, dword [esp + 0x50]
push ecx
push eax
call fcn.0040fb20
mov edx, dword [esp + 0x54]
push edx
call dword [0x47f370]
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 0x465503
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 0x465528
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 0x46554f
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 0x46545e
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x20]
push edx
call fcn.00404410
jmp 0x46546e