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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f1d1f
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
call fcn.004f02f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 4]
movzx ebp, byte [edx]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1b], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
movzx ecx, byte [eax]
mov byte [esp + 0x1a], cl
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov ebp, dword [0x7e1c20]
test ebp, ebp
jne 0x4f1a23
mov dword [eax + 4], ebx
jmp 0x4f1a2d
lea edi, [eax + 4]
mov eax, ebx
call fcn.004610d0
movzx ebx, byte [esp + 0x1b]
mov byte [edx], bl
mov ebx, dword [esp + 0x44]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [edx + 0xc], ebx
mov ebx, dword [0x7e1c20]
test ebx, ebx
jne 0x4f1a55
mov ebx, dword [esp + 0x5c]
mov dword [edx + 4], ebx
jmp 0x4f1a61
lea edi, [edx + 4]
mov eax, dword [esp + 0x5c]
call fcn.004610d0
movzx edx, byte [esp + 0x1a]
mov ebx, dword [esp + 0x64]
mov byte [ebx], dl
mov edx, dword [esp + 0x3c]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4f1a89
mov ecx, dword [esp + 0x58]
mov dword [ebx + 4], ecx
jmp 0x4f1a95
lea edi, [ebx + 4]
mov eax, dword [esp + 0x58]
call fcn.004610d0
movzx ecx, byte [esp + 0x8c]
test cl, cl
je 0x4f1d1b
nop
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x78]
cmp ecx, edx
je 0x4f1bc4
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 4]
mov esi, dword [edx + 8]
mov eax, edx
mov edx, dword [edx + 4]
cmp esi, ebx
jg 0x4f1ad2
mov edi, esi
jmp 0x4f1b5a
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], edx
cmp esi, 1
jne 0x4f1b20
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
mov esi, 1
mov ebx, 1
jmp 0x4f1b5a
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 8], ecx
call fcn.0044a5d0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
mov esi, edi
mov ebx, dword [esp + 0x20]
cmp esi, edi
jg 0x4f1b60
mov edi, esi
cmp ebp, edx
je 0x4f1b9a
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl edi, 2
mov dword [esp + 8], edi
call fcn.00461a40
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x4f1baf
mov dword [ecx + 4], ebp
jmp 0x4f1bbd
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebp
call fcn.004610d0
mov eax, edx
movzx edx, byte [eax]
mov byte [ecx], dl
jmp 0x4f1bc6
mov eax, edx
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call fcn.004f01a0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
call fcn.004eff60
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x4f1d1b
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x4f1c2b
mov edi, ebp
jmp 0x4f1cb3
mov dword [esp + 0x34], ebp
mov dword [esp + 0x50], esi
cmp ebp, 1
jne 0x4f1c79
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebp, 1
mov edx, 1
jmp 0x4f1cb3
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
call fcn.0044a5d0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebp, edi
mov edx, dword [esp + 0x1c]
cmp ebp, edi
jg 0x4f1cb9
mov edi, ebp
cmp ebx, esi
je 0x4f1cf3
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ebx
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.00461a40
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x4f1d08
mov dword [ecx + 4], ebx
jmp 0x4f1d16
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebx
call fcn.004610d0
mov eax, edx
movzx eax, byte [eax]
mov byte [ecx], al
add esp, 0x68
ret
call fcn.0045fcc0
jmp fcn.004f1970