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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4f7e6f
sub esp, 0x9c
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.004fb870
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
movzx ebx, byte [esp + 0x11]
test bl, bl
je 0x4f7df3
mov byte [esp + 0x42], al
mov dword [esp + 0x50], ecx
mov byte [esp + 0x43], dl
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f7a43
mov eax, dword [esp + 0x48]
lea ebp, [eax + 1]
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x68]
mov edi, edx
movzx edx, byte [esp + 0x43]
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0xa4]
cmp ebx, esi
jge 0x4f7c7d
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004f72f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
test edx, edx
jne 0x4f7c47
mov dword [esp + 0x68], ecx
cmp esi, 0x14
jg 0x4f7c11
cmp esi, 0xc
jne 0x4f7bfa
mov esi, 0x13
movzx ecx, byte [esp + 0x42]
test cl, cl
je 0x4f7b69
lea ebx, [ebp + eax]
cmp ebx, eax
jge 0x4f7b58
mov eax, 1
test al, al
je 0x4f7a2b
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x620191]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x12
lea eax, [0x65fa10]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00407420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
mov ebp, dword [esp + 0xa4]
cmp ebx, ebp
setg al
jmp 0x4f7ada
test edi, edi
jne 0x4f7b84
movzx edi, byte [esp + 0x43]
xchg edi, eax
cmp bl, al
xchg edi, eax
jne 0x4f7b84
mov ebx, dword [esp + 0x50]
cmp esi, ebx
je 0x4f7ac9
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x621633]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x15
lea eax, [0x65f9f0]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
cmp esi, 0x12
je 0x4f7ab7
cmp esi, 0x14
je 0x4f7ab7
jmp 0x4f7abc
cmp esi, 0x16
je 0x4f7ab7
lea ecx, [esi - 0x17]
cmp ecx, 1
ja 0x4f7c30
mov ecx, dword [esp + 0x68]
mov esi, 0x17
jmp 0x4f7abc
cmp esi, 0x1b
jne 0x4f7c3e
mov ecx, dword [esp + 0x68]
jmp 0x4f7ab7
mov ecx, dword [esp + 0x68]
jmp 0x4f7abc
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, 0x9c
ret
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
call fcn.0048ee90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
lea edi, [esp + 0x84]
mov ebx, eax
xor eax, eax
call fcn.0044b77a
lea eax, [esp + 0x1c]
mov dword [esp + 0x5c], eax
xor ecx, ecx
xor ebp, ebp
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x68]
jmp 0x4f7cfa
mov ebx, dword [esp + 0x4c]
inc ebx
mov ebp, ecx
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ecx, ebx
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jge 0x4f7dc5
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.0048d4c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x84]
call fcn.0044bc54
call fcn.004f7e80
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
test eax, eax
je 0x4f7ce1
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
add esp, 0x9c
ret
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], edi
add esp, 0x9c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x623260]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x19
lea eax, [0x65f9f0]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00407420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0x9c
ret
call fcn.00449f20
jmp fcn.004f79c0