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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f1ce4
sub esp, 0x50
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4f1b1e
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
cmp ebx, ebp
jne 0x4f1a33
test ebx, ebx
je 0x4f1a29
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
cmp esi, edi
jne 0x4f1a3b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x50
ret
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
jmp 0x4f1a3b
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4f1a63
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x4f1a63
mov ecx, esi
lea esi, [esi + edx*4 - 4]
lea edi, [edi + ebx*4 - 4]
cmp edi, esi
je 0x4f1b2e
mov esi, ecx
mov edi, dword [esp + 0x60]
cmp edx, ebp
jl 0x4f1a6b
mov eax, ebp
jmp 0x4f1ad9
cmp ebp, 1
jne 0x4f1aa8
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebp, 1
mov esi, eax
mov edx, 1
mov eax, dword [esp + 0x64]
jmp 0x4f1ad9
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, eax
mov edx, dword [esp + 0x28]
mov eax, ebp
cmp eax, ebp
jl 0x4f1adf
mov eax, ebp
cmp edi, esi
je 0x4f1b0e
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], edi
shl eax, 2
mov dword [esp + 8], eax
call fcn.004600e0
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4f1c78
shr eax, 5
mov dword [esp + 0x44], eax
lea edi, [eax + ebp]
mov dword [esp + 0x38], edi
lea esi, [eax + ebp + 1]
cmp edx, esi
jl 0x4f1b57
jae 0x4f1bdb
jmp 0x4f1cdc
test edi, edi
jne 0x4f1b9b
lea eax, [0x6589a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov edx, 1
mov esi, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
jmp 0x4f1bdb
mov dword [esp + 0x34], esi
lea ecx, [0x6589a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
lea ecx, [eax + ebp + 5]
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x44]
cmp edx, edi
jb 0x4f1cd5
cmp eax, edi
ja 0x4f1cce
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], ecx
sub edx, eax
mov dword [esp + 0x40], edx
shl eax, 2
mov dword [esp + 0x3c], eax
neg edx
sar edx, 0x1f
and edx, eax
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x6c]
and edx, 0x1f
mov dword [esp + 0x18], edx
call fcn.004f87f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jbe 0x4f1cc7
mov ebx, dword [esp + 0x48]
mov dword [ebx + edx*4], eax
nop
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x4f1c74
mov dword [esp], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0045ff10
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
mov eax, ecx
jmp 0x4f1c8e
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov ecx, ebp
test ecx, ecx
jle 0x4f1ca1
lea ebp, [ecx - 1]
cmp eax, ebp
jbe 0x4f1cbe
mov esi, dword [ebx + ecx*4 - 4]
test esi, esi
je 0x4f1c8c
mov edx, dword [esp + 0x24]
cmp ecx, edx
ja 0x4f1cb9
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
call fcn.0045f810
mov ecx, eax
mov eax, ebp
call fcn.0045f7d0
mov eax, edx
call fcn.0045f7d0
mov ecx, edi
call fcn.0045f830
mov ecx, edi
call fcn.0045f810
mov ecx, esi
call fcn.0045f810
nop
call fcn.0045e340
jmp fcn.004f19d0