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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4f861e
sub esp, 0x108
nop
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x118]
mov eax, ebx
jmp 0x4f73c8
mov ebx, esi
test ebx, ebx
jle 0x4f73e3
lea esi, [ebx - 1]
cmp eax, esi
jbe 0x4f8614
mov ecx, ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f73c6
jmp 0x4f73e5
mov ecx, ebx
mov edx, dword [esp + 0x120]
cmp edx, ecx
jb 0x4f860f
nop
mov ebx, dword [esp + 0x128]
mov esi, dword [esp + 0x124]
mov eax, ebx
jmp 0x4f740b
mov ebx, ebp
mov ebp, edi
mov dword [esp + 0xb0], ebx
test ebx, ebx
jle 0x4f7434
mov edi, ebp
lea ebp, [ebx - 1]
cmp eax, ebp
jbe 0x4f8606
mov ebx, dword [esi + ebx*4 - 4]
test ebx, ebx
je 0x4f7407
mov ebx, dword [esp + 0xb0]
mov ebp, edi
mov eax, esi
mov esi, dword [esp + 0x12c]
cmp esi, ebx
jb 0x4f85fd
test ecx, ecx
je 0x4f768c
cmp ebx, 0x64
jl 0x4f7648
mov edi, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4f7641
mov esi, dword [esp + 0x13c]
mov ebp, dword [esp + 0x130]
cmp esi, ebp
jbe 0x4f85f4
mov dword [esp + 0xd4], edi
mov dword [esp + 0x90], ecx
shr ebx, 1
mov dword [esp + 0xbc], ebx
mov esi, dword [esp + 0x138]
mov ebx, dword [esi + ebp*4]
lea ebp, [esi + ebp*4]
test ebx, ebx
je 0x4f75be
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx]
mov esi, dword [esp + 0xbc]
inc esi
cmp ebp, esi
jl 0x4f74c0
jae 0x4f7564
jmp 0x4f85eb
mov ebx, dword [esp + 0xbc]
test ebx, ebx
jne 0x4f7515
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x120]
mov edi, dword [esp + 0xd4]
mov ebp, 1
mov esi, 1
jmp 0x4f7564
mov dword [esp + 0x8c], esi
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [ebx + 5]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.004483a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x120]
mov edi, dword [esp + 0xd4]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x48], ebp
mov dword [esp + 0xe0], ebx
mov ebx, dword [esp + 0x130]
mov ebp, dword [esp + 0x138]
mov ebx, dword [ebp + ebx*4]
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x48]
mov dword [ebx + 8], esi
mov esi, dword [0x887d70]
test esi, esi
jne 0x4f75a3
mov esi, dword [esp + 0xe0]
mov dword [ebx], esi
jmp 0x4f762e
mov esi, edi
mov edi, ebx
mov eax, dword [esp + 0xe0]
call fcn.0045f750
mov eax, dword [esp + 0x124]
mov edi, esi
jmp 0x4f762e
mov dword [esp + 0x104], ebp
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.004f18a0
mov eax, dword [0x887d70]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f75f6
mov ebx, dword [esp + 0x130]
mov ebp, dword [esp + 0x138]
mov dword [ebp + ebx*4], ecx
jmp 0x4f7612
mov edi, dword [esp + 0x104]
mov eax, ecx
call fcn.0045f750
mov ebx, dword [esp + 0x130]
mov ebp, dword [esp + 0x138]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x120]
mov edi, dword [esp + 0xd4]
mov ebx, dword [esp + 0x140]
mov esi, dword [esp + 0xbc]
jmp 0x4f775c
add esp, 0x108
ret
mov edi, dword [esp + 0x10c]
mov dword [esp], edi
mov edi, dword [esp + 0x110]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x114]
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.004f6ca0
add esp, 0x108
ret
nop
mov eax, dword [esp + 0x110]
test eax, eax
je 0x4f76ae
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
shl eax, 2
mov dword [esp + 4], eax
call fcn.0045ff10
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x114]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x18], ebx
call fcn.004efeb0
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0x12c]
mov edi, dword [esp + 0x118]
mov eax, dword [esp + 0x124]
mov ebx, ecx
mov ebp, dword [esp + 0x138]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
cmp ecx, esi
jle 0x4f7b9d
sub ecx, esi
cmp edi, ecx
jb 0x4f85e2
mov dword [esp + 0xd0], ecx
mov ebx, dword [esp + 0x130]
mov ebp, dword [ebp + ebx*4]
sub edx, ecx
mov dword [esp + 0x58], edx
sub edi, ecx
mov dword [esp + 0x54], edi
neg edx
shl ecx, 2
sar edx, 0x1f
and ecx, edx
mov edx, edi
mov edi, dword [esp + 0x118]
add edi, ecx
mov dword [esp + 0xe8], edi
mov ecx, ebx
mov ebx, dword [ebp]
mov dword [esp + 0xf8], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x78], ebx
mov ebp, dword [ebp + 8]
mov dword [esp + 0x80], ebp
nop
test ebx, ebx
je 0x4f780b
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
shl ebx, 2
mov dword [esp + 4], ebx
call fcn.0045ff10
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xe8]
mov ebp, dword [esp + 0xb0]
lea ebx, [esi + ebp]
mov ebp, dword [esp + 0x58]
cmp ebp, ebx
jb 0x4f85d9
lea edx, [esi - 1]
cmp edx, ebx
ja 0x4f85d0
mov dword [esp + 0x60], edx
sub ebp, esi
inc ebp
mov dword [esp + 0xcc], ebp
shl edx, 2
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
add ebp, edi
mov ebx, dword [esp + 0xb0]
mov edi, dword [esp + 0x60]
cmp ebx, edi
jb 0x4f85c7
mov dword [esp + 0xc8], edx
mov dword [esp + 0x100], ebp
mov edi, dword [esp + 0xf8]
mov dword [esp], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
lea ebp, [ebx + 1]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x12c]
sub ebp, esi
inc ebp
mov dword [esp + 0xc4], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
add ebp, eax
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x18], ebp
sub ebx, esi
inc ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x20], edx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x138]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x34], edx
call fcn.004f7390
nop
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xf8]
mov edx, eax
jmp 0x4f82f6
mov edx, dword [esp + 0x80]
cmp eax, edx
ja 0x4f85b7
mov dword [esp + 0xac], eax
mov ebx, dword [esp + 0x134]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
mov edi, dword [esp + 0xb0]
lea ebx, [edi + edi*2]
cmp ebp, ebx
jl 0x4f7964
jae 0x4f7a03
jmp 0x4f85ae
cmp ebx, 1
jne 0x4f79b3
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0xb0]
mov ebx, 1
mov ebp, 1
jmp 0x4f7a03
mov dword [esp + 0x88], ebx
lea eax, [0x6589a0]
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.004483a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x44]
nop
test ebx, ebx
je 0x4f7a4a
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xdc], esi
mov dword [esp], esi
shl ebx, 2
mov dword [esp + 4], ebx
call fcn.0045ff10
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0xdc]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x20], esi
call fcn.004effc0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x4f8396
mov esi, ebp
jmp 0x4f84ea
mov ebp, dword [esp + 0xa4]
mov edi, dword [esp + 0x58]
cmp ebp, edi
ja 0x4f8531
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
call fcn.004eee90
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4f8519
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
cmp ecx, edx
ja 0x4f8514
mov eax, dword [esp + 0xe8]
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 + 0x70]
mov dword [esp + 0x20], ebx
call fcn.004f8750
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x4f76b5
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
cmp edx, ecx
ja 0x4f850d
mov ebx, dword [esp + 0x58]
sub ebx, edx
mov ebp, ebx
neg ebx
mov esi, edx
shl edx, 2
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0xe8]
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.004f87c0
jmp 0x4f76b5
mov ecx, ebx
mov ebx, dword [esp + 0x130]
mov ebp, dword [ebp + ebx*4]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [ebp]
mov dword [esp + 0xf4], ebx
mov ebp, dword [ebp + 4]
mov dword [esp + 0x74], ebp
nop
test ebp, ebp
je 0x4f7c04
mov dword [esp], ebx
shl ebp, 2
mov dword [esp + 4], ebp
call fcn.0045ff10
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x120]
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xd4]
lea ebp, [esi - 1]
cmp edi, ebp
jb 0x4f82eb
mov dword [esp + 0x5c], ebp
sub edx, esi
inc edx
mov dword [esp + 0x50], edx
shl ebp, 2
mov dword [esp + 0xd0], ebp
neg edx
sar edx, 0x1f
and edx, ebp
mov ebp, dword [esp + 0x118]
add ebp, edx
mov edx, edi
sub edi, esi
inc edi
mov dword [esp + 0x4c], edi
jmp 0x4f7c4f
mov ebx, dword [esp + 0xf4]
mov edi, esi
mov esi, dword [esp + 0xbc]
test edi, edi
jle 0x4f7c86
lea esi, [edi - 1]
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
jae 0x4f82e2
mov dword [esp + 0xa0], edi
mov edi, dword [ebp + edi*4 - 4]
test edi, edi
je 0x4f7c3f
mov ebx, dword [esp + 0xf4]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x50]
cmp edi, esi
ja 0x4f82d9
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0x5c]
cmp edx, esi
jb 0x4f82d0
mov dword [esp + 0xe4], ebp
mov dword [esp], ebx
mov esi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x12c]
mov ebp, dword [esp + 0xbc]
sub edi, ebp
inc edi
mov dword [esp + 0xcc], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebx, dword [esp + 0xd0]
and edi, ebx
add edi, eax
mov dword [esp + 0x100], edi
mov dword [esp + 0x18], edi
sub edx, ebp
inc edx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x130]
inc ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x134]
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x138]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x13c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
call fcn.004f7390
nop
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xf4]
mov edx, eax
jmp 0x4f7d67
mov eax, ebx
test eax, eax
jle 0x4f7d7e
lea ebx, [eax - 1]
cmp edx, ebx
jbe 0x4f82c7
mov ebp, dword [ecx + eax*4 - 4]
test ebp, ebp
je 0x4f7d65
mov edx, dword [esp + 0x7c]
cmp eax, edx
ja 0x4f82c0
mov dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x134]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx]
mov esi, dword [esp + 0xb0]
lea edi, [esi + esi*2]
cmp ebp, edi
jl 0x4f7db6
jae 0x4f7e41
jmp 0x4f82b7
cmp edi, 1
jne 0x4f7dfb
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x7c]
mov edi, 1
mov ebp, 1
jmp 0x4f7e41
mov dword [esp + 0x84], edi
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esi + esi*2 + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.004483a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x40]
nop
test edi, edi
je 0x4f7e85
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0xd8], ebx
mov dword [esp], ebx
shl edi, 2
mov dword [esp + 4], edi
call fcn.0045ff10
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x20], esi
call fcn.004effc0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x118]
xor esi, esi
jmp 0x4f7f13
mov edi, dword [esp + 0xb4]
lea esi, [edi + 1]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0x118]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
cmp esi, 2
jge 0x4f8095
mov dword [esp + 0xb4], esi
mov edi, ebx
jmp 0x4f827d
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0x120]
cmp edi, ebx
jb 0x4f82a5
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
call fcn.004eee90
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f7eec
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
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.004f87c0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
cmp edx, ecx
jb 0x4f82a0
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 + 0x124]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x12c]
mov dword [esp + 0x20], ebp
call fcn.004f8750
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
cmp ecx, edx
jle 0x4f8048
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xbc]
sub edx, ebx
inc edx
mov esi, edx
neg edx
sar edx, 0x1f
mov edi, dword [esp + 0xd0]
and edx, edi
mov edi, dword [esp + 0xec]
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.004f87c0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
call fcn.004efeb0
jmp 0x4f7eec
mov esi, ebx
jmp 0x4f809b
mov ebx, edi
test ebx, ebx
jle 0x4f80c0
lea edi, [ebx - 1]
cmp esi, edi
jbe 0x4f826b
mov dword [esp + 0x94], ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f8099
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x120]
cmp edi, ebx
jb 0x4f8262
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
call fcn.004eee90
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4f824a
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x64]
cmp edx, ecx
jb 0x4f8245
mov eax, dword [esp + 0x118]
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 + 0xec]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
call fcn.004f8750
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x4f81a5
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x64]
cmp ecx, edx
jb 0x4f823e
mov ebx, dword [esp + 0x120]
sub ebx, edx
mov ebp, ebx
neg ebx
mov esi, edx
shl edx, 2
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x118]
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.004f87c0
mov eax, dword [esp + 0x1c]
test eax, eax
ja 0x4f8226
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xf4]
mov ecx, eax
jmp 0x4f81bd
mov eax, ebp
test eax, eax
jle 0x4f81d0
lea ebp, [eax - 1]
cmp ecx, ebp
jbe 0x4f821f
mov esi, dword [ebx + eax*4 - 4]
test esi, esi
je 0x4f81bb
mov edx, dword [esp + 0x7c]
cmp eax, edx
ja 0x4f8218
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x114]
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.004efeb0
add esp, 0x108
ret
mov ecx, eax
call fcn.0045f810
mov eax, ebp
call fcn.0045f7d0
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f5fb4]
mov dword [esp + 4], eax
call fcn.00434250
mov eax, edx
call fcn.0045f830
call fcn.0045f810
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f5fb4]
mov dword [esp + 4], eax
call fcn.00434250
mov ecx, ebx
mov edx, edi
call fcn.0045f810
mov eax, edi
mov ecx, esi
call fcn.0045f7d0
mov ebx, esi
mov esi, dword [esp + 0xb4]
test ebx, ebx
jle 0x4f7f38
lea esi, [ebx - 1]
cmp edi, esi
jbe 0x4f82ae
mov dword [esp + 0x98], ebx
mov ebx, dword [ebp + ebx*4 - 4]
test ebx, ebx
je 0x4f8274
jmp 0x4f7f2a
call fcn.0045f810
mov ecx, ebx
mov edx, edi
call fcn.0045f810
mov eax, esi
mov ecx, edi
call fcn.0045f7d0
mov ecx, edi
mov edx, ebp
call fcn.0045f810
mov ecx, eax
call fcn.0045f810
mov eax, ebx
mov ecx, edx
call fcn.0045f7d0
mov eax, esi
mov ecx, edx
call fcn.0045f830
mov ecx, edi
mov edx, esi
call fcn.0045f810
mov eax, esi
mov ecx, ebx
call fcn.0045f7d0
mov eax, ebp
mov ecx, edi
call fcn.0045f830
mov eax, ebx
test eax, eax
jle 0x4f7929
lea ebx, [eax - 1]
cmp edx, ebx
jbe 0x4f85be
mov ebp, dword [ecx + eax*4 - 4]
test ebp, ebp
je 0x4f82f4
jmp 0x4f7929
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
sub ebx, ecx
inc ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0xfc]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
call fcn.004efeb0
mov eax, dword [esp + 0xb8]
lea esi, [eax + 1]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x54]
cmp esi, 2
jge 0x4f7ab1
mov dword [esp + 0xb8], esi
mov edi, ebp
jmp 0x4f854c
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xb8]
mov esi, dword [esp + 0x58]
cmp ebp, esi
ja 0x4f859c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004eee90
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f856f
mov eax, dword [esp + 0xf8]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x80]
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.004f87c0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
cmp edx, ecx
jb 0x4f8597
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 + 0x124]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x12c]
mov dword [esp + 0x20], ebp
call fcn.004f8750
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
cmp ecx, edx
jle 0x4f84d7
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0xbc]
sub edx, ebx
inc edx
mov esi, edx
neg edx
sar edx, 0x1f
mov edi, dword [esp + 0xc8]
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.004f87c0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
cmp ebx, edx
jae 0x4f8316
jmp 0x4f858e
mov ebp, edi
test ebp, ebp
jle 0x4f7abf
lea edi, [ebp - 1]
cmp esi, edi
jbe 0x4f853a
mov dword [esp + 0xa4], ebp
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
je 0x4f84e8
jmp 0x4f7ab8
mov eax, edx
call fcn.0045f830
call fcn.0045f810
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f5fb4]
mov dword [esp + 4], eax
call fcn.00434250
mov ecx, ebp
mov edx, edi
call fcn.0045f810
mov eax, edi
mov ecx, esi
call fcn.0045f7d0
mov ebp, esi
mov esi, dword [esp + 0xb8]
test ebp, ebp
jle 0x4f83bb
lea esi, [ebp - 1]
cmp edi, esi
jbe 0x4f85a5
mov dword [esp + 0xa8], ebp
mov ebp, dword [ebx + ebp*4 - 4]
test ebp, ebp
je 0x4f8543
jmp 0x4f83ad
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x54]
jmp 0x4f7ab1
mov eax, edx
mov ecx, ebx
call fcn.0045f830
call fcn.0045f810
mov ecx, ebp
mov edx, esi
call fcn.0045f810
mov eax, esi
mov ecx, edi
call fcn.0045f7d0
mov ecx, ebx
mov edx, ebp
call fcn.0045f810
mov ecx, eax
call fcn.0045f810
mov eax, ebx
mov ecx, edx
call fcn.0045f7d0
mov eax, edi
mov ecx, ebx
call fcn.0045f830
mov eax, edx
mov ecx, ebx
call fcn.0045f830
mov ecx, ebx
mov edx, ebp
call fcn.0045f810
mov eax, ecx
mov ecx, edi
call fcn.0045f830
mov ecx, esi
mov edx, ebp
call fcn.0045f810
mov eax, ebp
mov ecx, esi
call fcn.0045f7d0
mov ecx, ebx
mov edx, esi
call fcn.0045f810
mov ecx, eax
mov eax, ebp
call fcn.0045f7d0
call fcn.0045f810
mov ecx, eax
mov eax, esi
call fcn.0045f7d0
nop
call fcn.0045e340
jmp fcn.004f7390