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

Disassembly:
mov eax, dword [ebp - 0xd8]
add eax, 1
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd8]
cmp edx, dword [ecx + 0x18]
jae 0x40cc60
push eax
xor eax, 0x12d29
add eax, 0xcfe8
pop eax
push eax
push esi
add esp, 4
sub eax, 0xa451
add eax, 0x17089
pop eax
push eax
push ebx
add esp, 4
and eax, 0x2921
add eax, 0xac3a
pop eax
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x7c]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0xdc], edx
push eax
push ebx
add esp, 4
and eax, 0x1413d
pop eax
push ecx
sub ecx, 0xad4a
pop ecx
push edi
push edi
add esp, 4
or edi, 0xafa6
sub edi, 0x1906
and edi, 0x2f2
or edi, 0xef10
pop edi
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x450]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x458], ecx
push eax
sub eax, 0xf445
pop eax
push edi
push ecx
add esp, 4
sub edi, 0xe3f4
and edi, 0x18280
sub edi, 0x10eb
and edi, 0x11e5c
pop edi
push edi
push esi
add esp, 4
or edi, 0x6630
pop edi
mov dword [ebp - 0x40], 0
jmp 0x40ca7f
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x40]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40cb1b
add byte [eax], al
invalid
add byte [eax], al
add byte [ebx - 0x41f03fab], cl
test byte [0xfffffe8c], dl
mov edx, dword [ebp - 0x40]
movsx eax, byte [ebp + edx - 0x174]
test eax, eax
je 0x40cb1b
push edi
push esi
add esp, 4
and edi, 0x502b
call 0x40cabc
add byte [ebx + 0x44], al
dec eax
dec edi
dec esp
inc eax
cmp byte [ecx + 0x33], cl
add esp, 4
pop edi
push edi
push eax
add esp, 4
jmp 0x40cacb
jmp 0x40cad3
pop edi
mov ecx, dword [ebp - 0xdc]
add ecx, dword [ebp - 0x40]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x40]
movsx ecx, byte [ebp + eax - 0x174]
cmp edx, ecx
je 0x40cb0d
mov edx, dword [ebp - 0xdc]
add edx, dword [ebp - 0x40]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x40]
movsx edx, byte [ebp + ecx - 0x174]
cmp eax, edx
jne 0x40cb14
jmp 0x40ca76
jmp 0x40cb1b
push eax
and eax, 0x11510
and eax, 0x2d0a
xor eax, 0x44cc
sub eax, 0xb312
pop eax
push edx
push ebx
add esp, 4
jmp 0x40cb41
jmp 0x40cb46
or edx, 0xb55b
pop edx
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x40]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x40]
movsx eax, byte [ebp + edx - 0x174]
cmp ecx, eax
jne 0x40cb77
mov dword [ebp - 0x274], 0
jmp 0x40cc12
push edx
jmp 0x40cb80
xor edx, 0x35be
call 0x40cb92
add byte [ecx], bh
dec edx
dec esp
dec edx
dec ebp
aas
add esp, 4
pop edx
push edi
push eax
add esp, 4
sub edi, 0x11c70
jmp 0x40cba8
pop edi
mov ecx, dword [ebp - 0xdc]
add ecx, dword [ebp - 0x40]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 0x40]
movsx ecx, byte [ebp + eax - 0x174]
or ecx, 0x20
cmp edx, ecx
jge 0x40cbd6
mov dword [ebp - 0x274], 0xffffffff
jmp 0x40cc12
push edi
and edi, 0x1747d
call 0x40cbeb
add byte [esi], dh
inc esi
xor eax, 0x3a474b47
inc eax
add esp, 4
sub edi, 0x2a4
call 0x40cc04
add byte [esi + eax*2 + 0x4a], al
inc edx
cmp eax, 0x38443441
xor eax, dword [ebx - 0x38a0fb3c]
test dword [ebp + edi*8 + 0x1ffff], ecx
add byte [eax], al
cmp dword [ebp - 0x274], 0
jne 0x40cc5b
push ecx
or ecx, 0x12a47
add ecx, 0x11419
add ecx, 0x1223f
pop ecx
push esi
jmp 0x40c979
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x90], eax