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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f5528
sub esp, 0x60
mov eax, dword [esp + 0x64]
cmp eax, 2
jne 0x4f518c
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4f517f
mov eax, dword [0x76b194]
mov ecx, dword [0x76b190]
mov edx, dword [0x76b198]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004f11f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x4f50ad
lea edx, [0x626b40]
mov dword [esp], edx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
test byte [eax], al
lea ecx, [eax + 4]
test byte [ecx], al
mov edx, dword [esp + 0x2c]
cmp edx, 4
jge 0x4f50a6
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044a7d0
lea eax, [0x7420a0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov edx, 4
jmp 0x4f5060
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f12d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
lea edx, [0x61d0c0]
mov dword [esp], edx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x10
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x4f5167
lea ecx, [0x64e89c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4f5151
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x741ca0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f5123
mov dword [esp], eax
lea ecx, [0x64e89c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f5108
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
jmp 0x4f5004
cmp eax, 0x17
jne 0x4f5456
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x4f5402
mov eax, dword [0x766b88]
mov ecx, dword [0x766b84]
mov edx, dword [0x766b80]
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp ecx, 4
jne 0x4f53eb
movzx ebx, byte [edx + 1]
mov byte [esp + 0x1e], bl
movzx ebp, byte [edx + 2]
xchg ebp, eax
mov byte [esp + 0x1d], al
xchg ebp, eax
movzx esi, byte [edx + 3]
xchg esi, eax
mov byte [esp + 0x1c], al
xchg esi, eax
movzx edi, byte [edx]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [0x766ba4]
mov ecx, dword [0x766ba0]
cmp eax, 0x10
jge 0x4f53e1
lea edx, [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044a7d0
movzx eax, byte [esp + 0x1f]
mov byte [esp + 0x40], al
movzx eax, byte [esp + 0x1e]
mov byte [esp + 0x41], al
movzx eax, byte [esp + 0x1d]
mov byte [esp + 0x42], al
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x43], al
mov eax, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], ecx
test ecx, ecx
je 0x4f530f
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.004f05f0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
lea ecx, [0x62a540]
mov dword [esp], ecx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
test byte [eax], al
lea ecx, [eax + 8]
test byte [ecx], al
mov edx, dword [esp + 0x28]
cmp edx, 0x10
jge 0x4f5308
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044a7d0
lea eax, [0x7420c0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov edx, 0x10
jmp 0x4f52c2
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.004f12d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
lea edx, [0x61d0c0]
mov dword [esp], edx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x10
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x4f53c9
lea ecx, [0x64e8ac]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4f53b3
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x741ca0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f5385
mov dword [esp], eax
lea ecx, [0x64e8ac]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f536a
mov eax, 0x10
jmp 0x4f5222
cmp ecx, 0x10
jne 0x4f53f9
mov eax, ecx
mov ecx, edx
jmp 0x4f5263
xor eax, eax
xor ecx, ecx
jmp 0x4f5263
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov ebx, dword [0x76b198]
mov ebp, dword [0x76b194]
mov esi, dword [0x76b190]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004f1c20
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4f51a1
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
jmp 0x4f51b3
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call fcn.004f12d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
lea edx, [0x61d0c0]
mov dword [esp], edx
call fcn.0040cd50
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov dword [eax + 4], 0x16
mov ecx, dword [0x77c810]
test ecx, ecx
jne 0x4f5510
lea ecx, [0x650ea6]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x77c810]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4f54fa
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x741ca0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f54cc
mov dword [esp], eax
lea ecx, [0x650ea6]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x58]
jmp 0x4f54b1
call fcn.00448420
jmp fcn.004f4fc0