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

Disassembly:
push 0xffffffffffffffff
push 0x543d0c
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a9e98]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x80], ebp
call fcn.00410cc0
mov eax, dword [esp + 0x94]
mov eax, dword [eax - 0xc]
cmp eax, ebp
jle 0x464bf1
push 0x2f
lea ecx, [esp + 0x98]
call fcn.00405790
mov edx, dword [esp + 0x94]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x464bdd
push esi
lea ecx, [esp + 0x98]
call fcn.00401fd0
mov edx, dword [esp + 0x94]
cmp esi, ebp
mov byte [edi + edx], 0x2f
jl 0x464c20
cmp esi, dword [edx - 8]
jg 0x464c20
mov dword [edx - 0xc], esi
mov byte [esi + edx], 0
push 0x400
mov dword [esp + 0x30], ebp
call fcn.004f5441
add esp, 4
mov dword [esp + 0x1c], eax
call fcn.004fc960
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x464c2a
push 0x80004005
call fcn.00401c00
push 0x80070057
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x80], 1
call fcn.004fc960
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x464c5c
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 2
call fcn.004fc960
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x464c8e
push 0x80004005
call fcn.00401c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 3
mov dword [esp + 0x3c], ebp
call fcn.004114a0
lea ecx, [ebx + 4]
push eax
mov byte [esp + 0x84], 4
lea esi, [ebx + 0x34]
call fcn.00412240
push eax
mov ecx, esi
call fcn.00412240
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 3
call fcn.004115b0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
cmp dword [ebx - 0xc], 0
jle 0x464d03
push 0xa
push ebx
call fcn.00520e23
add esp, 8
test eax, eax
je 0x464d03
sub eax, ebx
mov esi, eax
jns 0x464d6d
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push 0x3ff
push edi
call eax
mov esi, eax
test esi, esi
jle 0x4651f4
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x80]
test ecx, ecx
je 0x464d36
push esi
push edi
call fcn.00429b10
test edi, edi
mov byte [esi + edi], 0
jne 0x464d4d
xor eax, eax
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00405450
jmp 0x464ce4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x464d52
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.00405450
jmp 0x464ce4
push esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.00402fb0
add esi, 1
push esi
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 5
call fcn.004043f0
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
sete bl
add eax, 1
push 0xa
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], eax
call fcn.00405790
push 0xd
lea ecx, [esp + 0x18]
call fcn.00405790
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x464df2
add eax, 0xfffffff0
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x464ce4
xor ebp, ebp
cmp dword [esp + 0x8c], ebp
je 0x464e04
mov ebp, 1
jmp 0x464e7e
test ebx, ebx
je 0x464e7e
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.004030b0
lea ecx, [esp + 0x24]
call fcn.00405220
mov esi, dword [esp + 0x24]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov edi, esp
push esi
call fcn.00402b80
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004116c0
add esp, 4
cmp eax, 4
jne 0x464e53
mov edx, dword [esp + 0x90]
mov dword [edx], eax
jmp 0x464e7e
push ecx
mov dword [esp + 0x38], esp
mov edi, esp
push esi
call fcn.00402b80
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0045ecf0
add esp, 4
cmp eax, 0xffffffff
je 0x464e7e
mov ecx, dword [esp + 0x90]
mov dword [ecx], eax
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x464eb9
push 0x30
call fcn.004f5411
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x80], 6
je 0x464ea9
mov ecx, eax
call fcn.0045e4b0
jmp 0x464eab
xor eax, eax
mov esi, eax
mov byte [esp + 0x80], 5
mov dword [esp + 0x2c], esi
test ebx, ebx
mov eax, 0x564740
jne 0x464ec6
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402860
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
push ebp
push eax
push ecx
mov ecx, esi
call fcn.00464640
test eax, eax
jne 0x464fed
cmp dword [esp + 0x98], eax
je 0x464fd7
mov edx, dword [esp + 0x90]
cmp dword [edx], 4
lea ebp, [eax + 1]
jne 0x464f1f
mov eax, dword [esp + 0x38]
cmp dword [eax - 0xc], 0
jne 0x464fd7
mov ebx, dword [esp + 0x14]
add ebx, 0xfffffff0
push ebx
call fcn.00402b80
add eax, 0x10
add esp, 4
mov dword [esp + 0x34], eax
push 0x20
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 7
call fcn.0044adc0
push 9
lea ecx, [esp + 0x38]
call fcn.0044adc0
mov edi, dword [esp + 0x34]
mov esi, 0x5a26f8
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x464f7e
cmp dword [edi - 0xc], 0
jl 0x464f7e
push eax
push edi
call fcn.005202e9
add esp, 8
test eax, eax
je 0x464f7e
sub eax, edi
je 0x464f8b
add esi, 4
cmp esi, 0x5a2710
jl 0x464f60
jmp 0x464f8d
xor ebp, ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464fb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x464fd7
push ecx
mov dword [esp + 0x38], esp
mov esi, esp
push ebx
call fcn.00402b80
mov ecx, dword [esp + 0xa0]
add eax, 0x10
mov dword [esi], eax
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 4
call eax
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
add ecx, 0x18
push edx
call fcn.004030b0
jmp 0x4651c3
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 4]
cmp dword [eax - 0xc], 0
lea edi, [ebp + 4]
je 0x4651c3
push 0x564b3c
push eax
call fcn.005204eb
add esp, 8
test eax, eax
sete al
test al, al
je 0x46502a
mov ecx, dword [esp + 0x20]
push ebp
add ecx, 4
call fcn.00412240
jmp 0x4651c3
push 0x564b38
push edi
call fcn.0040c370
add esp, 8
test al, al
je 0x46504e
mov ecx, dword [esp + 0x20]
push ebp
add ecx, 0x34
call fcn.00412240
jmp 0x4651c3
push 0x564830
mov ecx, edi
call fcn.0040c4e0
mov ebx, 1
cmp dword [ebp + 0x18], ebx
jne 0x465110
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402c20
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
mov byte [esp + 0x80], 8
jl 0x4650ff
push 0x569648
push esi
call fcn.005202e9
add esp, 8
test eax, eax
je 0x4650ff
sub eax, esi
test eax, eax
jle 0x4650ff
add eax, 2
push eax
push 0
lea ecx, [esp + 0x20]
call fcn.004043f0
lea ecx, [esp + 0x18]
call fcn.00405740
lea ecx, [esp + 0x18]
call fcn.00405220
lea edx, [esp + 0x18]
lea ecx, [ebp + 8]
push edx
call fcn.004030b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push 0x567fa4
push ecx
call fcn.004058d0
add esp, 0xc
push eax
lea ecx, [ebp + 0x14]
mov byte [esp + 0x84], 9
call fcn.00403210
lea ecx, [esp + 0x40]
call fcn.00401f50
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 5
call fcn.00401f50
mov esi, dword [esp + 0x94]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x46514f
mov edx, dword [edi]
cmp eax, dword [edx - 0xc]
jge 0x46514f
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.00402fb0
or dword [esp + 0x28], ebx
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.00410f50
add esp, 8
test al, al
je 0x46514f
mov bl, 1
jmp 0x465151
xor bl, bl
test byte [esp + 0x28], 1
je 0x465166
and dword [esp + 0x28], 0xfffffffe
lea ecx, [esp + 0x44]
call fcn.00401f50
test bl, bl
je 0x465177
mov eax, dword [esi - 0xc]
push eax
push 0
mov ecx, edi
call fcn.004043f0
push 0x30
call fcn.004f5411
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x80], 0xa
je 0x46519b
push ebp
mov ecx, eax
call fcn.004120c0
jmp 0x46519d
xor eax, eax
mov ecx, dword [esp + 0x20]
push eax
mov byte [esp + 0x84], 5
call fcn.00410c40
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
call eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x80], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x464ce0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x465205
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push edi
call fcn.004f543c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [ecx + 0x80], 0
add esp, 4
mov byte [esp + 0x80], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x80], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46526c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4652be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x14