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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4f9c86
sub esp, 0xb4
mov eax, 0
mov dword [esp + 0xb0], eax
mov byte [esp + 0x33], 0
mov byte [esp + 0xcc], 0
mov eax, dword [esp + 0xb8]
test byte [eax], al
mov dword [esp], eax
call fcn.00474c10
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x4f9c90]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x94]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x33], 1
call fcn.0048dcb0
lea edi, [esp + 0x3c]
lea esi, [esp]
call fcn.0046c56e
movzx eax, byte [esp + 0xc8]
test al, al
je 0x4f997d
xor eax, eax
jmp 0x4f99f5
mov eax, dword [esp + 0xb8]
lea ecx, [eax + 0x18]
mov dword [esp + 0x7c], ecx
lea edi, [esp]
lea esi, [esp + 0x3c]
call fcn.0046c56e
mov dword [esp + 0x14], 0x7b8a800
mov dword [esp + 0x18], 0xfffffff2
call fcn.0048d1b0
lea edi, [esp + 0x9c]
lea esi, [esp + 0x1c]
call fcn.0046c56e
lea edi, [esp + 0x80]
mov esi, dword [esp + 0x7c]
call fcn.0046c56e
lea edi, [esp]
lea esi, [esp + 0x80]
call fcn.0046c56e
lea edi, [esp + 0x14]
lea esi, [esp + 0x9c]
call fcn.0046c56e
call fcn.0048bf90
movzx eax, byte [esp + 0x28]
test al, al
jne 0x4f9b3e
mov eax, dword [0x7da640]
mov ecx, dword [esp + 0xb8]
lea edi, [ecx + 0x18]
test eax, eax
je 0x4f9a3a
mov dword [esp + 0x7c], edi
lea eax, [0x606ce0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.00412350
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x3c]
call fcn.0046c56e
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x4f9a59
mov ecx, eax
mov eax, dword [esp + 0xbc]
jmp 0x4f9a79
mov dword [esp], 0
call fcn.004fa350
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f9b1f
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], eax
lea edx, [0x5df780]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.0040dc70
mov eax, dword [0x7da640]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4f9ab2
mov eax, dword [esp + 0xb8]
jmp 0x4f9ac6
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [esp + 0xb8]
mov edx, dword [eax + 0x2c]
mov dword [edi + 4], edx
mov dword [eax + 0x2c], ecx
lea ecx, [0x5dfc00]
mov dword [esp], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.0040dc70
mov eax, dword [0x7da640]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x4f9afe
mov eax, dword [esp + 0xb8]
jmp 0x4f9b12
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [esp + 0xb8]
mov ebx, dword [eax + 0x30]
mov dword [edi + 4], ebx
mov dword [eax + 0x30], ecx
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
jmp 0x4f9b72
mov byte [esp + 0xcc], 0
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov byte [esp + 0xcc], 0
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov ebp, dword [esp + 0x74]
lea ebx, [ebp + 0x20]
mov ebp, dword [esp + 0x38]
lea ecx, [ebp - 1]
mov eax, dword [esp + 0xb8]
test ecx, ecx
jle 0x4f9c5b
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], ebx
lea edi, [esp + 0x50]
mov esi, ebx
call fcn.0046c550
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x34], esi
lea ebx, [0x5df780]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.004118a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x50]
lea ebx, [0x5dfc00]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040fc80
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4f9b5d
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x70], ebp
lea esi, [0x5dfc00]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040fdd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x4f9c44
mov ecx, dword [esp + 0x70]
jmp 0x4f9c54
call fcn.0046be80
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], ecx
jmp 0x4f9b5d
mov byte [esp + 0xcc], 1
mov byte [esp + 0x33], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
call fcn.0046aa70
jmp fcn.004f98d0