Function at 0x405070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
cmp dword [ebp + 0xac], 5
jne 0x40546b
cmp dword [ebp + 0xb4], 0
jne 0x40509b
mov edi, dword [ebp + 0x3c]
xor al, al
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
cmp dword [ebp + 0xb4], 1
jne 0x4050ae
mov edi, dword [ebp + 0x3c]
or al, 0xff
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
cmp dword [ebp + 0xb4], 2
jne 0x405352
mov dword [esp + 0x74], 0
mov byte [esp + 0x11], 0x35
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x2a
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x15], 0x7e
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x2b
mov byte [esp + 0x18], 0x73
mov byte [esp + 0x19], 0x55
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0x1d
mov byte [esp + 0x1c], 0x73
mov byte [esp + 0x1d], 0x55
mov byte [esp + 0x1e], 0x73
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0xf
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x23], 0x30
mov byte [esp + 0x24], 0x73
mov byte [esp + 0x25], 0x26
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x63
mov byte [esp + 0x28], 0x73
mov byte [esp + 0x29], 0x38
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x1b
mov byte [esp + 0x2c], 0x73
mov byte [esp + 0x2d], 0x63
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x2f], 0x7e
mov byte [esp + 0x30], 0x73
mov byte [esp + 0x31], 0x62
mov byte [esp + 0x32], 0x73
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x30
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x37], 0x42
mov byte [esp + 0x38], 0x73
mov byte [esp + 0x39], 0x2b
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], 0x48
mov byte [esp + 0x3c], 0x73
mov byte [esp + 0x3d], 0x47
mov byte [esp + 0x3e], 0x73
mov byte [esp + 0x3f], 0xf
mov byte [esp + 0x40], 0x73
mov byte [esp + 0x41], 0x55
mov byte [esp + 0x42], 0x73
mov byte [esp + 0x43], 0x46
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], 0x2b
mov byte [esp + 0x46], 0x73
mov byte [esp + 0x47], 0x1b
mov byte [esp + 0x48], 0x73
mov byte [esp + 0x49], 0x47
mov byte [esp + 0x4a], 0x73
mov byte [esp + 0x4b], 0x38
mov byte [esp + 0x4c], 0x73
mov byte [esp + 0x4d], 0x2a
mov byte [esp + 0x4e], 0x73
mov byte [esp + 0x4f], 0x7e
mov byte [esp + 0x50], 0x73
mov byte [esp + 0x51], 0x30
mov byte [esp + 0x52], 0x73
mov byte [esp + 0x53], 0xb
mov byte [esp + 0x54], 0x73
mov byte [esp + 0x55], 0x2b
mov byte [esp + 0x56], 0x73
mov byte [esp + 0x57], 0x55
mov byte [esp + 0x58], 0x73
mov byte [esp + 0x59], 0x72
mov byte [esp + 0x5a], 0x73
mov byte [esp + 0x5b], 0x2a
mov byte [esp + 0x5c], 0x73
mov byte [esp + 0x5d], 0x70
mov byte [esp + 0x5e], 0x73
mov byte [esp + 0x5f], 0x62
mov byte [esp + 0x60], 0x73
mov byte [esp + 0x61], 0x2b
mov byte [esp + 0x62], 0x73
mov byte [esp + 0x63], 0x30
mov byte [esp + 0x64], 0x73
mov byte [esp + 0x65], 0x72
mov byte [esp + 0x66], 0x73
mov byte [esp + 0x67], 0x40
mov byte [esp + 0x68], 0x73
mov byte [esp + 0x69], 0x6a
mov byte [esp + 0x6a], 0x73
mov byte [esp + 0x6b], 0x4e
mov byte [esp + 0x6c], 0x73
mov byte [esp + 0x6d], 0x73
mov byte [esp + 0x6e], 0x73
mov al, byte [esp + 0x11]
mov byte [esp + 0x6f], 0
cmp byte [esp + 0x6f], 0
jne 0x4052d0
xor ecx, ecx
lea edi, [ecx + 0x7f]
nop
mov al, byte [esp + ecx + 0x11]
movzx eax, al
sub eax, 0x73
lea eax, [eax + eax*8]
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ecx + 0x11], dl
inc ecx
cmp ecx, 0x5e
jb 0x4052b0
mov edx, 0x13
push 0xb400
push 0xa9b95743
lea ecx, [edx - 0x11]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x11]
push 0xf0000000
push 1
push ecx
push 0
lea ecx, [esp + 0x84]
push ecx
call eax
mov esi, dword [ebp + 0x3c]
mov edx, 0x32
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x74]
push 0xa3f2
push 0x49e6d43
lea ecx, [edx - 0x30]
call fcn.004027f0
add esp, 8
push esi
push edi
push ebx
call eax
mov esi, dword [esp + 0x74]
test esi, esi
je 0x405352
mov edx, 0x7c
push 0x440b
push 0xa5577443
lea ecx, [edx - 0x7a]
call fcn.004027f0
add esp, 8
push 0
push esi
call eax
mov eax, dword [ebp + 0xb4]
mov ecx, 1
cmp eax, 3
jne 0x4053f0
mov esi, dword [ebp + 0x38]
lea edx, [eax + 0x36]
push 0xf90
push 0x5fe36543
call fcn.004027f0
add esp, 8
push esi
call eax
mov esi, dword [ebp + 0xbc]
mov edx, 0x28
push 0xfc5e
push 0x1f3f5744
mov dword [ebp + 0x38], 0
lea ecx, [edx - 0x27]
call fcn.004027f0
add esp, 8
push esi
call eax
test eax, eax
jne 0x4053d0
mov esi, dword [ebp + 0xbc]
lea edx, [eax + 0x28]
push 0xfc5e
push 0x1f3f5744
lea ecx, [eax + 1]
call fcn.004027f0
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, 0x60
ret 4
mov ebx, dword [ebp + 0x68]
inc eax
mov edi, dword [ebp + 0x38]
mov edx, 0x2e
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x40]
push 0xa3e6
push 0x27786557
mov esi, dword [eax]
call fcn.004027f0
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 0x40543f
push 4
call fcn.0040b1b0
add esp, 4
mov dword [0x455ee8], eax
mov esi, dword [ebp + 0x34]
mov edx, 0x61
mov edi, dword [eax]
push 0xb77b
push 0x41087350
lea ecx, [edx - 0x60]
call fcn.004027f0
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, 0x60
ret 4