Function at 0x405240
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4283b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x24], 0x7c6b7d7b
mov dword [ebp - 0x20], 0x68617c7e
mov dword [ebp - 0x1c], 0x2e6b6267
mov edi, dword [eax]
mov eax, dword [0x43aff4]
cmp eax, dword [edi + 4]
jle 0x4052ed
push 0x43aff4
call fcn.0040ef4c
add esp, 4
cmp dword [0x43aff4], 0xffffffff
jne 0x4052ed
movq xmm0, qword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push 0x428ba0
movq qword [0x43ac44], xmm0
mov dword [0x43ac4c], eax
call fcn.0040f373
add esp, 4
push 0x43aff4
call fcn.0040ef02
add esp, 4
cmp byte [0x43ac4f], 0
je 0x40530d
xor eax, eax
nop dword [eax + eax]
xor byte [eax + 0x43ac44], 0x2e
inc eax
cmp eax, 0xc
jb 0x405300
mov ecx, 0x43ac44
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405330
sub ecx, edx
push ecx
push 0x43ac44
lea ecx, [ebp - 0x60]
call fcn.00403070
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.004170f7
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405382
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403070
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x4053cd
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4053c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40572a
push edx
push ecx
call fcn.0040ee03
add esp, 8
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
push 8
push 0x4359b4
cmp eax, 8
jb 0x405416
cmp edx, 0x10
lea esi, [ebp - 0x40]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x40]
add esi, ecx
mov dword [ebp - 0x30], eax
push esi
call fcn.00410370
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x405427
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
push 8
call fcn.00403340
mov eax, dword [0x43af0c]
mov word [ebp - 0x18], 0x2e6d
cmp eax, dword [edi + 4]
jle 0x405482
push 0x43af0c
call fcn.0040ef4c
add esp, 4
cmp dword [0x43af0c], 0xffffffff
jne 0x405482
movaps xmm0, xmmword [0x435c40]
mov ax, word [ebp - 0x18]
push 0x428b80
movups xmmword [0x43ac20], xmm0
mov word [0x43ac30], ax
call fcn.0040f373
add esp, 4
push 0x43af0c
call fcn.0040ef02
add esp, 4
cmp byte [0x43ac31], 0
je 0x4054bd
movups xmm0, xmmword [0x43ac20]
mov eax, 0x10
movaps xmm1, xmmword [0x435bd0]
pxor xmm1, xmm0
movups xmmword [0x43ac20], xmm1
nop dword [eax]
xor byte [eax + 0x43ac20], 0x2e
inc eax
cmp eax, 0x12
jb 0x4054b0
sub esp, 0x18
mov ecx, 0x43ac20
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4054e0
sub ecx, esi
push ecx
push 0x43ac20
mov ecx, edx
call fcn.00403070
lea ecx, [ebp - 0x40]
call fcn.00404e90
add esp, 0x18
mov dword [ebp - 0x20], 0x4b426d6d
test eax, eax
mov dword [ebp - 0x1c], 0x5c4b404f
mov eax, dword [0x43aef8]
setne byte [ebp - 0x42]
mov byte [ebp - 0x41], 0x2e
cmp eax, dword [edi + 4]
jle 0x40556b
push 0x43aef8
call fcn.0040ef4c
add esp, 4
cmp dword [0x43aef8], 0xffffffff
jne 0x40556b
movq xmm0, qword [ebp - 0x20]
mov al, byte [ebp - 0x41]
push 0x428b60
movq qword [0x43abd4], xmm0
mov byte [0x43abdc], al
call fcn.0040f373
add esp, 4
push 0x43aef8
call fcn.0040ef02
add esp, 4
mov al, byte [0x43abdc]
test al, al
je 0x4055b3
xor byte [0x43abd4], 0x2e
xor byte [0x43abd5], 0x2e
xor byte [0x43abd6], 0x2e
xor byte [0x43abd7], 0x2e
xor byte [0x43abd8], 0x2e
xor byte [0x43abd9], 0x2e
xor byte [0x43abda], 0x2e
xor byte [0x43abdb], 0x2e
xor al, 0x2e
mov byte [0x43abdc], al
sub esp, 0x18
mov ecx, 0x43abd4
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4055d4
sub ecx, esi
push ecx
push 0x43abd4
mov ecx, edx
call fcn.00403070
lea ecx, [ebp - 0x40]
call fcn.00404e90
add esp, 0x18
mov byte [ebp - 0x41], 0x2e
test eax, eax
mov eax, dword [0x43abf0]
setne byte [ebp - 0x43]
cmp eax, dword [edi + 4]
jle 0x405652
push 0x43abf0
call fcn.0040ef4c
add esp, 4
cmp dword [0x43abf0], 0xffffffff
jne 0x405652
movaps xmm0, xmmword [0x435c10]
mov al, byte [ebp - 0x41]
push 0x428b40
movups xmmword [0x43acec], xmm0
mov byte [0x43acfc], al
call fcn.0040f373
add esp, 4
push 0x43abf0
call fcn.0040ef02
add esp, 4
mov al, byte [0x43acfc]
test al, al
je 0x40567b
movups xmm0, xmmword [0x43acec]
xor al, 0x2e
movaps xmm1, xmmword [0x435bd0]
pxor xmm1, xmm0
mov byte [0x43acfc], al
movups xmmword [0x43acec], xmm1
sub esp, 0x18
mov ecx, 0x43acec
mov edx, esp
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4056a0
sub ecx, esi
push ecx
push 0x43acec
mov ecx, edx
call fcn.00403070
lea ecx, [ebp - 0x40]
call fcn.00404e90
add esp, 0x18
test eax, eax
je 0x4056d8
cmp byte [ebp - 0x42], 0
je 0x4056d8
cmp byte [ebp - 0x43], 0
je 0x4056d8
mov esi, 1
jmp 0x4056da
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x40570a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405700
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40572f
push edx
push ecx
call fcn.0040ee03
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040ebc3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004133d7
call fcn.004133d7
int3