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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4f72c8
sub esp, 0x88
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x505c30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
test byte [eax], al
mov dword [esp], eax
lea ecx, [esp + 0x80]
mov dword [esp + 4], ecx
call fcn.004914a0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x7c], esi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
test edx, edx
je 0x4f6fe5
test ebx, ebx
je 0x4f6fdf
lea ecx, [0x610cfc]
cmp ecx, eax
jne 0x4f6fd9
mov dword [esp + 0x78], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x4c], ebx
nop
lea eax, [0x5b14c0]
mov dword [esp], eax
call fcn.0040b910
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov eax, dword [0x71e9f0]
test eax, eax
jne 0x4f6fce
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 8], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4f6fb8
mov eax, dword [esp + 0x6c]
mov dword [edi + 0xc], eax
lea eax, [0x610ae0]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
add esp, 0x88
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.0045e220
mov edi, edx
jmp 0x4f6f92
mov eax, dword [esp + 0x78]
call fcn.0045e220
jmp 0x4f6f7a
mov eax, edx
mov edi, ebp
jmp 0x4f6f98
mov eax, edx
mov edi, ebp
jmp 0x4f6f98
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x134]
mov dword [esp + 0x48], edx
mov ebx, dword [eax + 0x138]
mov dword [esp + 0x34], ebx
mov ebp, dword [eax + 0x140]
mov dword [esp + 0x5c], ebp
mov esi, dword [eax + 0x144]
mov dword [esp + 0x40], esi
cmp ebx, 2
je 0x4f72b9
cmp ebx, 3
setne al
mov byte [esp + 0x2f], al
lea ecx, [0x5bfc00]
mov dword [esp], ecx
call fcn.0040b910
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, 1
sete dl
mov byte [eax + 0x12d], dl
movzx edx, byte [esp + 0x2f]
mov byte [eax + 0x12e], dl
mov edx, dword [esp + 0x48]
mov dword [eax + 0x134], edx
mov dword [eax + 0x138], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x144], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4f72a1
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x140], ecx
mov dword [esp + 0x58], eax
mov dword [esp], eax
call fcn.004f6410
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4f7262
mov dword [esp + 0x64], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jbe 0x4f72c0
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0046f640
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0046c2b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x60], edx
mov dword [esp], eax
call fcn.0046c2b0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x58]
mov dword [esp], edx
call fcn.005008f0
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x58]
mov dword [esp], edx
call fcn.005008f0
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x148], edx
mov edx, dword [0x71e9f0]
test edx, edx
jne 0x4f724a
mov edx, dword [esp + 0x68]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x71e9f0]
test ecx, ecx
jne 0x4f723d
mov dword [ebx + 0x154], eax
lea eax, [0x5c9e20]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x5a2fa0]
mov dword [esp + 8], eax
lea eax, [0x5df034]
mov dword [esp + 0xc], eax
call fcn.004151b0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x88
ret
lea edi, [ebx + 0x154]
call fcn.0045e220
jmp 0x4f71ef
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x68]
call fcn.0045e220
mov eax, edx
jmp 0x4f71d9
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.004f6180
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
add esp, 0x88
ret
lea edi, [eax + 0x140]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045e220
mov eax, ecx
jmp 0x4f7095
xor eax, eax
jmp 0x4f702b
xor eax, eax
call fcn.0045e2a0
nop
call fcn.0045ccc0
jmp fcn.004f6e90