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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb8]
cmp eax, dword [ecx + 8]
jbe 0x4f6e81
sub esp, 0x138
mov eax, dword [esp + 0x144]
test eax, eax
jle 0x4f6e42
mov ecx, dword [esp + 0x150]
test ecx, ecx
jle 0x4f6e2d
lea edx, [eax - 1]
cmp edx, eax
jae 0x4f6e7a
mov edx, dword [esp + 0x13c]
lea ebx, [edx + eax*4 - 4]
lea ebp, [ecx - 1]
cmp ebp, ecx
jae 0x4f6e7a
mov ebp, dword [esp + 0x148]
lea esi, [ebp + ecx*4 - 4]
cmp esi, ebx
sete bl
test bl, bl
je 0x4f6dc3
xor eax, eax
xor edx, edx
xor ebx, ebx
mov esi, dword [esp + 0x164]
cmp esi, 1
jne 0x4f630e
mov edi, dword [esp + 0x160]
mov edi, dword [edi]
cmp edi, 1
je 0x4f6da3
mov edi, dword [esp + 0x158]
test edi, edi
je 0x4f6d43
cmp edi, 1
jne 0x4f6338
mov edi, dword [esp + 0x154]
mov edi, dword [edi]
cmp edi, 1
jne 0x4f6338
test esi, esi
jne 0x4f6cd2
test esi, esi
je 0x4f6344
cmp esi, ebx
jg 0x4f6c97
mov eax, dword [esp + 0x14c]
cmp eax, ebx
jg 0x4f6c51
mov edi, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], eax
cmp eax, edi
jle 0x4f6c4a
mov dword [esp + 0x134], edx
mov dword [esp], edx
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.0044e0c0
mov eax, dword [esp + 0x148]
mov dword [esp], eax
mov ecx, dword [esp + 0x14c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x150]
mov dword [esp + 8], edx
mov ebx, dword [0x9eead4]
mov ebp, dword [0x9eead0]
mov esi, dword [0x9eead8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
call fcn.004f20d0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f6c37
mov eax, dword [esp + 0x158]
cmp eax, 1
jle 0x4f6c2b
mov ecx, dword [esp + 0x164]
test ecx, ecx
jg 0x4f6aec
lea edx, [eax - 1]
cmp edx, eax
jae 0x4f6e65
mov ecx, dword [esp + 0x154]
mov edx, dword [ecx + eax*4 - 4]
mov dword [esp + 0x5c], edx
mov dword [esp], edx
call fcn.004e2c00
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x5c]
shl edx, cl
cmp ecx, 0x20
sbb ecx, ecx
and edx, ecx
add eax, 0xffffffe1
neg eax
mov dword [esp + 0x58], eax
xor ecx, ecx
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x134]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x50], ebx
xor ebp, ebp
mov dword [esp + 0x54], ebp
xor esi, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x10c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x104], edx
xor edx, edx
mov dword [esp + 0xb0], edx
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor edi, edi
mov dword [esp + 0x130], edi
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x134]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x104]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0xfc], eax
xor eax, eax
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x10c]
jmp 0x4f6515
mov ebp, dword [esp + 0x74]
inc ebp
shl ebx, 1
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x58]
mov ecx, ebp
mov ebp, dword [esp + 0xec]
mov esi, dword [esp + 0xf4]
mov edi, dword [esp + 0x128]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0xec]
cmp ecx, eax
jge 0x4f6775
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x12c], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x5c], edx
mov dword [esp], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004f3b60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
test ebx, 0x80000000
jne 0x4f66d0
mov ebp, dword [esp + 0x164]
test ebp, ebp
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0xa4]
jne 0x4f65df
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xdc]
jmp 0x4f64ba
mov dword [esp + 0x124], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x128]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov ebx, dword [esp + 0x134]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x168]
mov dword [esp + 0x2c], esi
call fcn.004f43a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x130]
mov dword [esp + 0x128], edi
mov edi, dword [esp + 0xb0]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x124]
mov dword [esp + 0x134], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x130], eax
mov ecx, ebp
mov eax, ebx
mov edx, esi
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x164]
mov esi, dword [esp + 0xac]
jmp 0x4f64ba
mov dword [esp + 0x114], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
mov ebx, dword [esp + 0x12c]
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x148]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x14c]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x150]
mov dword [esp + 0x20], esi
call fcn.004f30b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x164]
test ebp, ebp
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x128], ebx
mov ebx, dword [esp + 0x5c]
jmp 0x4f65a6
mov eax, dword [esp + 0x158]
lea ecx, [eax - 2]
mov edx, dword [esp + 0x54]
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x54]
jmp 0x4f6a52
mov ebp, dword [esp + 0x70]
inc ebp
shl ebx, 1
mov dword [esp + 0x70], ebp
mov ebp, ecx
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x12c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x78]
mov ecx, ebx
mov ebx, edx
mov edx, esi
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
cmp eax, 0x20
jge 0x4f6a30
mov dword [esp + 0x90], ebx
mov dword [esp + 0x120], esi
mov dword [esp + 0x8c], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004f3b60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
test ebx, 0x80000000
jne 0x4f6991
mov ebp, dword [esp + 0x164]
test ebp, ebp
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x120]
mov dword [esp + 0x12c], esi
mov esi, dword [esp + 0x90]
jne 0x4f68a3
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x68], eax
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb4]
jmp 0x4f67a2
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x11c], eax
mov ebx, dword [esp + 0x12c]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x134]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x168]
mov dword [esp + 0x2c], esi
call fcn.004f43a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xb0]
mov edi, dword [esp + 0x130]
mov dword [esp + 0x12c], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x134], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x130], eax
mov edx, esi
mov ecx, ebp
mov eax, ebx
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x164]
mov esi, dword [esp + 0x54]
jmp 0x4f67a2
mov dword [esp + 0x118], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edx
mov ebx, dword [esp + 0x120]
mov dword [esp], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x148]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x14c]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x150]
mov dword [esp + 0x20], esi
call fcn.004f30b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x164]
test ebp, ebp
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x12c], ebx
mov ebx, dword [esp + 0x5c]
jmp 0x4f686d
dec ecx
mov eax, dword [esp + 0x158]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x158]
test ecx, ecx
jl 0x4f6ab4
cmp ecx, eax
jae 0x4f6e5e
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x154]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xb0], ecx
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xc4]
jmp 0x4f67df
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004f1a30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
add esp, 0x138
ret
mov edx, dword [esp + 0x160]
mov ebx, dword [edx]
and ebx, 1
cmp ebx, 1
jne 0x4f6b96
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x148]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x154]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x168]
mov dword [esp + 0x2c], eax
call fcn.004f7840
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
add esp, 0x138
ret
mov ebx, dword [esp + 0x134]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x148]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x150]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x154]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x168]
mov dword [esp + 0x2c], eax
call fcn.004f6e90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
add esp, 0x138
ret
mov ecx, dword [esp + 0x164]
jmp 0x4f63ed
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x164]
jmp 0x4f63ed
mov edi, eax
jmp 0x4f6365
lea ecx, [0x744200]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [eax + 4]
mov dword [esp + 8], ecx
call fcn.00439b00
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov ebp, dword [esp + 0x148]
mov esi, dword [esp + 0x164]
mov edi, dword [esp + 0x14c]
jmp 0x4f6355
lea eax, [0x744200]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
call fcn.00439b00
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov ebp, dword [esp + 0x148]
mov esi, dword [esp + 0x164]
jmp 0x4f6344
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x168]
mov dword [esp + 0x2c], eax
call fcn.004f43a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], eax
add esp, 0x138
ret
cmp ebx, 1
jl 0x4f6d77
mov eax, 1
test eax, eax
jbe 0x4f6e6c
mov dword [edx], 1
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ebx
add esp, 0x138
ret
lea eax, [0x744200]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 5
call fcn.00439b00
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x4f6d4d
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], ebx
add esp, 0x138
ret
test eax, eax
jle 0x4f6e22
mov ebx, dword [esp + 0x15c]
test ebx, ebx
jle 0x4f6e17
lea esi, [eax - 1]
cmp esi, eax
jae 0x4f6e73
lea esi, [edx + eax*4 - 4]
lea edi, [ebx - 1]
cmp edi, ebx
jae 0x4f6e73
mov edi, dword [esp + 0x154]
lea ebx, [edi + ebx*4 - 4]
cmp ebx, esi
sete bl
test bl, bl
jne 0x4f62ea
mov eax, dword [esp + 0x140]
mov ebx, dword [esp + 0x144]
jmp 0x4f62f0
mov edi, dword [esp + 0x154]
xor ebx, ebx
jmp 0x4f6dfc
mov edi, dword [esp + 0x154]
xor ebx, ebx
jmp 0x4f6dfc
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x148]
xor ebx, ebx
jmp 0x4f62e2
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x13c]
mov ebp, dword [esp + 0x148]
xor ebx, ebx
jmp 0x4f62e2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.00426960
ud2
call fcn.0044be50
jmp fcn.004f6270