Function at 0x405070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
push edi
cmp dword [ebp + 0xac], 5
jne 0x405482
cmp dword [ebp + 0xb4], 0
lea eax, [ebp + 0x3c]
mov dword [esp + 0x14], eax
jne 0x4050a6
mov edi, dword [eax]
xor al, al
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
lea eax, [ebp + 0x3c]
jmp 0x4050aa
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xb4], 1
jne 0x4050bc
mov edi, dword [eax]
or al, 0xff
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
cmp dword [ebp + 0xb4], 2
jne 0x405369
mov dword [esp + 0x7c], 0
mov byte [esp + 0x19], 0x56
mov byte [esp + 0x1a], 0x2d
mov byte [esp + 0x1b], 0x7c
mov byte [esp + 0x1c], 0x2d
mov byte [esp + 0x1d], 7
mov byte [esp + 0x1e], 0x2d
mov byte [esp + 0x1f], 0x6d
mov byte [esp + 0x20], 0x2d
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x22], 0x2d
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0x2d
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x2d
mov byte [esp + 0x27], 2
mov byte [esp + 0x28], 0x2d
mov byte [esp + 0x29], 0x15
mov byte [esp + 0x2a], 0x2d
mov byte [esp + 0x2b], 0x22
mov byte [esp + 0x2c], 0x2d
mov byte [esp + 0x2d], 0x39
mov byte [esp + 0x2e], 0x2d
mov byte [esp + 0x2f], 0x1f
mov byte [esp + 0x30], 0x2d
mov byte [esp + 0x31], 0x29
mov byte [esp + 0x32], 0x2d
mov byte [esp + 0x33], 0x5f
mov byte [esp + 0x34], 0x2d
mov byte [esp + 0x35], 0x1f
mov byte [esp + 0x36], 0x2d
mov byte [esp + 0x37], 7
mov byte [esp + 0x38], 0x2d
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3a], 0x2d
mov byte [esp + 0x3b], 0x5a
mov byte [esp + 0x3c], 0x2d
mov byte [esp + 0x3d], 0x22
mov byte [esp + 0x3e], 0x2d
mov byte [esp + 0x3f], 0x12
mov byte [esp + 0x40], 0x2d
mov byte [esp + 0x41], 0x6d
mov byte [esp + 0x42], 0x2d
mov byte [esp + 0x43], 0x37
mov byte [esp + 0x44], 0x2d
mov byte [esp + 0x45], 0x46
mov byte [esp + 0x46], 0x2d
mov byte [esp + 0x47], 0x15
mov byte [esp + 0x48], 0x2d
mov byte [esp + 0x49], 0x72
mov byte [esp + 0x4a], 0x2d
mov byte [esp + 0x4b], 0x55
mov byte [esp + 0x4c], 0x2d
mov byte [esp + 0x4d], 0x6d
mov byte [esp + 0x4e], 0x2d
mov byte [esp + 0x4f], 0x5f
mov byte [esp + 0x50], 0x2d
mov byte [esp + 0x51], 0x46
mov byte [esp + 0x52], 0x2d
mov byte [esp + 0x53], 0x29
mov byte [esp + 0x54], 0x2d
mov byte [esp + 0x55], 0x7c
mov byte [esp + 0x56], 0x2d
mov byte [esp + 0x57], 7
mov byte [esp + 0x58], 0x2d
mov byte [esp + 0x59], 0x22
mov byte [esp + 0x5a], 0x2d
mov byte [esp + 0x5b], 0x51
mov byte [esp + 0x5c], 0x2d
mov byte [esp + 0x5d], 0x6d
mov byte [esp + 0x5e], 0x2d
mov byte [esp + 0x5f], 0x72
mov byte [esp + 0x60], 0x2d
mov byte [esp + 0x61], 0x3c
mov byte [esp + 0x62], 0x2d
mov byte [esp + 0x63], 0x7c
mov byte [esp + 0x64], 0x2d
mov byte [esp + 0x65], 0x5a
mov byte [esp + 0x66], 0x2d
mov byte [esp + 0x67], 0x2e
mov byte [esp + 0x68], 0x2d
mov byte [esp + 0x69], 0x6d
mov byte [esp + 0x6a], 0x2d
mov byte [esp + 0x6b], 0x22
mov byte [esp + 0x6c], 0x2d
mov byte [esp + 0x6d], 0x3c
mov byte [esp + 0x6e], 0x2d
mov byte [esp + 0x6f], 0x30
mov byte [esp + 0x70], 0x2d
mov byte [esp + 0x71], 0x35
mov byte [esp + 0x72], 0x2d
mov byte [esp + 0x73], 0x5c
mov byte [esp + 0x74], 0x2d
mov byte [esp + 0x75], 0x2d
mov byte [esp + 0x76], 0x2d
mov al, byte [esp + 0x19]
mov byte [esp + 0x77], 0
cmp byte [esp + 0x77], 0
jne 0x4052e4
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x19]
mov ecx, 0x2d
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x1a
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x19], dl
inc esi
cmp esi, 0x5e
jb 0x4052c0
mov edx, 0x70
push 0x712e
push 0x98fd5743
lea ecx, [edx - 0x6e]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x19]
push 0xf0000000
push 1
push ecx
push 0
lea ecx, [esp + 0x8c]
push ecx
call eax
mov esi, dword [esp + 0x14]
mov edx, 0x78
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x7c]
push 0xf2c3
mov esi, dword [esi]
lea ecx, [edx - 0x76]
push 0x4f126d43
call fcn.00402800
add esp, 8
push esi
push edi
push ebx
call eax
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x405369
mov edx, 0x5e
push 0xcd81
push 0xf9357443
lea ecx, [edx - 0x5c]
call fcn.00402800
add esp, 8
push 0
push esi
call eax
mov eax, dword [ebp + 0xb4]
mov ecx, 1
cmp eax, 3
jne 0x405407
mov esi, dword [ebp + 0x38]
lea edx, [eax + 0x10]
push 0x85cc
push 0x3d6a6543
call fcn.00402800
add esp, 8
push esi
call eax
mov esi, dword [ebp + 0xbc]
mov edx, 0x16
push 0x7602
push 0x7d365744
mov dword [ebp + 0x38], 0
lea ecx, [edx - 0x15]
call fcn.00402800
add esp, 8
push esi
call eax
test eax, eax
jne 0x4053e7
mov esi, dword [ebp + 0xbc]
lea edx, [eax + 0x16]
push 0x7602
push 0x7d365744
lea ecx, [eax + 1]
call fcn.00402800
add esp, 8
push esi
call eax
mov eax, dword [ebp + 0xac]
mov dword [ebp + 0xb0], eax
mov dword [ebp + 0xac], 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov ebx, dword [ebp + 0x68]
inc eax
mov edi, dword [ebp + 0x38]
mov edx, 0x87
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x40]
push 0x29c0
push 0xe096557
mov esi, dword [eax]
call fcn.00402800
add esp, 8
lea ecx, [ebp + 0x98]
push ecx
push 0
push ebx
push esi
push edi
call eax
mov eax, dword [0x455ee8]
test eax, eax
jne 0x405456
push 4
call fcn.0040b1b0
add esp, 4
mov dword [0x455ee8], eax
mov esi, dword [ebp + 0x34]
mov edx, 0x2a
mov edi, dword [eax]
push 0xfbf
push 0x521c7350
lea ecx, [edx - 0x29]
call fcn.00402800
add esp, 8
lea ecx, [ebp + 0x98]
push ecx
push esi
push 0
push edi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4