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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4a607a
sub esp, 0xb4
mov edx, dword [0x5b4a60]
mov ecx, dword [0x5b4a64]
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jae 0x4a6074
shl eax, 4
mov ecx, dword [edx + eax]
mov dword [esp + 0x5c], ecx
mov ebx, dword [edx + eax + 4]
mov dword [esp + 0x58], ebx
mov ebp, dword [edx + eax + 8]
mov dword [esp + 0x54], ebp
mov edx, dword [edx + eax + 0xc]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0xbc]
test esi, esi
je 0x4a5ddc
mov esi, dword [esp + 0xbc]
mov eax, ecx
lea ecx, [0x5122c8]
cmp esi, ecx
jne 0x4a59a0
mov esi, dword [0x5122cc]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a605e
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0xa0], eax
mov eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0xa0]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x5122e4]
cmp esi, ecx
jne 0x4a5a1b
mov esi, dword [0x5122e8]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a6048
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x98], eax
mov eax, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x98]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x512300]
cmp esi, ecx
jne 0x4a5a96
mov esi, dword [0x512304]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a6032
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x90], eax
mov eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x90]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x51231c]
cmp esi, ecx
jne 0x4a5b11
mov esi, dword [0x512320]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a601c
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x88], eax
mov eax, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x88]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x512338]
cmp esi, ecx
jne 0x4a5b8c
mov esi, dword [0x51233c]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a6006
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x80], eax
mov eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x80]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x512354]
cmp esi, ecx
jne 0x4a5c01
mov esi, dword [0x512358]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a5ff0
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x78], eax
mov eax, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x78]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x512370]
cmp esi, ecx
jne 0x4a5cc1
mov esi, dword [0x512374]
mov edi, ebp
mov ebp, dword [esp + 0xc4]
cmp ebp, ecx
jne 0x4a5fda
mov ecx, dword [esp + 0xc8]
mov ebp, dword [ecx]
mov dword [esp + 0xa8], ebp
mov esi, dword [ecx + 8]
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx]
mov dword [esp + 0xac], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x30], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x1c], ebx
mov ebx, dword [edx + 0x10]
mov dword [esp + 0x4c], ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x48], ebx
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x20]
cmp dword [edx + 0x24], ebx
jge 0x4a5ca3
mov dword [edx + 0x24], ebx
mov dword [edx + 0x28], ebp
mov ebx, dword [0x5e26f0]
test ebx, ebx
jne 0x4a5c8f
mov dword [edx + 0x20], ecx
jmp 0x4a5ca3
add edx, 0x20
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, ecx
call fcn.0045e3e0
mov eax, ebp
mov edi, ebx
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x1c]
jmp 0x4a5e0c
lea ecx, [0x51238c]
cmp esi, ecx
jne 0x4a5d36
mov esi, dword [0x512390]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a5fc4
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x70], eax
mov eax, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x70]
mov esi, ebx
jmp 0x4a5e0c
lea ecx, [0x5123a8]
cmp esi, ecx
jne 0x4a5da8
mov esi, dword [0x5123ac]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a5fae
mov ecx, dword [esp + 0xc8]
mov esi, dword [ecx]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0xc0]
mov eax, dword [edi]
mov dword [esp + 0xac], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x68], eax
mov eax, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], esi
mov ecx, dword [esp + 0x68]
mov esi, ebx
jmp 0x4a5e0c
xor edi, edi
xor ecx, ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0xa8], ecx
xor ecx, ecx
jmp 0x4a5e0c
xor edi, edi
xor ecx, ecx
xor esi, esi
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0xc4]
mov eax, dword [eax + 0x14]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x18], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
jmp 0x4a5e7b
mov edx, dword [esp + 0x14]
inc edx
mov ebp, dword [esp + 0x58]
mov esi, eax
mov edi, dword [esp + 0x34]
mov eax, edx
mov edx, dword [esp + 0x18]
cmp eax, ecx
jge 0x4a5eb8
mov dword [esp + 0x14], eax
imul eax, ebp
mov ebp, dword [esp + 0x50]
add ebp, eax
mov eax, esi
mov esi, dword [esp + 0x28]
sub ebp, esi
mov esi, dword [esp + 0x1c]
imul ebp, esi
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x2c]
sub esi, edi
mov edi, dword [esp + 0x3c]
imul esi, edi
add ebp, esi
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x34]
jmp 0x4a5ee4
add esp, 0xb4
ret
mov ebp, dword [esp + 0x44]
inc ebp
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
mov esi, edi
mov edi, dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x38]
cmp edx, ebx
jge 0x4a5e66
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x5c]
imul edx, ebx
imul edx, edi
add ebp, edx
mov edx, ebx
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jb 0x4a5fa5
sub ebx, ebp
sub esi, ebp
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebp
mov ebp, dword [esp + 0xac]
add esi, ebp
mov dword [esp + 0xb0], esi
mov ebp, dword [esp + 0x24]
lea esi, [ebp + edi]
cmp eax, esi
jb 0x4a5f9c
cmp ebp, esi
ja 0x4a5f93
sub eax, ebp
neg eax
sar eax, 0x1f
and ebp, eax
mov eax, esi
mov esi, dword [esp + 0xa8]
add ebp, esi
cmp edi, ebx
jge 0x4a5f55
mov ebx, edi
jmp 0x4a5f5b
mov edi, ebx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0xb0]
cmp ebp, esi
je 0x4a5ebf
mov dword [esp + 0x40], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.0045ecb0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x3c]
jmp 0x4a5ebf
mov eax, ebp
mov ecx, esi
call fcn.0045e4c0
mov ecx, esi
mov edx, eax
call fcn.0045e4a0
mov eax, ebp
mov ecx, ebx
call fcn.0045e4c0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4db800]
mov dword [esp + 8], eax
call fcn.00408bb0
call fcn.0045e460
nop
call fcn.0045cfd0
jmp fcn.004a58b0