Function at 0x4b1060
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 0x4b182a
sub esp, 0xb4
mov edx, dword [0x5b9850]
mov ecx, dword [0x5b9854]
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jae 0x4b1824
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 0x4b158c
mov esi, dword [esp + 0xbc]
mov eax, ecx
lea ecx, [0x521c74]
cmp esi, ecx
jne 0x4b1150
mov esi, dword [0x521c78]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b180e
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 0x4b15bc
lea ecx, [0x521c90]
cmp esi, ecx
jne 0x4b11cb
mov esi, dword [0x521c94]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b17f8
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 0x4b15bc
lea ecx, [0x521cac]
cmp esi, ecx
jne 0x4b1246
mov esi, dword [0x521cb0]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b17e2
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 0x4b15bc
lea ecx, [0x521cc8]
cmp esi, ecx
jne 0x4b12c1
mov esi, dword [0x521ccc]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b17cc
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 0x4b15bc
lea ecx, [0x521ce4]
cmp esi, ecx
jne 0x4b133c
mov esi, dword [0x521ce8]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b17b6
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 0x4b15bc
lea ecx, [0x521d00]
cmp esi, ecx
jne 0x4b13b1
mov esi, dword [0x521d04]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b17a0
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 0x4b15bc
lea ecx, [0x521d1c]
cmp esi, ecx
jne 0x4b1471
mov esi, dword [0x521d20]
mov edi, ebp
mov ebp, dword [esp + 0xc4]
cmp ebp, ecx
jne 0x4b178a
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 0x4b1453
mov dword [edx + 0x24], ebx
mov dword [edx + 0x28], ebp
mov ebx, dword [0x5e39c0]
test ebx, ebx
jne 0x4b143f
mov dword [edx + 0x20], ecx
jmp 0x4b1453
add edx, 0x20
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, ecx
call fcn.0045e6d0
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 0x4b15bc
lea ecx, [0x521d38]
cmp esi, ecx
jne 0x4b14e6
mov esi, dword [0x521d3c]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b1774
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 0x4b15bc
lea ecx, [0x521d54]
cmp esi, ecx
jne 0x4b1558
mov esi, dword [0x521d58]
mov edi, dword [esp + 0xc4]
cmp edi, ecx
jne 0x4b175e
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 0x4b15bc
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 0x4b15bc
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 0x4b162b
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 0x4b1668
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 0x4b1694
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 0x4b1616
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 0x4b1755
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 0x4b174c
cmp ebp, esi
ja 0x4b1743
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 0x4b1705
mov ebx, edi
jmp 0x4b170b
mov edi, ebx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0xb0]
cmp ebp, esi
je 0x4b166f
mov dword [esp + 0x40], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.0045efc0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x3c]
jmp 0x4b166f
mov eax, ebp
mov ecx, esi
call fcn.0045e7b0
mov ecx, esi
mov edx, eax
call fcn.0045e790
mov eax, ebp
mov ecx, ebx
call fcn.0045e7b0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
mov dword [esp], edi
mov dword [esp + 4], esi
lea eax, [0x4e2b40]
mov dword [esp + 8], eax
call fcn.00408dd0
call fcn.0045e750
nop
call fcn.0045d2c0
jmp fcn.004b1060