Function at 0x405050
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 0x405462
cmp dword [ebp + 0xb4], 0
lea eax, [ebp + 0x3c]
mov dword [esp + 0x14], eax
jne 0x405086
mov edi, dword [eax]
xor al, al
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
lea eax, [ebp + 0x3c]
jmp 0x40508a
mov dword [esp + 0x14], eax
cmp dword [ebp + 0xb4], 1
jne 0x40509c
mov edi, dword [eax]
or al, 0xff
mov ecx, dword [ebp + 0x48]
rep stosb byte es:[edi], al
cmp dword [ebp + 0xb4], 2
jne 0x405349
mov dword [esp + 0x7c], 0
mov byte [esp + 0x19], 0x15
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x74
mov byte [esp + 0x1c], 0x6d
mov byte [esp + 0x1d], 0xe
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0xf
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x5b
mov byte [esp + 0x22], 0x6d
mov byte [esp + 0x23], 0x20
mov byte [esp + 0x24], 0x6d
mov byte [esp + 0x25], 0x5b
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x41
mov byte [esp + 0x28], 0x6d
mov byte [esp + 0x29], 0x31
mov byte [esp + 0x2a], 0x6d
mov byte [esp + 0x2b], 0x12
mov byte [esp + 0x2c], 0x6d
mov byte [esp + 0x2d], 0xc
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x4a
mov byte [esp + 0x30], 0x6d
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x33], 0x6b
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x4a
mov byte [esp + 0x36], 0x6d
mov byte [esp + 0x37], 0xe
mov byte [esp + 0x38], 0x6d
mov byte [esp + 0x39], 0x30
mov byte [esp + 0x3a], 0x6d
mov byte [esp + 0x3b], 0x1f
mov byte [esp + 0x3c], 0x6d
mov byte [esp + 0x3d], 0x12
mov byte [esp + 0x3e], 0x6d
mov byte [esp + 0x3f], 0x69
mov byte [esp + 0x40], 0x6d
mov byte [esp + 0x41], 0xf
mov byte [esp + 0x42], 0x6d
mov byte [esp + 0x43], 7
mov byte [esp + 0x44], 0x6d
mov byte [esp + 0x45], 0x6c
mov byte [esp + 0x46], 0x6d
mov byte [esp + 0x47], 0x31
mov byte [esp + 0x48], 0x6d
mov byte [esp + 0x49], 0x5b
mov byte [esp + 0x4a], 0x6d
mov byte [esp + 0x4b], 0x52
mov byte [esp + 0x4c], 0x6d
mov byte [esp + 0x4d], 0xf
mov byte [esp + 0x4e], 0x6d
mov byte [esp + 0x4f], 0x6b
mov byte [esp + 0x50], 0x6d
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x6d
mov byte [esp + 0x53], 0x63
mov byte [esp + 0x54], 0x6d
mov byte [esp + 0x55], 0x74
mov byte [esp + 0x56], 0x6d
mov byte [esp + 0x57], 0xe
mov byte [esp + 0x58], 0x6d
mov byte [esp + 0x59], 0x12
mov byte [esp + 0x5a], 0x6d
mov byte [esp + 0x5b], 0x48
mov byte [esp + 0x5c], 0x6d
mov byte [esp + 0x5d], 0xf
mov byte [esp + 0x5e], 0x6d
mov byte [esp + 0x5f], 0x5b
mov byte [esp + 0x60], 0x6d
mov byte [esp + 0x61], 0x53
mov byte [esp + 0x62], 0x6d
mov byte [esp + 0x63], 0x74
mov byte [esp + 0x64], 0x6d
mov byte [esp + 0x65], 0x1f
mov byte [esp + 0x66], 0x6d
mov byte [esp + 0x67], 0x30
mov byte [esp + 0x68], 0x6d
mov byte [esp + 0x69], 0xf
mov byte [esp + 0x6a], 0x6d
mov byte [esp + 0x6b], 0x12
mov byte [esp + 0x6c], 0x6d
mov byte [esp + 0x6d], 0x53
mov byte [esp + 0x6e], 0x6d
mov byte [esp + 0x6f], 0x35
mov byte [esp + 0x70], 0x6d
mov byte [esp + 0x71], 2
mov byte [esp + 0x72], 0x6d
mov byte [esp + 0x73], 0x24
mov byte [esp + 0x74], 0x6d
mov byte [esp + 0x75], 0x6d
mov byte [esp + 0x76], 0x6d
mov al, byte [esp + 0x19]
mov byte [esp + 0x77], 0
cmp byte [esp + 0x77], 0
jne 0x4052c4
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x19]
movzx ecx, al
sub ecx, 0x6d
mov eax, ecx
shl eax, 4
sub eax, ecx
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x19], dl
inc esi
cmp esi, 0x5e
jb 0x4052a0
mov edx, 0x3c
push 0x3969
push 0x24bd5743
lea ecx, [edx - 0x3a]
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, 0xb
mov edi, dword [ebp + 0x48]
mov ebx, dword [esp + 0x7c]
push 0xe2d1
mov esi, dword [esi]
lea ecx, [edx - 9]
push 0x5efd6d43
call fcn.00402800
add esp, 8
push esi
push edi
push ebx
call eax
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x405349
mov edx, 0x20
push 0x4d11
push 0x764d7443
lea ecx, [edx - 0x1e]
call fcn.00402800
add esp, 8
push 0
push esi
call eax
mov eax, dword [ebp + 0xb4]
mov ecx, 1
cmp eax, 3
jne 0x4053e7
mov esi, dword [ebp + 0x38]
lea edx, [eax + 0x58]
push 0x1543
push 0x45ea6543
call fcn.00402800
add esp, 8
push esi
call eax
mov esi, dword [ebp + 0xbc]
mov edx, 0x3f
push 0xe68d
push 0x4765744
mov dword [ebp + 0x38], 0
lea ecx, [edx - 0x3e]
call fcn.00402800
add esp, 8
push esi
call eax
test eax, eax
jne 0x4053c7
mov esi, dword [ebp + 0xbc]
lea edx, [eax + 0x3f]
push 0xe68d
push 0x4765744
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, 0x2e
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x40]
push 0xcfc2
push 0x4c346557
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 0x405436
push 4
call fcn.0040b130
add esp, 4
mov dword [0x455ee8], eax
mov esi, dword [ebp + 0x34]
mov edx, 0x1b
mov edi, dword [eax]
push 0x114f
push 0xd33d7350
lea ecx, [edx - 0x1a]
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