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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi]
mov al, byte [esi + 0x9b]
mov byte [ebp - 1], al
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x490ed2
cmp byte [ebx + 0x2b], 0
jne 0x490ed2
mov edx, dword [ebx + 0x3c]
call fcn.00499367
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov edi, dword [ebx + 0x30]
add edx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + edx*8]
mov dword [ebp - 0x24], eax
jmp 0x490d69
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], ecx
je 0x490b66
mov ecx, dword [ebx]
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x490b3b
neg eax
sbb eax, eax
jmp 0x490b46
test eax, eax
je 0x490b4a
mov edx, eax
call fcn.00453ce5
test eax, eax
je 0x490b63
push dword [ebp + 0x14]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.004909e9
pop ecx
pop ecx
test eax, eax
je 0x490d63
mov eax, dword [ebp - 0x24]
cmp byte [esi + 0x9b], 0
push eax
je 0x490b7d
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0xc]
call fcn.00486c06
jmp 0x490b8a
push dword [edi + 8]
xor edx, edx
mov ecx, esi
call fcn.00486e06
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
je 0x490cd7
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push edi
call fcn.0048ff0b
add esp, 0xc
test eax, eax
jne 0x490cd7
cmp dword [ebp - 0x10], eax
je 0x490bbc
mov edx, dword [ebp - 0x10]
jmp 0x490bc5
mov eax, dword [edi + 0x24]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
cmp dword [edi + 0x14], ecx
jle 0x490c35
mov eax, dword [ebp - 8]
movsx eax, word [eax + 0x20]
cmp dword [edx + ecx*4], eax
jne 0x490be2
or dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x16c], 0
je 0x490c2c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x490bfe
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x490c02
movzx eax, word [ebx + 0x20]
push dword [ebp - 0x1c]
mov edx, dword [ebx]
movsx ecx, ax
mov eax, dword [ebx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, esi
call fcn.004865be
mov edx, dword [ebp - 0x14]
sub eax, 2
neg eax
pop ecx
sbb eax, eax
pop ecx
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x20], eax
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0x14]
jl 0x490bd2
push dword [ebx]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push 0
push dword [ebx + 0x14]
call fcn.00486842
mov eax, dword [ebp + 8]
add esp, 0xc
inc dword [esi + 0x28]
test eax, eax
je 0x490c6e
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
push ebx
call fcn.004900ff
add esp, 0x1c
cmp dword [ebp + 0xc], 0
je 0x490cbd
cmp dword [esi + 0x78], 0
mov eax, esi
cmovne eax, dword [esi + 0x78]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x490ca0
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x490c95
cmp byte [edi + 0x19], 8
je 0x490cbd
cmp eax, dword [edi + 0x20]
jne 0x490ca0
cmp byte [edi + 0x1a], 8
je 0x490cbd
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
push ebx
call fcn.004900ff
add esp, 0x1c
cmp dword [ebp - 0x10], 0
je 0x490d60
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call fcn.00450d17
jmp 0x490d60
cmp byte [ebp - 1], 0
je 0x490ed2
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x57], 0
jne 0x490ed2
test ebx, ebx
jne 0x490d60
mov ecx, esi
call fcn.0049bbde
mov edx, dword [edi + 0x14]
mov ebx, eax
and dword [ebp - 0x28], 0
lea eax, [edx + 1]
add eax, dword [ebx + 0x6c]
mov dword [ebp - 0x20], eax
test edx, edx
jle 0x490d48
lea esi, [edi + 0x24]
mov dx, word [esi]
mov ecx, dword [edi]
call fcn.0048780b
mov ecx, dword [ebp + 8]
push 0
push dword [ebp - 0x20]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.0046b9a1
mov eax, dword [ebp - 0x28]
lea esi, [esi + 8]
add esp, 0xc
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edi + 0x14]
jl 0x490d12
mov esi, dword [ebp - 0x30]
movzx eax, byte [edi + 0x18]
mov edx, 0x9e
push 0
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.0046b9a1
add esp, 0xc
mov ebx, dword [ebp - 8]
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x24]
test edi, edi
jne 0x490b1c
mov ecx, ebx
call fcn.00490814
mov edi, eax
jmp 0x490eca
and dword [ebp - 0x24], 0
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x490da6
push dword [ebp + 0x14]
mov edx, edi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.00490a2a
pop ecx
pop ecx
test eax, eax
je 0x490ec7
cmp byte [edi + 0x18], 0
jne 0x490dca
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x490dca
cmp dword [esi + 0x78], eax
jne 0x490dca
cmp byte [esi + 0x14], al
je 0x490ec7
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
push edi
call fcn.0048ff0b
add esp, 0xc
test eax, eax
je 0x490dff
cmp byte [ebp - 1], 0
je 0x490ed2
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x57], 0
jne 0x490ed2
jmp 0x490ec7
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.0048b8a0
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x490eb1
mov edx, dword [edi]
mov dword [ebx + 0x18], edx
mov ecx, dword [edi]
mov ecx, dword [ecx]
mov dword [ebx + 0x10], ecx
inc dword [edx + 0x18]
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x34], eax
inc dword [esi + 0x28]
cmp dword [ebp + 0xc], 0
je 0x490e51
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, esi
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.00490503
add esp, 0x18
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x490e9f
push 1
push ecx
push dword [ebp - 0x10]
xor eax, eax
mov edx, ebx
cmp dword [ebp + 0x10], eax
mov ecx, esi
push edi
push dword [ebp - 0x24]
setne al
push dword [ebp - 8]
mov al, byte [eax + edi + 0x19]
mov byte [ebp - 2], al
call fcn.00490503
add esp, 0x18
cmp byte [edi + 0x18], 0
jne 0x490e9f
mov al, byte [ebp - 2]
cmp al, 0xa
je 0x490e9f
cmp al, 8
je 0x490e9f
cmp dword [esi + 0x78], 0
mov eax, esi
cmovne eax, dword [esi + 0x78]
mov byte [eax + 0x15], 1
and dword [ebx + 0x10], 0
mov edx, ebx
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0048b9a3
jmp 0x490eb4
mov ebx, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
je 0x490ec4
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00450d17
mov ebx, dword [ebp - 8]
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x490d7f
pop edi
pop esi
pop ebx
leave
ret