Function at 0x404240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, ecx
mov eax, edx
push esi
xor esi, esi
mov dword [esp + 0x1c], eax
push edi
mov dword [esp + 0x1c], ebp
cmp word [ebp], si
je 0x404269
nop dword [eax + eax]
inc esi
cmp word [ebp + esi*2], 0
jne 0x404260
xor ebx, ebx
cmp word [eax], bx
je 0x404278
inc ebx
cmp word [eax + ebx*2], 0
jne 0x404270
xor ecx, ecx
lea eax, [ebx + 0x14]
add eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b170
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4042a6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edi, eax
lea ecx, [esi + 0x14]
xor al, al
add ecx, ebx
rep stosb byte es:[edi], al
cmp word [ebp], 0x5c
jne 0x4043e5
cmp word [ebp + 2], 0x5c
lea eax, [ebp + 2]
mov dword [esp + 0x18], eax
jne 0x4043e5
cmp word [ebp + 4], 0x3f
je 0x4043c0
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0x2b
mov byte [esp + 0x33], 0
mov byte [esp + 0x34], 0x2b
mov byte [esp + 0x35], 0x5f
mov byte [esp + 0x36], 0x2b
mov byte [esp + 0x37], 0
mov byte [esp + 0x38], 0x2b
mov byte [esp + 0x39], 0x5d
mov byte [esp + 0x3a], 0x2b
mov byte [esp + 0x3b], 0x3b
mov byte [esp + 0x3c], 0x2b
mov byte [esp + 0x3d], 0x3c
mov byte [esp + 0x3e], 0x2b
mov byte [esp + 0x3f], 0
mov byte [esp + 0x40], 0x2b
mov byte [esp + 0x41], 0x2b
mov byte [esp + 0x42], 0x2b
mov al, byte [esp + 0x31]
mov byte [esp + 0x43], 0
cmp byte [esp + 0x43], 0
jne 0x404374
xor edi, edi
lea ebp, [edi + 0x7f]
nop dword [eax + eax]
mov al, byte [esp + edi + 0x31]
mov ecx, 0x2b
movzx eax, al
sub ecx, eax
imul eax, ecx, 0xb
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + edi + 0x31], dl
inc edi
cmp edi, 0x12
jb 0x404350
mov edx, 0x68
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x39]
add esp, 8
push ecx
push edi
call eax
mov edx, 0x68
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
add esp, 8
lea ecx, [edi + 0xe]
push dword [esp + 0x18]
jmp 0x40449e
mov edx, 0x68
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
mov edi, dword [esp + 0x1c]
add esp, 8
push ebp
push edi
jmp 0x40449f
mov byte [esp + 0x26], 0x17
mov byte [esp + 0x27], 0xe
mov byte [esp + 0x28], 0x17
mov byte [esp + 0x29], 0xe
mov byte [esp + 0x2a], 0x4a
mov byte [esp + 0x2b], 0xe
mov byte [esp + 0x2c], 0x17
mov byte [esp + 0x2d], 0xe
mov byte [esp + 0x2e], 0xe
mov byte [esp + 0x2f], 0xe
mov al, byte [esp + 0x26]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x40445a
xor ebp, ebp
lea edi, [ebp + 0x7f]
nop dword [eax]
mov al, byte [esp + ebp + 0x26]
mov ecx, 0xe
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ebp + 0x26], dl
inc ebp
cmp ebp, 0xa
jb 0x404430
mov ebp, dword [esp + 0x1c]
mov edx, 0x68
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x2e]
add esp, 8
push ecx
push edi
call eax
mov edx, 0x68
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
add esp, 8
lea ecx, [edi + 8]
push ebp
push ecx
call eax
test ebx, ebx
jle 0x4044e5
movzx eax, word [edi + esi*2 - 2]
cmp eax, 0x5c
je 0x4044c4
cmp eax, 0x2a
jne 0x4044bd
xor eax, eax
mov word [edi + esi*2 - 2], ax
jmp 0x4044c4
mov dword [edi + esi*2], 0x5c
mov edx, 0x32
push 0xd3c7
push 0x8d0f576c
lea ecx, [edx - 0x31]
call fcn.004027e0
add esp, 8
push dword [esp + 0x20]
push edi
call eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret