Function at 0x40bf70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d429
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4bf100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x40caee
push pe_nt_image_headers32
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00473b60
mov eax, dword fs:[0x30]
add esp, 0xc
mov esi, dword [eax + 0xa4]
mov edi, dword [eax + 0xa8]
movzx eax, word [eax + 0xac]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x40c008
cmp dword [ebp - 0x130], 0
je 0x40c008
mov cl, 1
jmp 0x40c00a
xor cl, cl
push dword [ebp - 0x144]
test cl, cl
mov edx, str.32_bit
mov eax, str.64_bit
cmove eax, edx
push eax
push edi
push esi
push str.Windows__i._i__s__Build__i_
lea eax, [ebp - 0x90]
push pe_nt_image_headers32
push eax
call fcn.0040f940
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x114], 0
add esp, 0x1c
lea edx, [ecx + 1]
movups xmmword [ebp - 0x128], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c062
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00404640
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x9c], 0x6576457b
lea edx, [ecx + 1]
mov dword [ebp - 0x98], 0x3a73746e
mov word [ebp - 0x94], 0x5b
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c0d3
sub ecx, edx
lea eax, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.00404640
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x134]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], ecx
cmp eax, ecx
je 0x40c88f
lea edi, [eax + 0x1c]
mov dword [ebp - 0x140], edi
nop dword [eax + eax]
cmp dword [edi - 0xc], 0
je 0x40c942
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x40c942
movaps xmm0, xmmword [0x4b7210]
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0x2c227d7d
movaps xmm0, xmmword [0x4b71c0]
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x14], 0
movaps xmm0, xmmword [0x4b7050]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0xb0], 0
movaps xmm0, xmmword [0x4b7200]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0xac], 0
movaps xmm0, xmmword [0x4b7070]
movups xmmword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc0], xmm0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c1a0
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0x76657b7b
mov dword [ebp - 0xcc], 0x6e746e65
lea edx, [ecx + 1]
mov dword [ebp - 0xc8], 0x7d656d61
mov word [ebp - 0xc4], 0x7d
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c210
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404640
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa8]
mov edi, dword [ebp - 0x94]
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x98]
mov esi, dword [ebp - 0xa8]
cmp edi, 0xf
mov edx, dword [ebp - 0xb0]
cmova eax, esi
cmp dword [ebp - 0xac], 0xf
push eax
cmova ecx, dword [ebp - 0xc0]
push 0
call fcn.00404540
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c2a2
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
cmp dword [edx - 8], 0xf
jbe 0x40c28c
mov ecx, dword [ecx]
push dword [edx - 0xc]
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0xc0]
push eax
call fcn.004109f0
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40c2d6
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40c2cc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push esi
call fcn.00471b8b
add esp, 8
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x1f
push eax
lea eax, [ebp - 0xf8]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xf8], xmm0
call fcn.00405260
movups xmm0, xmmword [str.Feb_20_2024_11:40:49]
mov esi, eax
mov dword [ebp - 0xe8], 0x14
mov eax, dword [ebp - 0x130]
add esp, 8
mov dword [ebp - 0x130], eax
mov dword [ebp - 0xe4], eax
movups xmmword [esi], xmm0
mov eax, dword [0x4b457c]
mov dword [esi + 0x10], eax
mov dword [ebp - 0xf8], esi
mov byte [esi + 0x14], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0x75627b7b
mov dword [ebp - 0xdc], 0x74646c69
lea edx, [ecx + 1]
mov dword [ebp - 0xd8], 0x7d656d69
mov word [ebp - 0xd4], 0x7d
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c390
sub ecx, edx
lea eax, [ebp - 0xe0]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404640
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0xf
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x98]
mov edi, dword [ebp - 0xa8]
cmova eax, edi
cmp dword [ebp - 0xac], 0xf
mov edx, dword [ebp - 0xb0]
cmova ecx, dword [ebp - 0xc0]
push eax
push 0
call fcn.00404540
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c42d
cmp dword [ebp - 0x130], 0xf
lea ecx, [ebp - 0xf8]
push 0x14
cmova ecx, esi
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0xc0]
push eax
call fcn.004109f0
mov edx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x94]
cmp eax, 0xf
jbe 0x40c467
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40c45d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push edi
call fcn.00471b8b
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x130]
cmp eax, 0xf
jbe 0x40c4a1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40c497
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push esi
call fcn.00471b8b
add esp, 8
movaps xmm0, xmmword [0x4b6fe0]
lea ecx, [ebp - 0xa4]
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0x7d7d6d
lea edx, [ecx + 1]
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c4e0
sub ecx, edx
lea eax, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404640
mov byte [ebp - 4], 6
lea eax, [ebp - 0xf8]
mov edi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xe8]
mov esi, dword [ebp - 0xf8]
cmp edi, 0xf
mov edx, dword [ebp - 0xb0]
cmova eax, esi
cmp dword [ebp - 0xac], 0xf
push eax
cmova ecx, dword [ebp - 0xc0]
push 0
call fcn.00404540
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c575
cmp dword [ebp - 0x114], 0xf
lea ecx, [ebp - 0x128]
push dword [ebp - 0x118]
cmova ecx, dword [ebp - 0x128]
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xc0]
push eax
call fcn.004109f0
mov byte [ebp - 4], 2
cmp edi, 0xf
jbe 0x40c5a9
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40c59f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push esi
call fcn.00471b8b
add esp, 8
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x130], 0
mov eax, dword [edi]
mov esi, dword [edi - 4]
mov dword [ebp - 0x154], eax
cmp esi, eax
je 0x40c7bb
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x98], 1
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0xf
mov word [ebp - 0xa8], 0x22
mov edx, esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf8]
call fcn.004054e0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40c617
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403d60
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0xf
jbe 0x40c662
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c658
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push edx
call fcn.00471b8b
add esp, 8
cmp dword [esi + 0x30], 0
mov eax, 0x4b4478
mov edx, 0x4b4474
cmovne edx, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c678
sub eax, edi
lea ecx, [ebp - 0xa8]
push eax
push edx
call fcn.00403d60
lea edx, [esi + 0x18]
lea ecx, [ebp - 0xf8]
call fcn.004054e0
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x40c6ab
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403d60
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0xf
jbe 0x40c6f6
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c6ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push edx
call fcn.00471b8b
add esp, 8
cmp dword [esi + 0x30], 0
jne 0x40c70e
push 1
push 0x4b4470
lea ecx, [ebp - 0xa8]
call fcn.00403d60
mov edi, dword [ebp - 0x140]
mov edx, dword [ebp - 0x130]
mov eax, dword [edi]
sub eax, dword [edi - 4]
sar eax, 2
imul ecx, eax, 0xc4ec4ec5
mov eax, edx
inc edx
mov dword [ebp - 0x130], edx
dec ecx
cmp eax, ecx
jae 0x40c748
push 1
push 0x4b447c
lea ecx, [ebp - 0xa8]
call fcn.00403d60
cmp dword [ebp - 0x94], 0xf
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmova eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
push eax
call fcn.00403d60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
cmp ecx, 0xf
jbe 0x40c7ac
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c7a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push edx
call fcn.00471b8b
add esp, 8
add esi, 0x34
cmp esi, dword [ebp - 0x154]
jne 0x40c5d0
push 1
push 0x4b4480
lea ecx, [ebp - 0xc0]
call fcn.00403d60
cmp dword [ebp - 0xac], 0xf
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmova eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x110]
push eax
call fcn.00403d60
mov esi, dword [ebp - 0x134]
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov esi, dword [ebp - 0x144]
sar eax, 2
imul ecx, eax, 0x38e38e39
mov eax, esi
inc esi
mov dword [ebp - 0x144], esi
dec ecx
cmp eax, ecx
jae 0x40c82d
push 1
push 0x4b447c
lea ecx, [ebp - 0x110]
call fcn.00403d60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xac]
cmp ecx, 0xf
jbe 0x40c86b
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c861
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
push ecx
push edx
call fcn.00471b8b
add esp, 8
mov eax, dword [ebp - 0x13c]
add edi, 0x24
add eax, 0x24
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], eax
cmp eax, dword [ebp - 0x138]
jne 0x40c120
xorps xmm0, xmm0
mov word [ebp - 0x134], 0x7d5d
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x132], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xac], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c8c6
sub ecx, edx
lea eax, [ebp - 0x134]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00404640
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xc0]
cmp dword [ebp - 0xac], 0xf
lea ecx, [ebp - 0x110]
push dword [ebp - 0xb0]
cmova eax, dword [ebp - 0xc0]
push eax
call fcn.00403d60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xac]
cmp ecx, 0xf
jbe 0x40c958
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c94e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb0b
jmp 0x40c94e
mov byte [ebp - 0x129], 0
jmp 0x40ca5b
push ecx
push edx
call fcn.00471b8b
add esp, 8
cmp dword [ebp - 0xfc], 0xf
lea edi, [ebp - 0x110]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x150], 0
cmova edi, dword [ebp - 0x110]
add edi, dword [ebp - 0x100]
cmp dword [ebp - 0xfc], 0xf
mov dword [ebp - 0x14c], 0
cmova eax, dword [ebp - 0x110]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x148], 0
sub edi, eax
je 0x40c9ee
push edi
lea ecx, [ebp - 0x150]
call fcn.00409910
mov esi, dword [ebp - 0x150]
push edi
push dword [ebp - 0x138]
push esi
call fcn.004735e0
add esp, 0xc
mov dword [ebp - 0x138], 0
lea eax, [esi + edi]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x14c], eax
call fcn.004098b0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xb
call fcn.0040d0f0
mov ecx, dword [ebp - 0x150]
mov byte [ebp - 0x129], al
test ecx, ecx
je 0x40ca5b
mov edx, dword [ebp - 0x148]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40ca33
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb10
push edx
push ecx
call fcn.00471b8b
add esp, 8
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x40ca95
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb10
push ecx
push edx
call fcn.00471b8b
add esp, 8
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp ecx, 0xf
jbe 0x40cae6
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cadc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb10
push ecx
push edx
call fcn.00471b8b
add esp, 8
mov al, byte [ebp - 0x129]
jmp 0x40caf0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b48
mov esp, ebp
pop ebp
ret
call fcn.00477334
call fcn.00477334
int3