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

Disassembly:
push 0xffffffffffffffff
push 0x4a01f0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cd57c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x84]
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x18]
xor ebx, ebx
push ebx
push eax
call fcn.00422b20
add esp, 8
push eax
lea ecx, [esp + 0x54]
call fcn.0041b0c0
mov eax, dword [ebp + 0x320]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2c], 0xffffffff
test eax, eax
je 0x459494
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
cmp dword [edi + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x45997d
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.00426110
mov edx, dword [eax + 0x28]
mov ecx, 1
mov dword [eax + 4], ecx
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp + 0x90]
mov dword [esp + 0x24], edx
jl 0x45996b
cmp eax, dword [ebp + 0x94]
jg 0x45997d
add dword [ebp + 0x9c], ecx
cmp dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x9c]
je 0x459593
lea ecx, [eax + 0x28]
shl ecx, 4
mov edi, dword [ecx + ebp]
lea edx, [ecx + ebp]
mov ecx, eax
shl ecx, 4
mov ebx, dword [ecx + ebp + 0x284]
add ecx, ebp
add eax, 0x14
mov dword [esp + 0x84], ecx
shl eax, 4
mov eax, dword [eax + ebp]
add edi, 0xa
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
lea ecx, [edi + 0x32]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x144]
mov eax, dword [eax + 0x14c]
sub eax, ecx
mov dword [esp + 0x84], ecx
mov ecx, dword [edx]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 4]
add dword [esp + 0x54], 5
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
add dword [esp + 0x58], 5
mov dword [esp + 0x60], edx
sub dword [esp + 0x60], 5
sub ecx, 5
cmp dword [esp + 0x24], 0x64
mov dword [esp + 0x5c], ecx
jne 0x45963a
add dword [esp + 0x84], 0x50
sub eax, 0x32
jmp 0x45963a
lea ecx, [eax + 0x1e]
shl ecx, 4
mov edi, dword [ecx + ebp]
lea edx, [ecx + ebp]
add edi, 0x14
lea ecx, [edi + 0xc8]
mov dword [esp + 0x14], ecx
mov ecx, eax
add eax, 0xa
shl ecx, 4
mov ebx, dword [ecx + ebp + 0x1e4]
add ecx, ebp
shl eax, 4
mov eax, dword [eax + ebp]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xa4]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0xac]
mov ecx, dword [edx]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 4]
add dword [esp + 0x54], 0xa
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
add dword [esp + 0x58], 0xa
sub ecx, 0xa
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], edx
sub dword [esp + 0x60], 0xa
cmp ecx, 0x19a
je 0x45962a
cmp ecx, 0x1a4
je 0x45962a
cmp ecx, 0x190
jne 0x45963a
sub dword [esp + 0x84], 0xc8
add eax, 0xc8
cmp dword [esp + 0xa0], 0
je 0x4596a8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x30]
push eax
call edx
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0xa4]
mov eax, dword [edi]
mov edx, dword [eax + 0x58]
push ecx
push esi
mov ecx, edi
call edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb4]
push eax
push esi
mov ecx, edi
call fcn.0042ac10
jmp 0x459964
cmp dword [esp + 0x1c], 0
jne 0x4596e4
mov ecx, dword [esp + 0x88]
cmp ecx, dword [ebp + 0x320]
jne 0x4596e4
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x18], edx
jne 0x4596e4
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0xcc
mov ecx, esi
call edx
mov eax, dword [ebp + 0x9c]
mov dword [ebp + 0x324], eax
jmp 0x4596f2
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0xcc0000
mov ecx, esi
call eax
cmp dword [esp + 0x1c], 0
lea ecx, [ebx + 0x1e0]
lea edx, [ebx + 0x258]
mov dword [esp + 0x84], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx - 0x32]
mov dword [esp + 0x34], edx
lea edx, [ebx + 0x320]
mov dword [esp + 0x44], edx
lea edx, [ebx + 0x4b0]
mov dword [esp + 0x4c], edx
lea edx, [edi + 0x14]
mov dword [esp + 0x40], edx
lea eax, [ebx + 0xc8]
lea edx, [edi + 0x654]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], edx
je 0x459797
lea edx, [ebx + 0x32]
mov dword [esp + 0x28], edx
lea edx, [ebx + 0x78]
mov dword [esp + 0x24], edx
lea edx, [ebx + 0x96]
mov dword [esp + 0x84], edx
mov edx, dword [ebp + 0x9c]
mov dword [esp + 0x44], eax
add edx, 0x14
lea eax, [ebx + 0x12c]
add ecx, 0xfffffff6
shl edx, 4
mov dword [esp + 0x4c], eax
mov eax, dword [edx + ebp]
mov dword [esp + 0x34], ecx
lea ecx, [edi + 5]
sub eax, 0x32
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x94]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x98]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x20]
push eax
lea ecx, [edi + 0x60]
call fcn.004427d0
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x34]
call fcn.0041b0c0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x8c], 1
call edx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x7c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45984a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [edi + 0x70]
call fcn.004427d0
push 1
push 0x2d
lea ecx, [esp + 0x40]
call fcn.004587c0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x8c], 2
call edx
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x7c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4598b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x8c]
push ecx
lea ecx, [esp + 0x40]
call fcn.0041b0c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x8c], 3
call edx
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x7c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], ecx
push 0
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x70], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x80]
push 0xffffffffffffffff
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x9c]
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
push 1
push esi
mov ecx, edi
call edx
mov dword [edi + 0xc], 1
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
jl 0x4594a6
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4599a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x24