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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f20ca
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x2f
call fcn.00402ac0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x4f1d78
mov edx, dword [esp + 0x68]
cmp edx, ecx
jb 0x4f20c4
lea eax, [ecx + 1]
cmp edx, eax
jb 0x4f20bd
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f12b0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
dec eax
mov ebx, eax
neg eax
sar eax, 0x1f
mov ebp, dword [esp + 0x44]
and ebp, eax
mov eax, dword [esp + 0x64]
add ebp, eax
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test esi, esi
je 0x4f1d22
mov ecx, 4
jmp 0x4f1d53
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f15e0
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x54]
mov ecx, 0x10
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x4f1e0d
lea eax, [0x5ec980]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x60d7af]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f1db3
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4f1dc3
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00463730
mov eax, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x661bfc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
inc edx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
cmp edx, ebx
jge 0x4f1e6f
jae 0x4f20b4
movzx edi, byte [ebp + edx]
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jb 0x4f1e6b
xchg edi, eax
cmp al, 0x39
xchg edi, eax
ja 0x4f1e65
mov esi, dword [esp + 0x28]
lea esi, [esi + esi*4]
add edi, 0xffffffd0
xchg edi, eax
movzx eax, al
xchg edi, eax
lea esi, [edi + esi*2]
cmp esi, 0xffffff
jl 0x4f1df8
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
mov edx, 0xffffff
xor ebp, ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x58]
jmp 0x4f1e97
mov edi, dword [esp + 0x30]
jmp 0x4f1e6f
mov edi, dword [esp + 0x30]
test edx, edx
jne 0x4f1e81
xor edx, edx
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x3c], edx
xor edx, edx
jmp 0x4f1e97
mov edx, dword [esp + 0x28]
mov ebp, 1
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov ebp, 1
test esi, esi
je 0x4f1efe
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f1efe
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jne 0x4f1efe
test edx, edx
jl 0x4f1efe
shl ecx, 3
cmp edx, ecx
jg 0x4f1efe
mov dword [esp + 0x44], edx
cmp ecx, 0x20
je 0x4f1ece
cmp ecx, 0x80
je 0x4f1ece
xor ecx, ecx
xor eax, eax
jmp 0x4f1fc9
lea eax, [0x5e2160]
mov dword [esp], eax
sar ecx, 3
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
xor ebx, ebx
jmp 0x4f1f7f
lea eax, [0x5ec980]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x60d7af]
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f1f39
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x4f1f49
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00463730
mov eax, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x661bfc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x60
ret
inc ebx
cmp ebx, ecx
jge 0x4f1fc1
cmp edx, 8
jb 0x4f1f99
cmp ebx, ecx
jae 0x4f20ad
mov byte [eax + ebx], 0xff
add edx, 0xfffffff8
jmp 0x4f1f7e
cmp ebx, ecx
jae 0x4f20a6
mov ebp, ecx
mov ecx, edx
mov esi, 0xffffffff
xchg esi, eax
shr al, cl
xchg esi, eax
xchg esi, ebx
not ebx
xchg esi, ebx
xchg esi, ecx
mov byte [eax + ebx], cl
xchg esi, ecx
mov ecx, ebp
xor edx, edx
jmp 0x4f1f7e
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004ef760
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x5ec920]
mov dword [esp], ebx
call fcn.0040bd40
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4f203b
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
jmp 0x4f2044
mov eax, dword [esp + 0x5c]
call fcn.00463730
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4f2061
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
jmp 0x4f2073
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x50]
mov edx, edi
mov edi, ecx
call fcn.00463730
mov edi, edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x60
ret
mov eax, ebx
call fcn.004637b0
mov eax, ebx
call fcn.004637b0
mov eax, edx
mov ecx, ebx
call fcn.004637b0
mov ecx, edx
call fcn.00463810
call fcn.004637d0
nop
call fcn.00462320
jmp fcn.004f1c80