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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4f6c08
sub esp, 0x10c
nop
mov ebx, dword [esp + 0x120]
mov ebp, dword [esp + 0x11c]
mov eax, ebx
jmp 0x4f5a78
mov ebx, esi
test ebx, ebx
jle 0x4f5a93
lea esi, [ebx - 1]
cmp eax, esi
jbe 0x4f6bfe
mov ecx, ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f5a76
jmp 0x4f5a95
mov ecx, ebx
mov edx, dword [esp + 0x124]
cmp edx, ecx
jb 0x4f6bf9
nop
mov ebx, dword [esp + 0x12c]
mov esi, dword [esp + 0x128]
mov eax, ebx
jmp 0x4f5abb
mov ebx, ebp
mov ebp, edi
mov dword [esp + 0xa8], ebx
test ebx, ebx
jle 0x4f5ae4
mov edi, ebp
lea ebp, [ebx - 1]
cmp eax, ebp
jbe 0x4f6bf0
mov ebx, dword [esi + ebx*4 - 4]
test ebx, ebx
je 0x4f5ab7
mov ebx, dword [esp + 0xa8]
mov ebp, edi
mov eax, esi
mov esi, dword [esp + 0x130]
cmp esi, ebx
jb 0x4f6be7
test ecx, ecx
je 0x4f5d5d
cmp ebx, 0x64
jl 0x4f5d19
mov edi, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4f5d12
mov esi, dword [esp + 0x140]
mov ebp, dword [esp + 0x134]
cmp esi, ebp
jbe 0x4f6bde
mov dword [esp + 0xcc], edi
mov dword [esp + 0x84], ecx
shr ebx, 1
mov dword [esp + 0xb0], ebx
mov esi, dword [esp + 0x13c]
mov ebx, dword [esi + ebp*4]
lea ebp, [esi + ebp*4]
test ebx, ebx
je 0x4f5c95
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx]
mov dword [esp + 0xe8], ebx
mov esi, dword [esp + 0xb0]
lea ebx, [esi + 1]
cmp ebp, ebx
jl 0x4f5b95
jb 0x4f6bd5
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd0]
jmp 0x4f5c4e
test esi, esi
jne 0x4f5bf1
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00446320
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x124]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0xd8], ebx
mov ebp, 1
mov ebx, 1
jmp 0x4f5c4e
mov dword [esp + 0x80], ebx
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [esi + 5]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.00446320
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x124]
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0xd8], ebx
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x134]
mov esi, dword [esp + 0x13c]
mov edx, dword [esi + edx*4]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4f5c7d
mov ebx, dword [esp + 0xd8]
mov dword [edx], ebx
jmp 0x4f5cff
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0xd8]
call fcn.0045c980
mov eax, ebp
mov edi, ebx
jmp 0x4f5cff
mov dword [esp + 0x108], ebp
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call fcn.004f0420
mov eax, dword [0x68ad40]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f5ccc
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x13c]
mov dword [ebx + edx*4], ecx
jmp 0x4f5ce8
mov edi, dword [esp + 0x108]
mov eax, ecx
call fcn.0045c980
mov edx, dword [esp + 0x134]
mov ebx, dword [esp + 0x13c]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x84]
mov esi, ebx
mov edi, dword [esp + 0xcc]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x134]
jmp 0x4f5e13
add esp, 0x10c
ret
mov edi, dword [esp + 0x110]
mov dword [esp], edi
mov edi, dword [esp + 0x114]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x118]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
call fcn.004f5340
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 8], eax
call fcn.004ed660
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov ecx, dword [esp + 0x114]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x118]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x18], ebx
call fcn.004eea90
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x134]
mov ebp, dword [esp + 0xc8]
mov eax, dword [esp + 0x128]
mov edx, ecx
mov esi, dword [esp + 0x13c]
mov edi, dword [esp + 0xcc]
mov ecx, ebp
cmp ecx, edx
jle 0x4f61ec
sub ecx, edx
cmp edi, ecx
jb 0x4f6bcc
mov dword [esp + 0xc8], ecx
mov eax, dword [esi + ebx*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [eax]
mov dword [esp + 0xf8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ed660
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0xc8]
sub edx, eax
mov ebx, dword [esp + 0xcc]
sub ebx, eax
mov esi, edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x11c]
add eax, edx
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
lea ebp, [ecx + edx]
cmp esi, ebp
jb 0x4f6bc3
lea edi, [ecx - 1]
cmp edi, ebp
ja 0x4f6bba
mov dword [esp + 0x54], edi
mov dword [esp + 0xc4], esi
sub esi, ecx
inc esi
mov dword [esp + 0xc0], esi
shl edi, 2
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edi
add esi, eax
mov ebp, dword [esp + 0x54]
cmp edx, ebp
jb 0x4f6bb1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xec], eax
mov dword [esp + 0xbc], edi
mov dword [esp + 0x104], esi
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea esi, [edx + 1]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x130]
sub esi, ecx
inc esi
mov dword [esp + 0xb8], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, edi
mov edi, dword [esp + 0x128]
add esi, edi
mov dword [esp + 0x100], esi
mov dword [esp + 0x18], esi
sub edx, ecx
inc edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x134]
inc edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x138]
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x140]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x144]
mov dword [esp + 0x34], esi
call fcn.004f5a40
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xf8]
mov edx, eax
jmp 0x4f68e0
mov edx, dword [esp + 0x70]
cmp eax, edx
ja 0x4f6ba1
mov dword [esp + 0x90], eax
mov ebx, dword [esp + 0x138]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
mov edi, dword [esp + 0xa8]
lea ebx, [edi + edi*2]
cmp ebp, ebx
jl 0x4f5fef
jae 0x4f6050
jmp 0x4f6b98
cmp ebx, 1
jne 0x4f6022
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00446320
mov esi, dword [esp + 0xc]
mov ebp, 1
mov ebx, 1
jmp 0x4f6050
mov dword [esp + 0x78], ebx
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [edi + edi*2 + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.00446320
mov esi, dword [esp + 0xc]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004ed660
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x130]
mov dword [esp + 0x20], esi
call fcn.004eeba0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x4c]
xor esi, esi
jmp 0x4f6980
mov esi, ebp
jmp 0x4f6ad4
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0xc4]
cmp ebp, edi
ja 0x4f6b1b
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
call fcn.004edaa0
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4f6b03
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xc4]
cmp ecx, edx
ja 0x4f6afe
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x20], ebx
call fcn.004f6d40
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x4f5d89
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
ja 0x4f6af7
mov ebx, dword [esp + 0xc4]
sub ebx, edx
mov ebp, ebx
neg ebx
mov esi, edx
shl edx, 2
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0xec]
add edx, ebx
mov dword [esp], edx
sub ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.004f6db0
jmp 0x4f5d89
mov eax, dword [esi + ebx*4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [eax]
mov dword [esp + 0xfc], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ed660
mov eax, dword [esp + 0xb0]
lea ecx, [eax - 1]
mov edx, dword [esp + 0xcc]
cmp edx, ecx
jb 0x4f68d5
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x124]
sub ebx, eax
inc ebx
mov esi, ecx
shl ecx, 2
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov ebp, dword [esp + 0x11c]
add ebx, ebp
sub edx, eax
lea ebp, [edx + 1]
mov edx, ebp
jmp 0x4f6263
mov ebp, esi
mov esi, dword [esp + 0x50]
test ebp, ebp
jle 0x4f628c
lea esi, [ebp - 1]
cmp esi, edx
jae 0x4f68cc
mov dword [esp + 0xac], ebp
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
je 0x4f625d
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0x50]
cmp ebp, edi
ja 0x4f68c3
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0xa8]
cmp edx, esi
jb 0x4f68ba
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe4], ebx
mov esi, dword [esp + 0xfc]
mov dword [esp], esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov ebp, dword [esp + 0x130]
sub ebp, eax
inc ebp
mov dword [esp + 0xbc], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
mov ecx, dword [esp + 0x128]
add ebp, ecx
mov dword [esp + 0x104], ebp
mov dword [esp + 0x18], ebp
sub edx, eax
inc edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x134]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0x34], edx
call fcn.004f5a40
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xfc]
mov edx, eax
jmp 0x4f637d
mov eax, ebx
test eax, eax
jle 0x4f6394
lea ebx, [eax - 1]
cmp edx, ebx
jbe 0x4f68b1
mov ebp, dword [ecx + eax*4 - 4]
test ebp, ebp
je 0x4f637b
mov edx, dword [esp + 0x74]
cmp eax, edx
ja 0x4f68aa
mov dword [esp + 0x98], eax
mov ebx, dword [esp + 0x138]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx]
mov esi, dword [esp + 0xa8]
lea edi, [esi + esi*2]
cmp ebp, edi
jl 0x4f63c8
jae 0x4f6429
jmp 0x4f68a1
cmp edi, 1
jne 0x4f63fb
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00446320
mov ebx, dword [esp + 0xc]
mov ebp, 1
mov edi, 1
jmp 0x4f6429
mov dword [esp + 0x7c], edi
lea eax, [0x5310e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esi + esi*2 + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 8], eax
call fcn.00446320
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0xe0], ebx
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call fcn.004ed660
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x130]
mov dword [esp + 0x20], esi
call fcn.004eeba0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf0], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x11c]
xor esi, esi
jmp 0x4f64f7
mov edi, dword [esp + 0x8c]
lea esi, [edi + 1]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x11c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x60]
cmp esi, 2
jge 0x4f667f
mov dword [esp + 0x8c], esi
mov edi, ebx
jmp 0x4f6867
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x124]
cmp edi, ebx
jb 0x4f688f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
call fcn.004edaa0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f64d0
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.004f6db0
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
cmp edx, ecx
jb 0x4f688a
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x20], ebp
call fcn.004f6d40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jle 0x4f662c
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xb0]
sub edx, ebx
inc edx
mov esi, edx
neg edx
sar edx, 0x1f
mov edi, dword [esp + 0xc0]
and edx, edi
mov edi, dword [esp + 0xf0]
add edx, edi
mov dword [esp], edx
sub ecx, ebx
inc ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call fcn.004f6db0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xbc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
call fcn.004eea90
jmp 0x4f64d0
mov esi, ebx
jmp 0x4f6685
mov ebx, edi
test ebx, ebx
jle 0x4f66aa
lea edi, [ebx - 1]
cmp esi, edi
jbe 0x4f6855
mov dword [esp + 0x88], ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f6683
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x124]
cmp edi, ebx
jb 0x4f684c
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
call fcn.004edaa0
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4f6834
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jb 0x4f682f
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x20], ebx
call fcn.004f6d40
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x4f678f
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x58]
cmp ecx, edx
jb 0x4f6828
mov ebx, dword [esp + 0x124]
sub ebx, edx
mov ebp, ebx
neg ebx
mov esi, edx
shl edx, 2
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x11c]
add edx, ebx
mov dword [esp], edx
sub ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.004f6db0
mov eax, dword [esp + 0x1c]
test eax, eax
ja 0x4f6810
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0xfc]
mov ecx, eax
jmp 0x4f67a7
mov eax, ebp
test eax, eax
jle 0x4f67ba
lea ebp, [eax - 1]
cmp ecx, ebp
jbe 0x4f6809
mov esi, dword [ebx + eax*4 - 4]
test esi, esi
je 0x4f67a5
mov edx, dword [esp + 0x74]
cmp eax, edx
ja 0x4f6802
mov ecx, dword [esp + 0x110]
mov dword [esp], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x118]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
call fcn.004eea90
add esp, 0x10c
ret
mov ecx, eax
call fcn.0045ca40
mov eax, ebp
call fcn.0045ca00
lea eax, [0x5315e0]
mov dword [esp], eax
lea eax, [0x586bb8]
mov dword [esp + 4], eax
call fcn.00432520
mov eax, edx
call fcn.0045ca60
call fcn.0045ca40
lea eax, [0x5315e0]
mov dword [esp], eax
lea eax, [0x586bb8]
mov dword [esp + 4], eax
call fcn.00432520
mov ecx, ebx
mov edx, edi
call fcn.0045ca40
mov eax, edi
mov ecx, esi
call fcn.0045ca00
mov ebx, esi
mov esi, dword [esp + 0x8c]
test ebx, ebx
jle 0x4f651c
lea esi, [ebx - 1]
cmp edi, esi
jbe 0x4f6898
mov dword [esp + 0x94], ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f685e
jmp 0x4f650e
call fcn.0045ca40
mov ecx, ebx
mov edx, edi
call fcn.0045ca40
mov eax, esi
mov ecx, edi
call fcn.0045ca00
mov ecx, edi
mov edx, ebp
call fcn.0045ca40
mov ecx, eax
call fcn.0045ca40
mov eax, ebx
mov ecx, edx
call fcn.0045ca00
mov eax, esi
mov ecx, edx
call fcn.0045ca60
mov ecx, ebp
mov edx, edi
call fcn.0045ca40
mov eax, esi
mov ecx, edx
call fcn.0045ca00
mov eax, ecx
mov ecx, edx
call fcn.0045ca60
mov eax, ebx
test eax, eax
jle 0x4f5fbb
lea ebx, [eax - 1]
cmp edx, ebx
jbe 0x4f6ba8
mov ebp, dword [ecx + eax*4 - 4]
test ebp, ebp
je 0x4f68de
jmp 0x4f5fbb
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
sub ebx, ecx
inc ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x100]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
call fcn.004eea90
mov eax, dword [esp + 0xa0]
lea esi, [eax + 1]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x4c]
cmp esi, 2
jge 0x4f60f7
mov dword [esp + 0xa0], esi
mov edi, ebp
jmp 0x4f6b36
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov esi, dword [esp + 0xc4]
cmp ebp, esi
ja 0x4f6b86
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004edaa0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f6b59
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 1
call fcn.004f6db0
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
cmp edx, ecx
jb 0x4f6b81
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x20], ebp
call fcn.004f6d40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
cmp ecx, edx
jle 0x4f6ac1
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0xb0]
sub edx, ebx
inc edx
mov esi, edx
neg edx
sar edx, 0x1f
mov edi, dword [esp + 0xbc]
and edx, edi
mov edi, dword [esp + 0xf4]
add edx, edi
mov dword [esp], edx
sub ecx, ebx
inc ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call fcn.004f6db0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
cmp ebx, edx
jae 0x4f6900
jmp 0x4f6b78
mov ebp, edi
test ebp, ebp
jle 0x4f6105
lea edi, [ebp - 1]
cmp esi, edi
jbe 0x4f6b24
mov dword [esp + 0xa4], ebp
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
je 0x4f6ad2
jmp 0x4f60fe
mov eax, edx
call fcn.0045ca60
call fcn.0045ca40
lea eax, [0x5315e0]
mov dword [esp], eax
lea eax, [0x586bb8]
mov dword [esp + 4], eax
call fcn.00432520
mov ecx, ebp
mov edx, edi
call fcn.0045ca40
mov eax, edi
mov ecx, esi
call fcn.0045ca00
mov ebp, esi
mov esi, dword [esp + 0xa0]
test ebp, ebp
jle 0x4f69a5
lea esi, [ebp - 1]
cmp edi, esi
jbe 0x4f6b8f
mov dword [esp + 0x9c], ebp
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
je 0x4f6b2d
jmp 0x4f6997
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x4c]
jmp 0x4f60f7
mov eax, edx
mov ecx, ebx
call fcn.0045ca60
call fcn.0045ca40
mov ecx, ebp
mov edx, esi
call fcn.0045ca40
mov eax, esi
mov ecx, edi
call fcn.0045ca00
mov ecx, ebx
mov edx, ebp
call fcn.0045ca40
mov ecx, eax
call fcn.0045ca40
mov eax, ebx
mov ecx, edx
call fcn.0045ca00
mov eax, ebp
mov ecx, edx
call fcn.0045ca60
mov eax, edi
mov ecx, ebp
call fcn.0045ca60
mov ecx, ebp
mov edx, esi
call fcn.0045ca40
mov eax, ecx
mov ecx, edi
call fcn.0045ca60
mov ecx, ebx
mov edx, ebp
call fcn.0045ca40
mov eax, ebp
mov ecx, esi
call fcn.0045ca00
mov ecx, ebx
mov edx, esi
call fcn.0045ca40
mov ecx, eax
mov eax, ebp
call fcn.0045ca00
call fcn.0045ca40
mov ecx, eax
mov eax, esi
call fcn.0045ca00
nop
call fcn.0045b540
jmp fcn.004f5a40