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

Disassembly:
push ecx
and ecx, 0x5d26
call fcn.00418621
add byte [ecx + 0x49], al
inc eax
dec ecx
inc eax
cmp byte [eax - 0x7d], dl
add esp, 4
add ecx, 0xd41e
add esp, 4
add ecx, 0xd41e
pop ecx
push edi
or edi, 0x649e
pop edi
push edx
push edx
add esp, 4
and edx, 0x10ae1
pop edx
lea eax, [ebp - 0x178c]
mov dword [ebp - 0xccc], eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc8], edx
xor eax, eax
mov word [ebp - 0x21c], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push edi
sub edi, 0x6de7
add edi, 0x18121
call 0x418683
add byte [esi + 0x3a], al
cmp dword ds:[esi], edi
cmp eax, 0x4c4834f
xor edi, 0xff04
pop edi
push eax
add eax, 0x142b4
jmp 0x41869a
pop eax
mov edx, dword [ebp - 0xcc8]
mov ax, word [edx]
mov word [ebp - 0x1042], ax
mov ecx, dword [ebp - 0xcc8]
add ecx, 2
mov dword [ebp - 0xcc8], ecx
mov dx, word [ebp - 0x1042]
mov word [ebp - 0x21c], dx
mov eax, dword [ebp - 0xccc]
mov cx, word [eax]
mov word [ebp - 0x1044], cx
mov edx, dword [ebp - 0xccc]
add edx, 2
mov dword [ebp - 0xccc], edx
mov ax, word [ebp - 0x1044]
mov word [ebp - 0x3c], ax
push esi
push ecx
add esp, 4
xor esi, 0x14a2b
pop esi
push esi
xor esi, 0xf2de
pop esi
push eax
push eax
add esp, 4
and eax, 0x6036
pop eax
push edx
push edx
add esp, 4
add edx, 0x1141b
add edx, 0x31c7
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x418741
movzx edx, word [ebp - 0x21c]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1620], edx
jmp 0x41879b
movzx ecx, word [ebp - 0x21c]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x418669
movzx eax, word [ebp - 0x21c]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x418669
movzx edx, word [ebp - 0x21c]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x418785
mov dword [ebp - 0x161c], 0xffffffff
jmp 0x41878f
mov dword [ebp - 0x161c], 1
mov ecx, dword [ebp - 0x161c]
mov dword [ebp - 0x1620], ecx
cmp dword [ebp - 0x1620], 0
jne 0x4187e4
push eax
sub eax, 0x1280a
sub eax, 0x173a6
or eax, 0x57
call 0x4187c6
add byte [0x35353c33], dh
dec edx
xor edi, dword [edx]
inc eax
add esp, 4
pop eax
push ecx
push edx
add esp, 4
and ecx, 0xb063
loope 0x418835
mov al, 0
add byte [ecx - 0x75], bl
xchg ebp, eax
call 0x8a4187d7
xchg ebp, eax
invalid
clc
invalid
invalid
jmp 0x41884c
push eax
push edx
add esp, 4
xor eax, 0x9ea3
add eax, 0x4a23
and eax, 0x129
pop eax
push edi
and edi, 0xd8f1
or edi, 0x555c
pop edi
push ebx
push edi
add esp, 4
sub ebx, 0x128d3
pop ebx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x418842
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x41860d
mov dword [ebp - 0x774], 0
push eax
add eax, 0x12bbe
or eax, 0xeff0
pop eax
push edx
push ecx
add esp, 4
xor edx, 0x71dd
pop edx
push ecx
push edx
add esp, 4
add ecx, 0x7622
add ecx, 0x17512
add ecx, 0xa4ea
pop ecx
cmp dword [ebp - 0x774], 0
jne 0x4188c8
push ecx
push ebx
add esp, 4
call 0x41889c
add byte [eax], bh
cmp eax, 0x4a3e5049
dec ebx
aas
inc esi
xor eax, 0xeb04c483
add edx, dword [eax + 0x4d]
aas
pop ecx
push eax
sub eax, 0x15139
or eax, 0x907d
jmp 0x4188b8
pop eax
mov dword [ebp - 0xab0], 0
jmp 0x4193f0
push esi
push edi
add esp, 4
call 0x4188db
add byte [ebp + 0x3e], al
inc esp
inc ecx
inc ecx
cmp cl, byte [eax + edx*2 - 0x7d]
les eax, [ecx + eax*4]
out 0x7a, al
in al, dx
add byte [eax], al
xor esi, 0xdde6
call 0x4188f6
add byte [edi], bh
inc esp
xor cl, byte [edi + 0x39]
aas
add esp, 4
pop esi
mov ecx, dword [ebp - 0x774]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x1664], eax
cmp dword [ebp - 0x1664], 0
jne 0x418939
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f4], ecx
jmp 0x418c2a
mov edx, dword [ebp - 0x1664]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1668], eax
jne 0x418961
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f4], ecx
jmp 0x418c2a
invalid
mov edx, 8