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

Disassembly:
push 0xffffffffffffffff
push 0x5d60cf
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 4]
xor ebx, ebx
push ebx
mov byte [esp + 0x1b], 1
call fcn.00473570
mov esi, eax
cmp esi, ebx
jne 0x4c9a67
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
push 0x5f9378
lea ecx, [esp + 0x20]
call fcn.0048cd50
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x88], ebx
call fcn.004b7af0
or edi, 0xffffffff
cmp dword [esp + 0x38], 0x10
mov ebp, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x1c], 0x5f1558
jb 0x4c9ab0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004274fc
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x1c], 0x5f13d0
je 0x4c9a51
push str.BaseState
lea ecx, [esp + 0x40]
call fcn.0048cd50
lea edx, [esp + 0x3c]
push edx
mov ecx, ebp
mov dword [esp + 0x88], 1
call fcn.004b7a60
cmp dword [esp + 0x58], 0x10
mov esi, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], 0x5f1558
jb 0x4c9b16
mov eax, dword [esp + 0x44]
push eax
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0x3c], 0x5f13d0
je 0x4c9b4f
push 0x5f9388
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x4c9b4f
mov byte [esp + 0x17], bl
push 0x5f938c
lea ecx, [esp + 0x40]
call fcn.0048cd50
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
mov dword [esp + 0x88], 2
call fcn.004b7ac0
cmp dword [esp + 0x58], 0x10
mov esi, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x3c], 0x5f1558
jb 0x4c9b99
mov edx, dword [esp + 0x44]
push edx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov dword [esp + 0x3c], 0x5f13d0
je 0x4c9be5
mov ecx, esi
xor edi, edi
call fcn.004b5810
test eax, eax
jbe 0x4c9be5
push edi
mov ecx, esi
call fcn.004b5830
cmp dword [esp + 0x18], eax
je 0x4c9be0
mov ecx, esi
add edi, 1
call fcn.004b5810
cmp edi, eax
jb 0x4c9bc2
jmp 0x4c9be5
mov byte [esp + 0x17], 1
push 0x5f9390
lea ecx, [esp + 0x60]
call fcn.0048cd50
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
mov dword [esp + 0x88], 3
call fcn.004b7ac0
cmp dword [esp + 0x78], 0x10
mov esi, eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x5c], 0x5f1558
jb 0x4c9c33
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004274fc
add esp, 4
cmp esi, ebx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
mov dword [esp + 0x5c], 0x5f13d0
je 0x4c9c82
mov ecx, esi
xor edi, edi
call fcn.004b5810
test eax, eax
jbe 0x4c9c82
lea esp, [esp]
push edi
mov ecx, esi
call fcn.004b5830
cmp dword [esp + 0x18], eax
je 0x4c9c7e
mov ecx, esi
add edi, 1
call fcn.004b5810
cmp edi, eax
jb 0x4c9c60
jmp 0x4c9c82
mov byte [esp + 0x17], bl
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret