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

Disassembly:
sub esp, 0x3c
mov eax, dword fs:[0x18]
mov edx, 0x10
push ebx
mov dword [esp + 8], 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 + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x14]
mov ebx, eax
cmp ecx, 3
jl 0x405b7b
xor edi, edi
test ecx, ecx
jle 0x405b7b
lea ebp, [edi + 0x7f]
nop dword [eax]
mov byte [esp + 0x1a], 0x16
mov byte [esp + 0x1b], 0x13
mov byte [esp + 0x1c], 0x4d
mov byte [esp + 0x1d], 0x13
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1f], 0x13
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x13
mov byte [esp + 0x22], 0x11
mov byte [esp + 0x23], 0x13
mov byte [esp + 0x24], 0x4d
mov byte [esp + 0x25], 0x13
mov byte [esp + 0x26], 1
mov byte [esp + 0x27], 0x13
mov byte [esp + 0x28], 0x6f
mov byte [esp + 0x29], 0x13
mov byte [esp + 0x2a], 0x4d
mov byte [esp + 0x2b], 0x13
mov byte [esp + 0x2c], 0x2c
mov byte [esp + 0x2d], 0x13
mov byte [esp + 0x2e], 0x13
mov byte [esp + 0x2f], 0x13
mov al, byte [esp + 0x1a]
mov byte [esp + 0x30], 0
cmp byte [esp + 0x30], 0
jne 0x405a64
xor esi, esi
mov al, byte [esp + esi + 0x1a]
movzx ecx, al
sub ecx, 0x13
mov eax, ecx
shl eax, 4
sub eax, ecx
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x1a], dl
inc esi
cmp esi, 0x16
jb 0x405a40
mov esi, dword [ebx + edi*4]
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x1a]
push ecx
push esi
call eax
test eax, eax
je 0x405be7
mov byte [esp + 0x31], 0x50
mov byte [esp + 0x32], 0xc
mov byte [esp + 0x33], 0x17
mov byte [esp + 0x34], 0xc
mov byte [esp + 0x35], 0x6f
mov byte [esp + 0x36], 0xc
mov byte [esp + 0x37], 0x31
mov byte [esp + 0x38], 0xc
mov byte [esp + 0x39], 0x3e
mov byte [esp + 0x3a], 0xc
mov byte [esp + 0x3b], 0x70
mov byte [esp + 0x3c], 0xc
mov byte [esp + 0x3d], 0x7d
mov byte [esp + 0x3e], 0xc
mov byte [esp + 0x3f], 0xa
mov byte [esp + 0x40], 0xc
mov byte [esp + 0x41], 0x70
mov byte [esp + 0x42], 0xc
mov byte [esp + 0x43], 0x17
mov byte [esp + 0x44], 0xc
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], 0xc
mov byte [esp + 0x47], 0x71
mov byte [esp + 0x48], 0xc
mov byte [esp + 0x49], 0xc
mov byte [esp + 0x4a], 0xc
mov al, byte [esp + 0x31]
mov byte [esp + 0x4b], 0
cmp byte [esp + 0x4b], 0
jne 0x405b47
xor ecx, ecx
mov al, byte [esp + ecx + 0x31]
movzx eax, al
sub eax, 0xc
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + ecx + 0x31], dl
inc ecx
cmp ecx, 0x1a
jb 0x405b25
mov esi, dword [ebx + edi*4]
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x31]
push ecx
push esi
call eax
test eax, eax
je 0x405b85
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4059c0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405bd6
push 0xc8
call fcn.0040b1a0
add esp, 4
test eax, eax
je 0x405bcf
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 + 0x10], 2
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
mov dword [0x455ee4], eax
mov dword [eax + 0x10], 2
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405c38
push 0xc8
call fcn.0040b1a0
add esp, 4
test eax, eax
je 0x405c31
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 + 0x10], 1
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
xor eax, eax
mov dword [0x455ee4], eax
pop edi
pop esi
pop ebp
mov dword [eax + 0x10], 1
mov al, 1
pop ebx
add esp, 0x3c
ret