Function at 0x405090
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 0x40548b
cmp dword [ebp + 0xb4], 0
jne 0x4050bb
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 0x4050ce
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 0x405372
mov dword [esp + 0x74], 0
mov byte [esp + 0x11], 0x19
mov byte [esp + 0x12], 0x15
mov byte [esp + 0x13], 0x26
mov byte [esp + 0x14], 0x15
mov byte [esp + 0x15], 8
mov byte [esp + 0x16], 0x15
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x15
mov byte [esp + 0x19], 0x44
mov byte [esp + 0x1a], 0x15
mov byte [esp + 0x1b], 0x58
mov byte [esp + 0x1c], 0x15
mov byte [esp + 0x1d], 0x44
mov byte [esp + 0x1e], 0x15
mov byte [esp + 0x1f], 0x17
mov byte [esp + 0x20], 0x15
mov byte [esp + 0x21], 0x5d
mov byte [esp + 0x22], 0x15
mov byte [esp + 0x23], 0x36
mov byte [esp + 0x24], 0x15
mov byte [esp + 0x25], 0x70
mov byte [esp + 0x26], 0x15
mov byte [esp + 0x27], 0x3f
mov byte [esp + 0x28], 0x15
mov byte [esp + 0x29], 0x21
mov byte [esp + 0x2a], 0x15
mov byte [esp + 0x2b], 0x7d
mov byte [esp + 0x2c], 0x15
mov byte [esp + 0x2d], 0x3f
mov byte [esp + 0x2e], 0x15
mov byte [esp + 0x2f], 8
mov byte [esp + 0x30], 0x15
mov byte [esp + 0x31], 0x12
mov byte [esp + 0x32], 0x15
mov byte [esp + 0x33], 0xd
mov byte [esp + 0x34], 0x15
mov byte [esp + 0x35], 0x36
mov byte [esp + 0x36], 0x15
mov byte [esp + 0x37], 0x66
mov byte [esp + 0x38], 0x15
mov byte [esp + 0x39], 0x53
mov byte [esp + 0x3a], 0x15
mov byte [esp + 0x3b], 0x76
mov byte [esp + 0x3c], 0x15
mov byte [esp + 0x3d], 0x49
mov byte [esp + 0x3e], 0x15
mov byte [esp + 0x3f], 0x5d
mov byte [esp + 0x40], 0x15
mov byte [esp + 0x41], 0x44
mov byte [esp + 0x42], 0x15
mov byte [esp + 0x43], 0x1c
mov byte [esp + 0x44], 0x15
mov byte [esp + 0x45], 0x53
mov byte [esp + 0x46], 0x15
mov byte [esp + 0x47], 0x7d
mov byte [esp + 0x48], 0x15
mov byte [esp + 0x49], 0x49
mov byte [esp + 0x4a], 0x15
mov byte [esp + 0x4b], 0x21
mov byte [esp + 0x4c], 0x15
mov byte [esp + 0x4d], 0x26
mov byte [esp + 0x4e], 0x15
mov byte [esp + 0x4f], 8
mov byte [esp + 0x50], 0x15
mov byte [esp + 0x51], 0x36
mov byte [esp + 0x52], 0x15
mov byte [esp + 0x53], 0x28
mov byte [esp + 0x54], 0x15
mov byte [esp + 0x55], 0x53
mov byte [esp + 0x56], 0x15
mov byte [esp + 0x57], 0x44
mov byte [esp + 0x58], 0x15
mov byte [esp + 0x59], 0x67
mov byte [esp + 0x5a], 0x15
mov byte [esp + 0x5b], 0x26
mov byte [esp + 0x5c], 0x15
mov byte [esp + 0x5d], 0xd
mov byte [esp + 0x5e], 0x15
mov byte [esp + 0x5f], 0x12
mov byte [esp + 0x60], 0x15
mov byte [esp + 0x61], 0x53
mov byte [esp + 0x62], 0x15
mov byte [esp + 0x63], 0x36
mov byte [esp + 0x64], 0x15
mov byte [esp + 0x65], 0x67
mov byte [esp + 0x66], 0x15
mov byte [esp + 0x67], 0xc
mov byte [esp + 0x68], 0x15
mov byte [esp + 0x69], 0x7c
mov byte [esp + 0x6a], 0x15
mov byte [esp + 0x6b], 7
mov byte [esp + 0x6c], 0x15
mov byte [esp + 0x6d], 0x15
mov byte [esp + 0x6e], 0x15
mov al, byte [esp + 0x11]
mov byte [esp + 0x6f], 0
cmp byte [esp + 0x6f], 0
jne 0x4052f0
xor ecx, ecx
lea edi, [ecx + 0x7f]
nop
mov al, byte [esp + ecx + 0x11]
movzx eax, al
sub eax, 0x15
imul eax, eax, 0x33
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + ecx + 0x11], dl
inc ecx
cmp ecx, 0x5e
jb 0x4052d0
mov edx, 0x7b
push 0x7520
push 0x3cbf5743
lea ecx, [edx - 0x79]
call fcn.00402800
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, 0x68
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x74]
push 0xe242
push 0x4cbb6d43
lea ecx, [edx - 0x66]
call fcn.00402800
add esp, 8
push esi
push edi
push ebx
call eax
mov esi, dword [esp + 0x74]
test esi, esi
je 0x405372
mov edx, 0x6a
push 0x4989
push 0xe47d7443
lea ecx, [edx - 0x68]
call fcn.00402800
add esp, 8
push 0
push esi
call eax
mov eax, dword [ebp + 0xb4]
mov ecx, 1
cmp eax, 3
jne 0x405410
mov esi, dword [ebp + 0x38]
lea edx, [eax + 0x21]
push 0x8dd1
push 0x75ee6543
call fcn.00402800
add esp, 8
push esi
call eax
mov esi, dword [ebp + 0xbc]
mov edx, 0xb
push 0x7e1f
push 0x35725744
mov dword [ebp + 0x38], 0
lea ecx, [edx - 0xa]
call fcn.00402800
add esp, 8
push esi
call eax
test eax, eax
jne 0x4053f0
mov esi, dword [ebp + 0xbc]
lea edx, [eax + 0xb]
push 0x7e1f
push 0x35725744
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, 0x60
ret 4
mov ebx, dword [ebp + 0x68]
inc eax
mov edi, dword [ebp + 0x38]
mov edx, 0x19
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x40]
push 0xbd0
push 0x2e7c6557
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 0x40545f
push 4
call fcn.0040b190
add esp, 4
mov dword [0x455ee8], eax
mov esi, dword [ebp + 0x34]
mov edx, 0x79
mov edi, dword [eax]
push 0x352f
push 0xda0c7350
lea ecx, [edx - 0x78]
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, 0x60
ret 4