Function at 0x405080
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 0x405492
cmp dword [ebp + 0xb4], 0
lea eax, [ebp + 0x3c]
mov dword [esp + 0x14], eax
jne 0x4050b6
mov edi, dword [eax]
xor al, al
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
lea eax, [ebp + 0x3c]
jmp 0x4050ba
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xb4], 1
jne 0x4050cc
mov edi, dword [eax]
or al, 0xff
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
cmp dword [ebp + 0xb4], 2
jne 0x405379
mov dword [esp + 0x7c], 0
mov byte [esp + 0x19], 0x5a
mov byte [esp + 0x1a], 0x10
mov byte [esp + 0x1b], 0xd
mov byte [esp + 0x1c], 0x10
mov byte [esp + 0x1d], 0x5d
mov byte [esp + 0x1e], 0x10
mov byte [esp + 0x1f], 0x14
mov byte [esp + 0x20], 0x10
mov byte [esp + 0x21], 0x3c
mov byte [esp + 0x22], 0x10
mov byte [esp + 0x23], 0x31
mov byte [esp + 0x24], 0x10
mov byte [esp + 0x25], 0x3c
mov byte [esp + 0x26], 0x10
mov byte [esp + 0x27], 0x35
mov byte [esp + 0x28], 0x10
mov byte [esp + 0x29], 0x4e
mov byte [esp + 0x2a], 0x10
mov byte [esp + 0x2b], 0x37
mov byte [esp + 0x2c], 0x10
mov byte [esp + 0x2d], 0x70
mov byte [esp + 0x2e], 0x10
mov byte [esp + 0x2f], 0x1f
mov byte [esp + 0x30], 0x10
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x10
mov byte [esp + 0x33], 0x23
mov byte [esp + 0x34], 0x10
mov byte [esp + 0x35], 0x1f
mov byte [esp + 0x36], 0x10
mov byte [esp + 0x37], 0x5d
mov byte [esp + 0x38], 0x10
mov byte [esp + 0x39], 0x18
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x3b], 0x7a
mov byte [esp + 0x3c], 0x10
mov byte [esp + 0x3d], 0x37
mov byte [esp + 0x3e], 0x10
mov byte [esp + 0x3f], 0x36
mov byte [esp + 0x40], 0x10
mov byte [esp + 0x41], 0x14
mov byte [esp + 0x42], 0x10
mov byte [esp + 0x43], 0x60
mov byte [esp + 0x44], 0x10
mov byte [esp + 0x45], 0x59
mov byte [esp + 0x46], 0x10
mov byte [esp + 0x47], 0x4e
mov byte [esp + 0x48], 0x10
mov byte [esp + 0x49], 0x3c
mov byte [esp + 0x4a], 0x10
mov byte [esp + 0x4b], 0x52
mov byte [esp + 0x4c], 0x10
mov byte [esp + 0x4d], 0x14
mov byte [esp + 0x4e], 0x10
mov byte [esp + 0x4f], 0x23
mov byte [esp + 0x50], 0x10
mov byte [esp + 0x51], 0x59
mov byte [esp + 0x52], 0x10
mov byte [esp + 0x53], 0x6f
mov byte [esp + 0x54], 0x10
mov byte [esp + 0x55], 0xd
mov byte [esp + 0x56], 0x10
mov byte [esp + 0x57], 0x5d
mov byte [esp + 0x58], 0x10
mov byte [esp + 0x59], 0x37
mov byte [esp + 0x5a], 0x10
mov byte [esp + 0x5b], 0x32
mov byte [esp + 0x5c], 0x10
mov byte [esp + 0x5d], 0x14
mov byte [esp + 0x5e], 0x10
mov byte [esp + 0x5f], 0x3c
mov byte [esp + 0x60], 0x10
mov byte [esp + 0x61], 9
mov byte [esp + 0x62], 0x10
mov byte [esp + 0x63], 0xd
mov byte [esp + 0x64], 0x10
mov byte [esp + 0x65], 0x7a
mov byte [esp + 0x66], 0x10
mov byte [esp + 0x67], 0x18
mov byte [esp + 0x68], 0x10
mov byte [esp + 0x69], 0x14
mov byte [esp + 0x6a], 0x10
mov byte [esp + 0x6b], 0x37
mov byte [esp + 0x6c], 0x10
mov byte [esp + 0x6d], 9
mov byte [esp + 0x6e], 0x10
mov byte [esp + 0x6f], 0x28
mov byte [esp + 0x70], 0x10
mov byte [esp + 0x71], 0x50
mov byte [esp + 0x72], 0x10
mov byte [esp + 0x73], 0xb
mov byte [esp + 0x74], 0x10
mov byte [esp + 0x75], 0x10
mov byte [esp + 0x76], 0x10
mov al, byte [esp + 0x19]
mov byte [esp + 0x77], 0
cmp byte [esp + 0x77], 0
jne 0x4052f4
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x19]
mov ecx, 0x10
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x19], dl
inc esi
cmp esi, 0x5e
jb 0x4052d0
mov edx, 0x15
push 0x73ad
push 0xa9bc5743
lea ecx, [edx - 0x13]
call fcn.004027f0
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, 0x21
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x7c]
push 0xa283
mov esi, dword [esi]
lea ecx, [edx - 0x1f]
push 0xefde6d43
call fcn.004027f0
add esp, 8
push esi
push edi
push ebx
call eax
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x405379
mov edx, 0x3a
push 0x4f84
push 0xff577443
lea ecx, [edx - 0x38]
call fcn.004027f0
add esp, 8
push 0
push esi
call eax
mov eax, dword [ebp + 0xb4]
mov ecx, 1
cmp eax, 3
jne 0x405417
mov esi, dword [ebp + 0x38]
lea edx, [eax + 0x44]
push 0x80ca
push 0x5fe86543
call fcn.004027f0
add esp, 8
push esi
call eax
mov esi, dword [ebp + 0xbc]
mov edx, 0xd
push 0x7304
push 0x1e745744
mov dword [ebp + 0x38], 0
lea ecx, [edx - 0xc]
call fcn.004027f0
add esp, 8
push esi
call eax
test eax, eax
jne 0x4053f7
mov esi, dword [ebp + 0xbc]
lea edx, [eax + 0xd]
push 0x7304
push 0x1e745744
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, 0x68
ret 4
mov ebx, dword [ebp + 0x68]
inc eax
mov edi, dword [ebp + 0x38]
mov edx, 0x5c
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x40]
push 0xa7c8
push 0x1a106557
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 0x405466
push 4
call fcn.0040b110
add esp, 4
mov dword [0x455ee8], eax
mov esi, dword [ebp + 0x34]
mov edx, 0x1e
mov edi, dword [eax]
push 0x37b
push 0xd6167350
lea ecx, [edx - 0x1d]
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, 0x68
ret 4