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

Disassembly:
push ecx
call 0x4066c8
add byte [ecx + 0x32], cl
cmp byte [ebx + 0x3c], cl
inc esi
push eax
add esp, 4
pop ecx
push edi
push esi
add esp, 4
add edi, 0x89a1
xor edi, 0x156b3
or edi, 0x3f35
jmp 0x4066eb
pop edi
lea edx, [ebp - 0x1748]
invalid
dec dword [ecx - 0xd076b]
dec dword [ebx - 0x50f7b]
dec dword [ebx - 0x7276cfb8]
cld
invalid
invalid
push dword [ebx]
shl byte [esi - 0x77], cl
xchg ebp, eax
xor dh, bh
invalid
push dword [ebx]
shl byte [esi - 0x77], 0x45
invalid
push ecx
push edi
add esp, 4
jmp 0x406722
pop ecx
push esi
push ebx
add esp, 4
add esi, 0x15f0c
call 0x40673e
add byte [esp + esi + 0x4c], cl
dec edx
inc esi
dec ebp
cmp byte [eax + ecx*2 + 0x37], cl
add esp, 4
xor esi, 0x16a7b
pop esi
mov ecx, dword [ebp - 0xd04]
mov dx, word [ecx]
mov word [ebp - 0x10aa], dx
mov eax, dword [ebp - 0xd04]
add eax, 2
mov dword [ebp - 0xd04], eax
mov cx, word [ebp - 0x10aa]
mov word [ebp - 0x1d0], cx
lea esi, [eax]
invalid
invalid
dec dword [ebx - 0xd076b]
jmp dword [esi - 0x75]
add ah, byte [esi - 0x77]
test dword [edi + ebp*8 - 1], edx
dec dword [ebx - 0xd0773]
inc dword [ebx - 0x7276fd3f]
clc
invalid
invalid
jmp dword [esi - 0x75]
xchg ebp, eax
push esp
out dx, eax
invalid
jmp dword [esi - 0x77]
push ebp
rcl byte [esi + 0x56]
add esp, 4
sub esi, 0x13aaf
or esi, 0x12e67
pop esi
push edx
push edi
add esp, 4
sub edx, 0x776
pop edx
push ebx
xor ebx, 0x14bf
pop ebx
push edx
push esi
add esp, 4
and edx, 0x15779
pop edx
movzx eax, word [ebp - 0x30]
test eax, eax
jne 0x4067ee
movzx ecx, word [ebp - 0x1d0]
movzx eax, word [ebp - 0x1d0]
movzx ecx, word [ebp - 0x30]
cmp eax, ecx
je 0x406716
movzx edx, word [ebp - 0x1d0]
xor edx, 0x20
movzx eax, word [ebp - 0x30]
cmp edx, eax
je 0x406716
movzx ecx, word [ebp - 0x1d0]
movzx edx, word [ebp - 0x30]
cmp ecx, edx
jge 0x406832
mov dword [ebp - 0x1640], 0xffffffff
jmp 0x40683c
mov dword [ebp - 0x1640], 1
mov eax, dword [ebp - 0x1640]
mov dword [ebp - 0x1644], eax
cmp dword [ebp - 0x1644], 0
jne 0x406891
push ebx
push ebx
add esp, 4
jmp 0x40685f
sub ebx, 0x151cd
pop ebx
push ebx
push edi
add esp, 4
and ebx, 0x4763
or ebx, 0x9cac
and ebx, 0xbd6e
jmp 0x406882
pop ebx
mov ecx, dword [ebp - 0x510]
mov dword [ebp - 0x7a4], ecx
jmp 0x4068f9
push ebx
or ebx, 0x14c05
or ebx, 0x116fe
sub ebx, 0x1808a
pop ebx
push eax
push edx
add esp, 4
and eax, 0x2bf5
sub eax, 0x16c22
sub eax, 0x62d0
add eax, 0x18333
pop eax
mov edx, dword [ebp - 0x510]
mov eax, dword [edx]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [ebp - 0xd0c]
je 0x4068ef
mov edx, dword [ebp - 0x510]
cmp dword [edx + 0x30], 0
jne 0x4066ba
mov dword [ebp - 0x7a4], 0
push edx
push edi
add esp, 4
xor edx, 0xfb74
xor edx, 0xe43b
xor edx, 0x4ee1
pop edx
push edx
and edx, 0x15702
sub edx, 0x6a69
sub edx, 0x98dd
xor edx, 0x5a33
pop edx
cmp dword [ebp - 0x7a4], 0
jne 0x406975
push ebx
push esi
add esp, 4
sub ebx, 0x12e41
call 0x40694c
add byte [edi + 0x3a], al
xor cl, byte [edx + 0x4c]
inc eax
cmp al, 0x83
les eax, [eax + ebp*8]
or byte [eax], al
add byte [eax], al
add byte [ebp + 0x3d], cl
xor edi, dword [eax]
aaa
cmp dword [eax - 0x7d], eax
les eax, [ecx + eax*4]
jmp 0x406964
add byte [ebx - 0x39], bl
test dword [esi*8 + 0xffff], ebp
add byte [eax], al
jmp 0x40749c
push esi
xor esi, 0x10cdf
jmp 0x406983
pop esi
push eax
push eax
add esp, 4
or eax, 0xa63c
sub eax, 0x8f92
or eax, 0xaf35
pop eax
push edi
jmp 0x4069a6
pop edi
mov eax, dword [ebp - 0x7a4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x37c], ecx
mov dword [ebp - 0x7b4], 0
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x1648], edx
cmp dword [ebp - 0x1648], 0
jne 0x4069e6
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], eax
jmp 0x406cd7
mov ecx, dword [ebp - 0x1648]
mov edx, dword [ebp - 0x37c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x164c], edx
jne 0x406a0e
mov eax, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], eax
jmp 0x406cd7
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x164c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1650], ecx
cmp dword [ebp - 0x1650], 0
jne 0x406a40
mov edx, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], edx
jmp 0x406cd7
mov eax, dword [ebp - 0x37c]
add eax, dword [ebp - 0x1650]
mov dword [ebp - 0x7a8], eax
jne 0x406a65
mov ecx, dword [ebp - 0x7b4]
mov dword [ebp - 0x3d0], ecx
jmp 0x406cd7
mov edx, dword [ebp - 0x7a8]
mov eax, dword [ebp - 0x37c]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1d6c], eax
mov ecx, dword [ebp - 0x7a8]
mov edx, dword [ebp - 0x37c]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1d70], edx
mov eax, dword [ebp - 0x7a8]
mov ecx, dword [ebp - 0x37c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d74], ecx
mov dword [ebp - 0x7ac], 0
jmp 0x406abf