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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [ebp - 8], eax
mov ecx, 0x42e984
mov edi, dword [esi]
cmp byte [edi + 0xb1], 0
je 0x490e6d
cmp dword [edi + 0xac], 1
jne 0x490e6d
movzx eax, byte [edi + 0xb0]
mov edx, 0x42e790
cmp eax, 1
mov dword [ebp - 4], eax
cmove edx, ecx
mov ecx, edi
call fcn.00459993
mov ebx, eax
lea eax, [esi + 0xd8]
mov dword [ebp - 0xc], eax
jmp 0x490ee8
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.00490bd2
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
js 0x491005
cmp dword [ebp + 0xc], 0
je 0x490eb3
cmp dword [ebx + 4], 0
jbe 0x490eac
cmp eax, 1
je 0x490eac
push 0x4300ac
push esi
call fcn.0045c6d7
pop ecx
pop ecx
jmp 0x491005
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov edx, eax
mov dword [ebp - 8], eax
call fcn.00490af1
lea edx, [esi + 0xd8]
mov ebx, eax
cmp byte [edx], 2
mov dword [ebp - 0xc], edx
jb 0x490ee8
push dword [ebp - 8]
mov edx, ebx
mov ecx, esi
call fcn.0048bfc3
lea edx, [esi + 0xd8]
pop ecx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], ecx
test ebx, ebx
je 0x491005
cmp dword [ebp + 0x10], 0
mov ecx, 0x42f394
mov eax, 0x42fa08
mov edx, ebx
cmove eax, ecx
mov ecx, esi
push ebx
push eax
call fcn.00490c4c
pop ecx
pop ecx
test eax, eax
jne 0x490ff8
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, dword [edi + 0x10]
inc edx
cmp byte [edi + 0xb0], dl
cmovne edx, dword [ebp + 0xc]
shl ecx, 4
cmp edx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + eax]
mov ecx, 0x42e984
push eax
mov dword [ebp - 0x14], eax
mov eax, 0x42e790
push 0
cmove eax, ecx
mov ecx, esi
push eax
push 0x12
pop edx
call fcn.0048fcdf
add esp, 0xc
test eax, eax
jne 0x490ff8
cmp dword [ebp + 0x14], eax
jne 0x490f9b
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x18]
push ebx
movzx edx, byte [eax + ecx*2 + 0x425ce8]
mov ecx, esi
call fcn.0048fcdf
add esp, 0xc
test eax, eax
jne 0x490ff8
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x491047
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax]
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.004a2b84
test eax, eax
jne 0x490ff8
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, edi
call fcn.004901ec
pop ecx
test eax, eax
je 0x491025
cmp dword [ebp + 0x18], 0
jne 0x49100a
cmp byte [eax + 0x2b], 2
mov ecx, 0x42f394
push dword [ebp - 8]
mov eax, 0x42fa08
cmovne eax, ecx
push eax
push 0x4300d8
push esi
call fcn.0045c6d7
add esp, 0x10
mov edx, ebx
mov byte [esi + 0x11], 1
mov ecx, edi
call fcn.004594d9
pop edi
pop esi
pop ebx
leave
ret
cmp dword [esi + 0x78], 0
mov ecx, esi
mov edx, dword [ebp - 4]
cmovne ecx, dword [esi + 0x78]
call fcn.0049552b
mov ecx, esi
call fcn.00490de7
jmp 0x490ff8
push dword [ebp - 0xc]
mov edx, ebx
mov ecx, edi
call fcn.00490552
pop ecx
test eax, eax
je 0x491047
push ebx
push 0x4300f0
push esi
call fcn.0045c6d7
add esp, 0xc
jmp 0x490ff8
push 0
push 0x40
mov ecx, edi
call fcn.0045975d
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x491066
inc dword [esi + 0x24]
mov dword [esi + 0xc], 7
jmp 0x490ff8
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov word [ecx + 0x20], ax
mov dword [ecx], ebx
mov eax, dword [edi + 0x10]
mov eax, dword [eax + edx + 0xc]
mov dword [ecx + 0x3c], eax
mov eax, 0xc8
mov dword [ecx + 0x18], 1
mov word [ecx + 0x26], ax
mov dword [esi + 0xf4], ecx
cmp byte [edi + 0xb1], 0
jne 0x491005
mov ecx, esi
call fcn.004a5717
mov ebx, eax
test ebx, ebx
je 0x491005
push dword [ebp - 4]
xor edx, edx
mov ecx, esi
inc edx
call fcn.004955b2
cmp dword [ebp + 0x14], 0
pop ecx
je 0x4910d8
xor eax, eax
mov edx, 0xaa
push eax
push eax
push eax
mov ecx, ebx
call fcn.004746eb
add esp, 0xc
mov eax, dword [esi + 0x2c]
mov ecx, ebx
inc eax
mov dword [ebp - 0xc], eax
mov dword [esi + 0x5c], eax
inc eax
push 2
mov dword [esi + 0x60], eax
inc eax
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push 0x63
pop edx
mov dword [esi + 0x2c], eax
call fcn.004746eb
mov edx, dword [ebp - 4]
add esp, 0xc
mov ecx, ebx
call fcn.00475211
push 0
push 0
push dword [ebp - 0x10]
mov ecx, ebx
push 0x10
pop edx
call fcn.004746eb
mov ecx, dword [edi + 0x20]
add esp, 0xc
and ecx, 2
mov dword [ebp - 0x18], eax
or ecx, 0
je 0x491131
xor eax, eax
inc eax
jmp 0x491134
push 4
pop eax
push eax
push 2
push dword [ebp - 4]
mov ecx, ebx
push 0x64
pop edx
call fcn.004746eb
movzx eax, byte [edi + 0x54]
add esp, 0xc
mov edi, dword [ebp - 4]
mov ecx, ebx
push eax
push 5
push edi
push 0x64
pop edx
call fcn.004746eb
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, ebx
call fcn.00474f68
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 8], ecx
jne 0x491197
cmp dword [ebp + 0x14], 0
jne 0x491197
mov eax, dword [ebp - 0xc]
mov edx, 0x93
push 1
inc eax
mov ecx, ebx
push eax
push edi
call fcn.004746eb
mov dword [esi + 0x88], eax
jmp 0x4911aa
mov eax, dword [ebp - 0xc]
mov ecx, ebx
push 0
inc eax
push eax
push 0
push 0x47
pop edx
call fcn.004746eb
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00490b13
mov edi, dword [ebp - 0xc]
xor esi, esi
push esi
push edi
push esi
push 0x7f
pop edx
mov ecx, ebx
call fcn.004746eb
add esp, 0xc
mov ecx, ebx
push esi
mov esi, dword [ebp - 0x10]
push esi
push 6
push 0x4d
pop edx
call fcn.004746eb
add esp, 0xc
mov edx, eax
mov ecx, ebx
push 0xffffffffffffffff
push 0x424570
call fcn.00474eab
push edi
push esi
xor esi, esi
mov edx, 0x80
push esi
mov ecx, ebx
call fcn.004746eb
add esp, 0x14
mov ecx, ebx
push 8
pop edx
call fcn.00474c95
push esi
push esi
push esi
push 0x7a
pop edx
call fcn.004746eb
add esp, 0xc
jmp 0x491005