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

Disassembly:
push 0xffffffffffffffff
push 0x5888c4
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67d978]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xfc]
push 1
lea eax, [esp + 0x28]
xor esi, esi
push eax
mov dword [esp + 0x24], esi
call fcn.004e4c70
lea edx, [esp + 0x24]
mov eax, ebp
call fcn.004f94a0
lea ecx, [esp + 0x24]
mov bl, al
call fcn.0046ae2f
test bl, bl
jne 0x4fa483
cmp dword [ebp + 8], esi
jbe 0x4f9f73
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
and cl, 1
jne 0x4f9f9c
push 2
lea edx, [esp + 0x28]
push edx
call fcn.004e4c70
lea edx, [esp + 0x24]
mov eax, ebp
call fcn.004d7960
lea ecx, [esp + 0x24]
mov bl, al
call fcn.0046ae2f
mov al, bl
jmp 0x4fa485
push 3
lea eax, [esp + 0x64]
push eax
call fcn.004e4c70
push 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xf8], esi
push ecx
mov dword [esp + 0x24], esi
call fcn.004e4c70
lea esi, [esp + 0x24]
lea eax, [esp + 0x60]
mov byte [esp + 0xf4], 1
call fcn.004d7910
mov edi, eax
lea eax, [esp + 0x4c]
lea esi, [esp + 0x38]
mov byte [esp + 0xf4], 2
call fcn.004d7ac0
push eax
mov ecx, ebp
mov byte [esp + 0xf8], 3
call fcn.004fbaa0
mov esi, eax
add esp, 4
cmp esi, 1
lea ecx, [esp + 0x38]
sete bl
mov byte [esp + 0xf4], 2
call fcn.0046ae2f
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 1
call fcn.0046ae2f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf4], 0
call fcn.0046ae2f
test bl, bl
je 0x4fa102
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 0x40
mov dword [esp + 0x1c], eax
jne 0x4fa060
mov edi, ebp
call fcn.004e7680
test al, al
jne 0x4fa46f
lea edx, [esp + 0x60]
push edx
call fcn.004e6430
lea eax, [esp + 0x60]
push eax
call fcn.004e6430
push 4
lea ecx, [esp + 0x50]
push ecx
call fcn.004e4c70
lea esi, [esp + 0x24]
lea eax, [esp + 0x60]
mov byte [esp + 0xf4], 1
call fcn.004d7910
mov edi, eax
lea eax, [esp + 0x4c]
lea esi, [esp + 0x38]
mov byte [esp + 0xf4], 2
call fcn.004d7ac0
push eax
mov ecx, ebp
mov byte [esp + 0xf8], 3
call fcn.004fbaa0
mov esi, eax
add esp, 4
cmp esi, 1
lea ecx, [esp + 0x38]
sete bl
mov byte [esp + 0xf4], 2
call fcn.0046ae2f
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 1
call fcn.0046ae2f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xf4], 0
call fcn.0046ae2f
test bl, bl
jne 0x4fa041
test esi, esi
je 0x4fa46f
push 1
lea edx, [esp + 0x28]
push edx
call fcn.004e4c70
lea eax, [esp + 0x24]
mov edi, ebp
lea esi, [esp + 0x88]
mov byte [esp + 0xf4], 4
call fcn.004d7aa0
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 6
call fcn.0046ae2f
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
xor esi, esi
mov eax, esi
shr eax, 5
cmp eax, edi
jae 0x4fa168
mov eax, dword [edx + eax*4]
mov ecx, esi
and ecx, 0x1f
shr eax, cl
and al, 1
jne 0x4fa16d
add esi, 1
jmp 0x4fa151
push esi
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x2c], esi
call fcn.004d77d0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, ebp
mov byte [esp + 0x100], 7
call fcn.004fbc70
add esp, 0xc
push 2
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xfc], 8
call fcn.004e4c70
mov byte [esp + 0xf4], 9
mov ebx, 1
lea edx, [esp + 0x4c]
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], ebx
call fcn.004d7960
test al, al
jne 0x4fa22f
push 2
lea ecx, [esp + 0x3c]
push ecx
call fcn.004e4c70
mov dword [esp + 0xf4], 0xa
lea eax, [esp + 0x38]
mov edi, ebp
lea esi, [esp + 0xb0]
mov dword [esp + 0x1c], 3
call fcn.004d7ac0
mov edx, eax
lea eax, [esp + 0x74]
mov ebx, 7
call fcn.004d7960
test al, al
mov esi, dword [esp + 0x20]
mov byte [esp + 0x1b], 0
je 0x4fa234
mov byte [esp + 0x1b], 1
test bl, 4
je 0x4fa24c
and ebx, 0xfffffffb
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1c], ebx
call fcn.0046ae2f
test bl, 2
mov dword [esp + 0xf4], 9
je 0x4fa26c
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.0046ae2f
test bl, 1
mov dword [esp + 0xf4], 8
je 0x4fa285
lea ecx, [esp + 0x4c]
call fcn.0046ae2f
cmp byte [esp + 0x1b], 0
je 0x4fa2e0
lea ecx, [esp + 0x74]
mov byte [esp + 0xf4], 7
call fcn.0046ae2f
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf4], 6
call fcn.0046ae2f
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 0
call fcn.0046ae2f
lea ecx, [esp + 0x60]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0046ae2f
mov al, 1
jmp 0x4fa485
cmp esi, 1
mov dword [esp + 0x1c], 1
jbe 0x4fa436
push 2
lea edx, [esp + 0x3c]
push edx
call fcn.004e4c70
lea esi, [esp + 0xc4]
lea eax, [esp + 0x74]
mov byte [esp + 0xf4], 0xb
call fcn.004d7910
mov edi, eax
lea eax, [esp + 0x38]
lea esi, [esp + 0xd8]
mov byte [esp + 0xf4], 0xc
call fcn.004d7ac0
mov ecx, eax
mov eax, ebp
lea esi, [esp + 0xb0]
mov byte [esp + 0xf4], 0xd
call fcn.004d7b20
push eax
lea esi, [esp + 0x78]
mov byte [esp + 0xf8], 0xe
call fcn.004e4e60
lea ecx, [esp + 0xb0]
mov byte [esp + 0xf4], 0xd
call fcn.0046ae2f
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf4], 0xc
call fcn.0046ae2f
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf4], 0xb
call fcn.0046ae2f
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 8
call fcn.0046ae2f
push 2
lea eax, [esp + 0x3c]
push eax
call fcn.004e4c70
lea eax, [esp + 0x38]
mov edi, ebp
lea esi, [esp + 0xc4]
mov byte [esp + 0xf4], 0xf
call fcn.004d7ac0
mov edx, eax
lea eax, [esp + 0x74]
call fcn.004d7960
mov ecx, esi
mov bl, al
call fcn.0046ae2f
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 8
call fcn.0046ae2f
test bl, bl
jne 0x4fa28c
push 2
lea ecx, [esp + 0x50]
push ecx
call fcn.004e4c70
lea edx, [esp + 0x4c]
lea eax, [esp + 0x74]
call fcn.004d7960
lea ecx, [esp + 0x4c]
mov bl, al
call fcn.0046ae2f
test bl, bl
jne 0x4fa436
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jb 0x4fa2f1
lea ecx, [esp + 0x74]
mov byte [esp + 0xf4], 7
call fcn.0046ae2f
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf4], 6
call fcn.0046ae2f
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 0
call fcn.0046ae2f
lea ecx, [esp + 0x60]
mov dword [esp + 0xf4], 0xffffffff
call fcn.0046ae2f
xor al, al
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret