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

Disassembly:
push 0xffffffffffffffff
push 0x4b51b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4db040]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
lea ecx, [esp + 0x44]
call fcn.0045a210
xor ebx, ebx
mov dword [esp + 0x68], ebx
cmp dword [eax + 0x18], 0x10
jb 0x490b7b
mov edi, dword [eax + 4]
jmp 0x490b7e
lea edi, [eax + 4]
push ebx
push ebx
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx + 0x30]
push ebx
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c9a6c
mov ecx, esi
call eax
cmp edi, ebx
je 0x490bb5
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push ebx
push edi
mov ecx, esi
call eax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], esi
call fcn.004a20be
cmp eax, ebx
je 0x490bd1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x490bf1
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0x70]
mov ax, word [edx + 4]
lea ecx, [esp + 0x28]
call fcn.0045a230
mov dword [esp + 0x68], 1
cmp dword [eax + 0x18], esi
jb 0x490c14
mov edi, dword [eax + 4]
jmp 0x490c17
lea edi, [eax + 4]
push ebx
push ebx
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push ebx
push esi
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4c9bec
mov ecx, esi
call edx
cmp edi, ebx
je 0x490c4e
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push ebx
push edi
mov ecx, esi
call edx
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], esi
call fcn.004a20be
cmp eax, ebx
je 0x490c6a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x40], 0x10
jb 0x490c7e
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a21e6
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x70]
add ebx, 8
mov dword [esp + 0x68], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0x10
mov edx, dword [esp + 0x70]
movzx eax, word [edx + 4]
sub eax, 1
je 0x490d77
sub eax, 1
je 0x490d24
sub eax, 1
jne 0x490dc9
push eax
push eax
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4c9c18
mov ecx, esi
call edx
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004a20be
test eax, eax
je 0x490d12
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
call fcn.00490710
jmp 0x490dc9
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx + 0x30]
push 0
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c9c08
mov ecx, esi
call eax
push esi
lea ecx, [esp + 0x78]
push ecx
call fcn.004a20be
test eax, eax
je 0x490d67
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004a1090
jmp 0x490dc6
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx + 0x30]
push 0
push esi
mov ecx, ebp
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4c9bfc
mov ecx, esi
call eax
push esi
lea ecx, [esp + 0x78]
push ecx
call fcn.004a20be
test eax, eax
je 0x490dba
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.004a0b80
add esp, 4
add dword [esp + 0x18], 0x46c
add dword [esp + 0x1c], 0x18c
add ebx, 0xac
sub dword [esp + 0x20], 1
jne 0x490cb2
push 0
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x70], 0xffffffff
call fcn.004a20be
test eax, eax
je 0x490e0b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret