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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4b4fd1
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0xac]
cmp eax, ebx
jl 0x4b498a
test eax, eax
je 0x4b495c
test ebx, ebx
je 0x4b495c
cmp ebx, 1
je 0x4b48e0
mov ebp, dword [esp + 0x98]
test ebp, ebp
je 0x4b478f
mov esi, dword [esp + 0x90]
lea edi, [esi + ebp*4 - 4]
mov edx, dword [esp + 0xa4]
mov ecx, eax
mov eax, dword [esp + 0x9c]
lea eax, [eax + edx*4 - 4]
cmp eax, edi
je 0x4b47c2
test ebp, ebp
jmp 0x4b479f
mov ecx, eax
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x90]
je 0x4b47cf
lea eax, [esi + ebp*4 - 4]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa8]
lea ebx, [ebx + edi*4 - 4]
cmp ebx, eax
jne 0x4b47c8
mov ebx, dword [esp + 0xac]
xor ebp, ebp
xor esi, esi
jmp 0x4b47cf
mov ebx, dword [esp + 0xac]
mov eax, dword [0x5b7258]
cmp ebx, eax
jl 0x4b47ed
mov dword [esp + 0x78], esi
nop
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov ebx, edi
jmp 0x4b4a59
lea eax, [ecx + ebx]
cmp ebp, eax
jl 0x4b47ff
jae 0x4b488a
jmp 0x4b4a41
cmp eax, 1
jne 0x4b4847
lea eax, [0x4e9080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044ab80
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov ebp, 1
mov eax, 1
jmp 0x4b488a
mov dword [esp + 0x54], eax
lea edx, [0x4e9080]
mov dword [esp], edx
mov dword [esp + 4], eax
lea edx, [ebx + ecx + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 8], edx
call fcn.0044ab80
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x64], eax
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x20], ecx
call fcn.004b3890
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
jmp 0x4b4a0c
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call fcn.004b3700
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x98]
mov dword [esp + 0xbc], eax
add esp, 0x8c
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
call fcn.004b4710
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
dec ecx
test ecx, ecx
jle 0x4b4a18
mov ebx, dword [eax + ecx*4 - 4]
test ebx, ebx
je 0x4b4a0b
mov edx, dword [esp + 0x34]
cmp ecx, edx
ja 0x4b4a3c
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
call fcn.00463680
mov ecx, eax
mov edx, ebp
call fcn.00463680
sar ebx, 1
mov esi, dword [esp + 0x60]
inc esi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x78]
cmp ebx, eax
jg 0x4b4a4a
mov eax, ecx
mov ecx, dword [esp + 0x60]
shl ebx, cl
cmp ecx, 0x20
sbb ecx, ecx
and ecx, ebx
cmp edx, ecx
jb 0x4b4fcb
mov ebx, dword [esp + 0xb0]
cmp ebx, ecx
jb 0x4b4fc4
lea ebx, [ecx + ecx*2]
mov dword [esp + 0x6c], ebx
shl ebx, 1
add eax, edi
cmp ebx, eax
jg 0x4b4a94
mov ebx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], eax
cmp ebp, ebx
jl 0x4b4aa7
jae 0x4b4b1d
jmp 0x4b4fbb
cmp ebx, 1
jne 0x4b4ae5
lea eax, [0x4e9080]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044ab80
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xa4]
mov ebp, 1
mov ebx, 1
jmp 0x4b4b1d
mov dword [esp + 0x38], ebx
lea eax, [0x4e9080]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.0044ab80
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x70], esi
mov dword [esp + 0x30], ebp
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x20], edi
call fcn.004b3f70
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
cmp edx, ecx
jb 0x4b4fb6
mov eax, dword [esp + 0x5c]
mov ebx, eax
shl ebx, 1
cmp ebx, ecx
ja 0x4b4faf
mov ebp, ecx
sub ecx, ebx
mov esi, edx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ebx, eax
shl eax, 3
sar esi, 0x1f
and esi, eax
mov eax, dword [esp + 0x70]
add esi, eax
test ecx, ecx
je 0x4b4bc3
mov dword [esp], esi
shl ecx, 2
mov dword [esp + 4], ecx
call fcn.00463cf0
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xac]
cmp esi, ebx
jg 0x4b4bdd
mov edi, dword [esp + 0xa0]
cmp edi, esi
je 0x4b4f35
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004b5df0
mov eax, dword [esp + 4]
test byte [eax], al
nop
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x9c]
mov ebx, ecx
jmp 0x4b4c00
dec ecx
test ecx, ecx
jle 0x4b4c0c
mov ebp, dword [edx + ecx*4 - 4]
test ebp, ebp
je 0x4b4bff
mov ebp, dword [esp + 0xa4]
cmp ebp, ecx
jb 0x4b4fa8
mov esi, dword [esp + 0xac]
cmp esi, ebx
jb 0x4b4f9f
mov dword [esp + 0x84], eax
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0xb0]
sub eax, ebx
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0xac]
sub esi, ebx
mov dword [esp + 0x3c], esi
mov edi, eax
neg eax
shl ebx, 2
sar eax, 0x1f
and eax, ebx
mov ebx, dword [esp + 0xa8]
add eax, ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.004b4710
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x18], edi
call fcn.004b4600
nop
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa8]
mov edx, eax
jmp 0x4b4cf0
dec eax
test eax, eax
jle 0x4b4cfc
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x4b4cef
mov ebx, dword [esp + 0xb0]
cmp ebx, eax
jb 0x4b4f96
mov dword [esp + 0x6c], eax
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa4]
jmp 0x4b4eb1
mov dword [esp + 0x80], edi
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.004b4710
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + eax]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x70]
mov dword [esp], edi
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.004b4600
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x20], edx
call fcn.004b4710
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], edi
call fcn.004b4600
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xa4]
mov edx, dword [esp + 0x68]
cmp ebp, edx
jle 0x4b4f05
jb 0x4b4f8d
mov dword [esp + 0x68], edx
sub edi, edx
mov dword [esp + 0x48], edi
sub ebp, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl edx, 2
sar edi, 0x1f
and edi, edx
add edi, esi
mov edx, esi
mov esi, dword [esp + 0x5c]
cmp esi, ebp
jge 0x4b4ee5
mov ebp, esi
jmp 0x4b4eeb
mov esi, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x4b4f73
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x48]
cmp esi, ebp
jbe 0x4b4d29
jmp 0x4b4f84
nop
lea eax, [0x5c30e0]
mov dword [esp], eax
lea eax, [0x4fadc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.00469a50
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
jmp 0x4b4f38
dec ebp
test ebp, ebp
jle 0x4b4f44
mov ebx, dword [eax + ebp*4 - 4]
test ebx, ebx
je 0x4b4f37
cmp ebp, edx
ja 0x4b4f64
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], edx
add esp, 0x8c
ret
mov ecx, ebp
call fcn.00463680
dec esi
mov edx, dword [esp + 0x9c]
test esi, esi
jle 0x4b4ef7
mov edx, dword [edi + esi*4 - 4]
test edx, edx
je 0x4b4f6b
jmp 0x4b4ef0
mov ecx, esi
mov edx, ebp
call fcn.00463680
mov eax, edx
mov ecx, ebp
call fcn.004636a0
mov ecx, eax
mov edx, ebx
call fcn.00463680
mov eax, ebx
mov ecx, esi
call fcn.004636a0
mov edx, ebp
call fcn.00463680
mov eax, ebx
call fcn.004636a0
call fcn.00463680
mov ecx, ebx
mov edx, ebp
call fcn.00463680
mov edx, ebx
call fcn.00463680
call fcn.00463680
nop
call fcn.004621e0
jmp fcn.004b4710