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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f242f
sub esp, 0x74
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f23ed
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x4f23cb
mov ecx, dword [0x61e880]
mov edx, dword [0x61e884]
test ecx, ecx
jne 0x4f2398
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x4f2391
mov edx, dword [ecx + edx*4 - 4]
nop
cmp edx, 0x10000
jb 0x4f238a
shr edx, 0x10
mov ecx, 0x10
cmp edx, 0x100
jb 0x4f1edc
shr edx, 8
add ecx, 8
cmp edx, 0x100
jae 0x4f2422
shl ebx, 5
lea ebp, [0x5fcb80]
movzx edx, byte [ebp + edx]
add ecx, edx
add ecx, ebx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
shl eax, 1
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea ecx, [edx + ecx + 7]
sar ecx, 3
mov edx, ecx
sub ecx, eax
lea eax, [ecx - 2]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jg 0x4f234b
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
call ecx
lea eax, [0x51b4a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00442650
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x4f241d
cmp ecx, 1
jb 0x4f2413
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x4c]
add eax, ebx
mov ebp, dword [esp + 4]
lea esi, [ebp + 1]
cmp ecx, esi
jb 0x4f240c
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, eax
sub eax, ecx
lea ecx, [eax - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x2c]
and ebp, ecx
mov ecx, dword [esp + 0x4c]
add ebp, ecx
mov esi, dword [esp + 4]
cmp ebx, esi
jb 0x4f2403
mov edi, dword [esp + 0x38]
cmp edi, esi
jge 0x4f2344
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x50]
cmp esi, ebp
je 0x4f20c1
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0045aff0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x90]
mov ebp, edx
sub edx, ebx
lea eax, [edx - 2]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jbe 0x4f23fe
mov eax, dword [esp + 0x40]
mov byte [edx + eax - 2], 1
lea esi, [edx - 1]
sub ebp, edx
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, esi
add ebp, eax
cmp edx, ebx
jle 0x4f233d
mov edx, dword [esp + 0x8c]
cmp edx, ebp
je 0x4f211f
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045aff0
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00464800
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4f2199
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
call fcn.004f1be0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.004f1be0
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
nop
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004c4ed0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov byte [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.004f1db0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
lea ecx, [0x51b4a0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00442650
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004ba290
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov ebx, edx
jmp 0x4f2104
mov edi, esi
jmp 0x4f209d
mov eax, dword [0x61e868]
mov ecx, dword [0x61e86c]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x74
ret
xor ecx, ecx
jmp 0x4f1ece
xor ecx, ecx
jmp 0x4f1efa
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
cmp ecx, 0x7fffffff
jle 0x4f23e4
mov ecx, dword [0x61e878]
mov edx, dword [0x61e87c]
jmp 0x4f1e82
xor ecx, ecx
xor edx, edx
jmp 0x4f1e82
mov ecx, dword [0x61e888]
mov edx, dword [0x61e88c]
jmp 0x4f1e82
call fcn.0045a700
mov ecx, esi
mov edx, ebx
call fcn.0045a740
mov eax, esi
call fcn.0045a760
mov eax, 1
call fcn.0045a760
call fcn.0045a740
mov eax, edx
mov ecx, 0x100
call fcn.0045a710
nop
call fcn.00459120
jmp fcn.004f1e40