Function at 0x4a5af0
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 0x4a6300
sub esp, 0xb4
mov edx, dword [0x4d0060]
mov ecx, dword [0x4d0064]
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jae 0x4a62fa
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 0x4a6065
mov esi, dword [esp + 0xbc]
mov eax, ecx
lea ecx, [0x51e5f4]
cmp esi, ecx
jne 0x4a5be6
mov esi, dword [0x51e5f8]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a62e4
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xa0], eax
mov eax, 1
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e5d8]
cmp esi, ecx
jne 0x4a5c67
mov esi, dword [0x51e5dc]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a62ce
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x98], eax
mov eax, 2
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e584]
cmp esi, ecx
jne 0x4a5ce8
mov esi, dword [0x51e588]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a62b8
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x90], eax
mov eax, 1
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e648]
cmp esi, ecx
jne 0x4a5d69
mov esi, dword [0x51e64c]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a62a2
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x88], eax
mov eax, 2
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e62c]
cmp esi, ecx
jne 0x4a5dea
mov esi, dword [0x51e630]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a628c
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x80], eax
mov eax, 4
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e5a0]
cmp esi, ecx
jne 0x4a5e68
mov esi, dword [0x51e5a4]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a6276
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x78], eax
mov eax, 8
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e6b8]
cmp esi, ecx
jne 0x4a5f3b
mov esi, dword [0x51e6bc]
mov edi, ebp
mov ebp, dword [esp + 0xc4]
cmp ebp, ecx
jne 0x4a6260
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 + 0x38], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x2c], 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 + 0x20]
mov ebp, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
cmp dword [edx + 0x24], ebp
jge 0x4a5f0a
mov dword [edx + 0x24], ebp
mov dword [edx + 0x28], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x4a5ef6
mov dword [edx + 0x20], ebx
jmp 0x4a5f0a
lea ecx, [edx + 0x20]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, ebx
call fcn.00452b40
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov ebp, 1
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x3c]
jmp 0x4a6092
lea ecx, [0x51e680]
cmp esi, ecx
jne 0x4a5fb9
mov esi, dword [0x51e684]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a624a
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], eax
mov eax, 4
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
lea ecx, [0x51e69c]
cmp esi, ecx
jne 0x4a6034
mov esi, dword [0x51e6a0]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4a6234
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 + 0x30], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], eax
mov eax, 8
mov dword [esp + 0x18], eax
mov ecx, ebp
mov esi, edx
mov edi, dword [esp + 0xac]
jmp 0x4a6092
xor ecx, ecx
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0xa8], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
xor ecx, ecx
jmp 0x4a6092
xor ecx, ecx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0xac], edi
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 + 0x20], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
jmp 0x4a6102
mov edx, dword [esp + 0x14]
inc edx
mov ebp, dword [esp + 0x30]
mov ebx, esi
mov esi, eax
mov eax, edx
mov edx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4a613f
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x58]
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 + 0x2c]
imul ebp, esi
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
sub esi, ebx
imul esi, edi
add ebp, esi
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x48]
jmp 0x4a616d
add esp, 0xb4
ret
mov ebx, dword [esp + 0x44]
inc ebx
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov edx, ebx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
cmp edx, esi
jge 0x4a60ef
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 + 0x38]
cmp ebx, ebp
jb 0x4a622b
sub ebx, ebp
sub eax, ebp
neg eax
sar eax, 0x1f
and eax, ebp
mov ebp, dword [esp + 0xac]
add ebp, eax
mov dword [esp + 0xb0], ebp
mov eax, dword [esp + 0x34]
lea esi, [eax + edi]
mov ebp, dword [esp + 0x30]
cmp ebp, esi
jb 0x4a6222
cmp eax, esi
ja 0x4a621b
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0xa8]
add ebp, eax
cmp edi, ebx
jge 0x4a61df
mov eax, edi
jmp 0x4a61e3
mov eax, edi
mov edi, ebx
mov ebx, dword [esp + 0xb0]
cmp ebp, ebx
je 0x4a6146
mov dword [esp + 0x40], esi
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00453460
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x40]
jmp 0x4a6146
mov ecx, esi
call fcn.00452c20
mov ecx, esi
mov edx, ebp
call fcn.00452c00
mov eax, ebp
mov ecx, ebx
call fcn.00452c20
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4eb180]
mov dword [esp + 8], eax
call fcn.00408870
call fcn.00452bc0
nop
call fcn.00451710
jmp fcn.004a5af0