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

Disassembly:
push edi
push edi
add esp, 4
xor edi, 0xaa18
add edi, 0xe138
or edi, 0x12f0
pop edi
push edx
and edx, 0x6c90
pop edx
push eax
push ecx
add esp, 4
and eax, 0x15b9a
or eax, 0x18599
pop eax
lea eax, [ebp - 0x176c]
mov dword [ebp - 0xd38], eax
mov ecx, dword [ebp - 0x528]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xd34], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push edi
push ebx
add esp, 4
and edi, 0x17bea
pop edi
push edi
xor edi, 0x7801
and edi, 0xc2b
or edi, 0xbc51
xor edi, 0x14451
pop edi
push eax
push edx
add esp, 4
xor eax, 0x259a
pop eax
mov edx, dword [ebp - 0xd34]
mov ax, word [edx]
mov word [ebp - 0x1092], ax
mov ecx, dword [ebp - 0xd34]
add ecx, 2
mov dword [ebp - 0xd34], ecx
mov dx, word [ebp - 0x1092]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xd38]
mov cx, word [eax]
mov word [ebp - 0x1094], cx
mov edx, dword [ebp - 0xd38]
add edx, 2
mov dword [ebp - 0xd38], edx
mov ax, word [ebp - 0x1094]
mov word [ebp - 0x40], ax
push eax
push ecx
add esp, 4
add eax, 0x12320
or eax, 0x149c1
pop eax
push esi
push edi
add esp, 4
or esi, 0x49cd
add esi, 0x3f1f
pop esi
push edx
xor edx, 0x813e
add edx, 0xc6b4
pop edx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x408c21
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x16b0], edx
jmp 0x408c7b
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x408b49
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
dec ebp
sar byte [ebx], 0xc1
je 0x408b49
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x408c65
mov dword [ebp - 0x16ac], 0xffffffff
jmp 0x408c6f
mov dword [ebp - 0x16ac], 1
mov ecx, dword [ebp - 0x16ac]
mov dword [ebp - 0x16b0], ecx
cmp dword [ebp - 0x16b0], 0
jne 0x408cc4
push ecx
push edi
add esp, 4
sub ecx, 0xeabc
add ecx, 0x11378
xor ecx, 0x12e2c
sub ecx, 0x2c0b
pop ecx
push eax
call 0x408cb2
add byte [edx + ecx*2 + 0x3e], al
cmp al, 0x4f
cmp dword [eax + ecx*2], edi
dec edx
add esp, 4
pop eax
mov edx, dword [ebp - 0x528]
mov dword [ebp - 0x2d0], edx
jmp 0x408d2c
push edx
push edi
add esp, 4
jmp 0x408cd1
call 0x408cdf
add byte [ecx], bh
dec ebp
inc ebp
dec edi
inc edi
inc esp
dec edi
inc esi
add esp, 4
sub edx, 0x14a9d
pop edx
push edx
push eax
add esp, 4
jmp 0x408cf5
pop edx
mov eax, dword [ebp - 0x528]
mov ecx, dword [eax]
mov dword [ebp - 0x528], ecx
mov edx, dword [ebp - 0x528]
cmp edx, dword [ebp - 0xd3c]
je 0x408d22
mov eax, dword [ebp - 0x528]
cmp dword [eax + 0x30], 0
jne 0x408aed
mov dword [ebp - 0x2d0], 0
push esi
push eax
add esp, 4
call 0x408d3d
add byte [ecx + 0x44], cl
cmp dword [eax], edi
cmp eax, 0x4c48341
or esi, 0x17178
call 0x408d54
add byte [edx + 0x36], cl
inc ebx
xor eax, 0x474d3b3d
add esp, 4
or esi, 0xd7b0
pop esi
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x328], edx
push edx
and edx, 0xb834
or edx, 0xafca
xor edx, 0x2257
call 0x408d8f
add byte [ebx + 0x4c], al
dec esi
cmp byte [edi], dh
dec edx
inc esp
xor dh, byte [0x5a04c483]
push ecx
push ecx
add esp, 4
and ecx, 0x1676e
pop ecx
mov dword [ebp - 0x788], 0
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x16b4], eax
test dword [ecx + ebp*8 - 1], ecx
inc dword [ebx - 0x16b343]
inc dword [eax]
jne 0x408dcf
mov ecx, dword [ebp - 0x788]
mov dword [ebp - 0x52c], ecx
jmp 0x4090c0
mov edx, dword [ebp - 0x16b4]
mov eax, dword [ebp - 0x328]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x16b8], eax
jne 0x408df7
mov ecx, dword [ebp - 0x788]
mov dword [ebp - 0x52c], ecx
jmp 0x4090c0
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x16b8]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x16bc], edx
cmp dword [ebp - 0x16bc], 0
jne 0x408e29
mov eax, dword [ebp - 0x788]
mov dword [ebp - 0x52c], eax
jmp 0x4090c0
mov ecx, dword [ebp - 0x328]
add ecx, dword [ebp - 0x16bc]
mov dword [ebp - 0x77c], ecx
jne 0x408e4e
mov edx, dword [ebp - 0x788]
mov dword [ebp - 0x52c], edx
jmp 0x4090c0
mov eax, dword [ebp - 0x77c]
mov ecx, dword [ebp - 0x328]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1a5c], ecx
mov edx, dword [ebp - 0x77c]
mov eax, dword [ebp - 0x328]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1a60], eax
mov ecx, dword [ebp - 0x77c]
mov edx, dword [ebp - 0x328]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1a64], edx
mov dword [ebp - 0x780], 0
jmp 0x408ea8