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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4f6f06
sub esp, 0x94
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4f6dfb
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x4f6daf
mov ebx, dword [esp + 0xac]
test ebx, ebx
jne 0x4f6da6
cmp al, 0x30
je 0x4f6b88
mov ebp, 0xa
xor esi, esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], esi
mov byte [esp + 0x2f], al
mov dword [esp + 0x54], ebp
mov dword [esp], ebp
call fcn.004f6450
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x60], edx
mov edx, 0xffffffff
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
jmp 0x4f6638
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov byte [esp + 0x2f], cl
mov dword [esp + 0x38], eax
mov edi, ebx
mov esi, edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa8]
movzx eax, byte [esp + 0xb0]
test al, al
je 0x4f6b7c
movzx ebx, byte [esp + 0x2f]
cmp bl, 0x2e
je 0x4f6a71
mov dword [esp + 0x5c], esi
lea esi, [ebx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
ja 0x4f6a29
xchg esi, eax
movzx ebx, al
xchg esi, eax
cmp ebx, edx
jae 0x4f69dd
mov byte [esp + 0xb0], al
mov esi, dword [esp + 0x3c]
imul esi, edx
add ebx, esi
mov esi, dword [esp + 0x34]
inc esi
cmp ecx, esi
je 0x4f6976
mov edi, dword [esp + 0xa0]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
inc eax
movzx ecx, byte [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test edx, edx
je 0x4f6603
mov ecx, dword [0xb80668]
cmp ecx, edx
je 0x4f6723
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ebx
add esp, 0x94
ret
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x7c], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [0xb8066c]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f6965
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x4f687d
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x4f6877
mov edx, dword [esp + 0x54]
cmp edx, 8
jne 0x4f680b
mov eax, 0xa
mov ecx, 1
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], edx
add esp, 0x94
ret
test ecx, ecx
je 0x4f685c
lea eax, [0x7d00e0]
mov dword [esp], eax
call fcn.00409c40
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1c
mov eax, dword [0xb92b90]
test eax, eax
jne 0x4f684f
lea eax, [0x8421f6]
mov dword [edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, edi
lea ebx, [0x8b2890]
jmp 0x4f67c7
lea eax, [0x8421f6]
call fcn.0044c990
jmp 0x4f683a
cmp edx, 8
jne 0x4f680f
mov eax, edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x5c]
jmp 0x4f67c7
mov edx, dword [esp + 0x54]
jmp 0x4f680d
mov dword [esp + 0x38], edi
test ecx, ecx
jg 0x4f68fc
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004ee460
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
test ebx, ebx
jl 0x4f68f6
mov ebp, dword [esp + 0x58]
sub ebx, ebp
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xcc], eax
add esp, 0x94
ret
mov ebx, dword [esp + 0x58]
jmp 0x4f68af
mov dword [esp + 0x78], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004f64a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.004eeba0
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
jmp 0x4f6885
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x7c]
jmp 0x4f66db
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.004eeba0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0xa4]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], ecx
jmp 0x4f6699
mov dword [esp + 0x7c], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
jmp 0x4f678e
lea esi, [ebx - 0x61]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4f6a40
lea esi, [ebx - 0x57]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4f666d
lea esi, [ebx - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4f6a67
cmp edx, 0x24
jg 0x4f6a5a
add ebx, 0xffffffc9
movzx ebx, bl
jmp 0x4f666d
lea esi, [ebx - 0x1d]
xchg esi, eax
movzx ebx, al
xchg esi, eax
jmp 0x4f666d
mov ebx, 0x3f
jmp 0x4f666d
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 4]
test ecx, ecx
jne 0x4f6ab5
mov ebp, dword [esp + 0xa4]
mov ebx, edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x58], esi
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
xor eax, eax
jmp 0x4f6656
mov edx, dword [0xb80668]
cmp edx, ecx
je 0x4f6b0b
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x94
ret
mov dword [esp + 0x7c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xb8066c]
mov dword [esp + 8], edx
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4f6b6f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov edi, eax
xor eax, eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
mov eax, edi
mov ecx, dword [esp + 0x34]
jmp 0x4f678e
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x4c]
jmp 0x4f6abf
xor eax, eax
movzx ebx, byte [esp + 0x2f]
jmp 0x4f6656
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x4f6c9d
mov eax, dword [0xb80668]
cmp eax, edx
je 0x4f6c09
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
mov dword [esp + 0x80], ecx
mov dword [esp + 0x5c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [0xb8066c]
mov dword [esp + 8], eax
call fcn.00402ea0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4f6c43
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
jmp 0x4f6bbd
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0x94
ret
movzx ebx, byte [esp + 0xb0]
test bl, bl
je 0x4f6d9c
mov ebp, 0xa
cmp al, 0x58
ja 0x4f6d89
cmp al, 0x42
jne 0x4f6d76
mov ebp, 2
mov dword [esp + 0x58], ebp
cmp ebp, 2
jne 0x4f6d5d
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x4f6d11
xor ebx, ebx
mov ebp, dword [esp + 0x58]
mov esi, ebx
mov ebx, dword [esp + 0xac]
jmp 0x4f6569
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
cmp ebp, 8
jne 0x4f6d66
xor ebx, ebx
jmp 0x4f6cff
cmp ebp, 0x10
je 0x4f6cd6
mov ebx, 1
jmp 0x4f6cff
cmp al, 0x58
jne 0x4f6cc9
mov ebp, 0x10
jmp 0x4f6cc9
cmp al, 0x62
je 0x4f6cc4
cmp al, 0x78
je 0x4f6d7f
jmp 0x4f6cc9
mov ebp, 8
jmp 0x4f6cb2
mov ebp, ebx
xor esi, esi
jmp 0x4f6569
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
add esp, 0x94
ret
movzx ecx, byte [esp + 0xb0]
test cl, cl
je 0x4f6e41
xor edx, edx
test dl, dl
jne 0x4f651f
test cl, cl
je 0x4f6e3d
cmp eax, 2
jne 0x4f6e29
mov edx, 1
test dl, dl
jne 0x4f651f
jmp 0x4f6e52
cmp eax, 0xa
jne 0x4f6e35
mov edx, 1
jmp 0x4f6e1f
cmp eax, 0x10
sete dl
jmp 0x4f6e1f
xor edx, edx
jmp 0x4f6e1f
cmp eax, 2
jl 0x4f6e4e
cmp eax, 0x3e
setle dl
jmp 0x4f6e09
xor edx, edx
jmp 0x4f6e09
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x7b3fe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004073d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x83e8c2]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b4c20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.004074b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004273c0
ud2
call fcn.0044b230
jmp fcn.004f64f0