Function at 0x405c50
Capabilities:
Contain obfuscated stackstrings
Get process heap force flags

Disassembly:
sub esp, 0x5c
mov eax, dword fs:[0x18]
mov edx, 0x10
push ebx
mov dword [esp + 4], 0
push ebp
mov eax, dword [eax + 0x30]
lea ecx, [edx - 9]
push esi
push edi
push 0x21fe
mov eax, dword [eax + 0x10]
push 0x5d175743
mov esi, dword [eax + 0x44]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x10]
mov ebp, eax
cmp ecx, 3
jl 0x405e08
xor edi, edi
test ecx, ecx
jle 0x405e08
lea ebx, [edi + 0x7f]
nop dword [eax]
mov byte [esp + 0x1f], 0x5d
mov byte [esp + 0x20], 0x6a
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0x6a
mov byte [esp + 0x23], 0x76
mov byte [esp + 0x24], 0x6a
mov byte [esp + 0x25], 0x33
mov byte [esp + 0x26], 0x6a
mov byte [esp + 0x27], 0x4a
mov byte [esp + 0x28], 0x6a
mov byte [esp + 0x29], 0x6a
mov byte [esp + 0x2a], 0x6a
mov al, byte [esp + 0x1f]
mov byte [esp + 0x2b], 0
cmp byte [esp + 0x2b], 0
jne 0x405d24
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x1f]
mov edx, 0x6a
movzx eax, al
sub edx, eax
imul eax, edx, 0x17
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + ecx + 0x1f], dl
inc ecx
cmp ecx, 0xc
jb 0x405d00
lea ebx, [edi*4]
mov edx, 0x77
add ebx, ebp
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
mov esi, dword [ebx]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x1f]
push ecx
push esi
call eax
test eax, eax
je 0x405e12
mov byte [esp + 0x16], 9
mov byte [esp + 0x17], 0x1a
mov byte [esp + 0x18], 0x21
mov byte [esp + 0x19], 0x1a
mov byte [esp + 0x1a], 0x4a
mov byte [esp + 0x1b], 0x1a
mov byte [esp + 0x1c], 0x1a
mov byte [esp + 0x1d], 0x1a
mov al, byte [esp + 0x16]
mov byte [esp + 0x1e], 0
cmp byte [esp + 0x1e], 0
jne 0x405dd0
xor esi, esi
lea ebx, [esi + 0x7f]
nop word [eax + eax]
mov al, byte [esp + esi + 0x16]
mov ecx, 0x1a
movzx eax, al
sub ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + esi + 0x16], dl
inc esi
cmp esi, 8
jb 0x405da0
lea ebx, [edi*4]
add ebx, ebp
mov esi, dword [ebx]
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x16]
push ecx
push esi
call eax
test eax, eax
je 0x405e12
inc edi
mov ebx, 0x7f
cmp edi, dword [esp + 0x10]
jl 0x405cb0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edx, 0x19
xorps xmm0, xmm0
push 0xd318
movups xmmword [esp + 0x44], xmm0
push 0x4d86576c
movups xmmword [esp + 0x58], xmm0
lea ecx, [edx - 0x18]
movq qword [esp + 0x68], xmm0
mov esi, dword [ebx + 4]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x40]
push esi
push ecx
call eax
mov cl, byte [esp + 0x42]
xorps xmm0, xmm0
mov bl, byte [esp + 0x44]
test cl, cl
mov bh, byte [esp + 0x40]
movzx edx, cl
movzx eax, bl
cmove edx, eax
movzx ecx, bl
movzx eax, byte [esp + 0x46]
test bl, bl
movups xmmword [esp + 0x2c], xmm0
cmove ecx, eax
mov byte [esp + 0x2d], dl
xor eax, eax
mov byte [esp + 0x2e], cl
xor ecx, ecx
mov dword [esp + 0x3c], 0
cmp bh, 0x2d
mov byte [esp + 0x2c], bh
lea edx, [esp + 0x2c]
sete al
add edx, eax
mov al, byte [edx]
test al, al
je 0x405eb5
movsx eax, al
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
lea edx, [edx + 1]
lea ecx, [eax + ecx*2]
mov al, byte [edx]
test al, al
jne 0x405ea0
mov eax, dword [0x455ee4]
mov esi, ecx
neg esi
cmp bh, 0x2d
cmovne esi, ecx
test eax, eax
jne 0x405f0c
push 0xc8
call fcn.0040b1a0
add esp, 4
test eax, eax
je 0x405f05
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
mov dword [0x455ee4], eax
mov dword [eax + 4], esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
xor eax, eax
mov dword [0x455ee4], eax
pop edi
mov dword [eax + 4], esi
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret