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

Disassembly:
push esi
and esi, 0x13b2b
xor esi, 0x155f8
jmp 0x40cef6
pop esi
push ebx
push eax
add esp, 4
add ebx, 0xe25d
call 0x40cf11
add byte [eax + 0x48], al
aaa
xor al, 0x3d
inc edi
dec eax
dec edx
aaa
add esp, 4
pop ebx
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x278], edx
push esi
push ebx
add esp, 4
add esi, 0x91c4
pop esi
push esi
push edx
add esp, 4
sub esi, 0x39ea
pop esi
push ecx
and ecx, 0x144f9
add ecx, 0xea79
sub ecx, 0x183ba
xor ecx, 0x143d7
pop ecx
xor eax, eax
mov word [ebp - 0x50], ax
xor ecx, ecx
mov word [ebp - 0x28], cx
push ebx
or ebx, 0x18614
or ebx, 0x13bfb
xor ebx, 0xb0ea
add ebx, 0xb240
pop ebx
push eax
push ecx
add esp, 4
sub eax, 0x14ec0
xor eax, 0xf0c4
and eax, 0x3c9d
pop eax
mov edx, dword [ebp - 0x278]
mov ax, word [edx]
mov word [ebp - 0x1dc], ax
mov ecx, dword [ebp - 0x278]
add ecx, 2
mov dword [ebp - 0x278], ecx
mov dx, word [ebp - 0x1dc]
mov word [ebp - 0x50], dx
push edx
push eax
add esp, 4
xor edx, 0x8831
xor edx, 0x3d03
pop edx
push ecx
and ecx, 0x10357
jmp 0x40cfe8
call 0x40cff8
add byte [edx], dh
aas
cmp dword [edi], esi
dec ecx
cmp dword [edi + 0x35], eax
dec ebx
dec esp
add esp, 4
pop ecx
mov eax, dword [ebp - 0x27c]
mov cx, word [eax]
mov word [ebp - 0x1de], cx
mov edx, dword [ebp - 0x27c]
add edx, 2
mov dword [ebp - 0x27c], edx
mov ax, word [ebp - 0x1de]
mov word [ebp - 0x28], ax
push ebx
push ebx
add esp, 4
jmp 0x40d032
jmp 0x40d039
pop ebx
push edx
push edi
add esp, 4
sub edx, 0x1410d
xor edx, 0x10420
pop edx
push eax
push ecx
add esp, 4
sub eax, 0x9831
pop eax
movzx ecx, word [ebp - 0x28]
test ecx, ecx
jne 0x40d075
movzx edx, word [ebp - 0x50]
movzx eax, word [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x358], edx
jmp 0x40d0f8
movzx ecx, word [ebp - 0x50]
movzx edx, word [ebp - 0x28]
cmp ecx, edx
je 0x40cf6e
movzx eax, word [ebp - 0x50]
xor eax, 0x20
movzx ecx, word [ebp - 0x28]
cmp eax, ecx
je 0x40cf6e
push ebx
or ebx, 0xec6b
pop ebx
push ecx
push edx
add esp, 4
jmp 0x40d0ab
sub ecx, 0x3316
pop ecx
push ebx
push eax
add esp, 4
and ebx, 0xc0d7
xor ebx, 0x128db
and ebx, 0xb1e4
pop ebx
movzx edx, word [ebp - 0x50]
movzx eax, word [ebp - 0x28]
cmp edx, eax
jge 0x40d0e2
mov dword [ebp - 0x354], 0xffffffff
jmp 0x40d0ec
mov dword [ebp - 0x354], 1
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x358], ecx
cmp dword [ebp - 0x358], 0
jne 0x40d141
push ebx
push edi
add esp, 4
or ebx, 0xd4f9
or ebx, 0x1446f
or ebx, 0xff33
xor ebx, 0x151ee
pop ebx
push edx
push ebx
add esp, 4
or edx, 0x1249b
jmp 0x40d132
pop edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x74], edx
jmp 0x40d1d8
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
push edi
jmp 0x40d157
and edi, 0x14f8b
jmp 0x40d162
pop edi
push edi
push edi
add esp, 4
jmp 0x40d16e
pop edi
push edi
push edx
add esp, 4
add edi, 0xdbe8
xor edi, 0xbd32
pop edi
mov edx, dword [ebp - 0xb4]
cmp edx, dword [ebp - 0x280]
je 0x40d19f
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 0x30], 0
jne 0x40cee3
push ebx
add ebx, 0x781a
call 0x40d1b2
add byte [ebp + 0x50], al
dec eax
cmp eax, 0xc4834d43
add al, 0xe8
pop es
add byte [eax], al
add byte [eax], al
dec edi
push eax
dec eax
push eax
dec ecx
cmp byte [ebx + 0x565b04c4], al
push ecx
add esp, 4
sub esi, 0x1281f
pop esi
mov dword [ebp - 0x74], 0
push edi
add edi, 0xa6b6
pop edi
push edx
sub edx, 0xfcf
xor edx, 0x1777e
add edx, 0x1840c
pop edx
push eax
jmp 0x40d1fd
sub eax, 0xa175
sub eax, 0x10f62
pop eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x78], edx
push ebx
push ecx
add esp, 4
sub ebx, 0x17ef
and ebx, 0xf70d
pop ebx
push eax
push esi
add esp, 4
sub eax, 0x177e5
jmp 0x40d238
xor eax, 0xd9fc
sub eax, 0xfd4c
pop eax
mov dword [ebp - 0x108], 0
push edx
push edi
add esp, 4
and edx, 0x79b9
jmp 0x40d262
and edx, 0xe3b4
or edx, 0x90ba
pop edx
push eax
push eax
add esp, 4
and eax, 0x14164
add eax, 0xb10f
pop eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x40d2d6
push edx
jmp 0x40d29d
call fcn.0040d2a9
add byte [0x4c3a3733], bh
cmp eax, 0x8104c483
add esp, 4
invalid
retf 0x9bef
mov edx, dword [ebp - 0x35c]
mov eax, dword [ebp - 0x78]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x360], eax
jne 0x40d2fb
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0xb8], ecx
jmp fcn.0040d7b0
push ebx
push esi
add esp, 4
sub ebx, 0x17bcc
pop ebx
push esi
and esi, 0x14eba
sub esi, 0x499d
sub esi, 0xac4
call fcn.0040d329
add byte [eax + 0x3b], dl
dec ecx
cmp cl, byte [ecx + 0x4d]
xor ecx, dword [esi + 0x3a]