Function at 0x40bed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497ac9
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4bd0c8]
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 - 0x148], ecx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
je 0x40ca07
push pe_nt_image_headers32
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00470230
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 - 0x14c], eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x40bf68
cmp dword [ebp - 0x150], 0
je 0x40bf68
mov cl, 1
jmp 0x40bf6a
xor cl, cl
push dword [ebp - 0x14c]
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.0040e020
add esp, 0x1c
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bfd0
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00403e10
mov dword [ebp - 4], 1
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x9c], 0x6576457b
mov dword [ebp - 0x98], 0x3a73746e
mov word [ebp - 0x94], 0x5b
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x110], 0
mov byte [ebp - 4], 1
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c050
sub ecx, edx
lea eax, [ebp - 0x9c]
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.00403e10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
cmp eax, ecx
je 0x40c7a4
lea edi, [eax + 0x1c]
cmp dword [edi - 0xc], 0
je 0x40c862
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x40c862
movaps xmm0, xmmword [0x4b5070]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x18], 0x2c227d7d
movaps xmm0, xmmword [0x4b5050]
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0x14], 0
movaps xmm0, xmmword [0x4b4fd0]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0xc0], 0
movaps xmm0, xmmword [0x4b5060]
movups xmmword [ebp - 0x38], xmm0
movaps xmm0, xmmword [0x4b4fe0]
movups xmmword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xc0], 0
mov byte [ebp - 4], 3
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c118
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00403e10
mov dword [ebp - 0xd0], 0x76657b7b
mov dword [ebp - 0xcc], 0x6e746e65
mov dword [ebp - 0xc8], 0x7d656d61
mov word [ebp - 0xc4], 0x7d
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 5
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c190
sub ecx, edx
lea eax, [ebp - 0xd0]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403e10
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x98]
mov esi, dword [ebp - 0xa8]
setae byte [ebp - 0x141]
mov edx, dword [ebp - 0xb0]
cmovae eax, esi
cmp dword [ebp - 0xac], 0x10
push eax
cmovae ecx, dword [ebp - 0xc0]
push 0
call fcn.00404990
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c223
cmp dword [edi - 8], 0x10
mov edx, dword [ebp - 0x154]
mov ecx, edx
jb 0x40c20d
mov ecx, dword [edx]
push dword [edi - 0xc]
push ecx
push dword [ebp - 0x98]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0040f6f0
cmp byte [ebp - 0x141], 0
mov byte [ebp - 4], 5
je 0x40c25f
mov ecx, dword [ebp - 0x94]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40c255
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push ecx
push esi
call fcn.0046e37b
add esp, 8
push 0x20
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00404230
movups xmm0, xmmword [str.Sep_12_2023_10:48:48]
mov esi, eax
mov dword [ebp - 0xe8], 0x14
mov dword [ebp - 0xe4], 0x1f
mov dword [ebp - 0xf8], esi
movups xmmword [esi], xmm0
mov ecx, dword [0x4b25e4]
mov dword [esi + 0x10], ecx
mov byte [esi + 0x14], 0
mov dword [ebp - 0xe0], 0x75627b7b
mov dword [ebp - 0xdc], 0x74646c69
mov dword [ebp - 0xd8], 0x7d656d69
mov word [ebp - 0xd4], 0x7d
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 9
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c300
sub ecx, edx
lea eax, [ebp - 0xe0]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403e10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 0x10
mov ecx, dword [ebp - 0xa8]
push dword [ebp - 0x98]
mov edx, dword [ebp - 0xb0]
cmovae eax, ecx
setae byte [ebp - 0x141]
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0xc0]
push eax
cmovae ecx, dword [ebp - 0xc0]
push 0
call fcn.00404990
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c38e
push 0x14
push esi
push dword [ebp - 0x98]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0040f6f0
mov esi, dword [ebp - 0xf8]
cmp byte [ebp - 0x141], 0
mov byte [ebp - 4], 9
je 0x40c3d0
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c3c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0x10
jb 0x40c408
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x40c3fe
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push ecx
push esi
call fcn.0046e37b
add esp, 8
movaps xmm0, xmmword [0x4b4f90]
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0x7d7d6d
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xf8], 0
mov byte [ebp - 4], 5
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c452
sub ecx, edx
lea eax, [ebp - 0xa4]
push ecx
push eax
lea ecx, [ebp - 0xf8]
call fcn.00403e10
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 0x10
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xe8]
mov esi, dword [ebp - 0xf8]
setae byte [ebp - 0x141]
mov edx, dword [ebp - 0xb0]
cmovae eax, esi
cmp dword [ebp - 0xac], 0x10
push eax
cmovae ecx, dword [ebp - 0xc0]
push 0
call fcn.00404990
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c4ec
cmp dword [ebp - 0x12c], 0x10
lea ecx, [ebp - 0x140]
push dword [ebp - 0x130]
cmovae ecx, dword [ebp - 0x140]
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0040f6f0
cmp byte [ebp - 0x141], 0
mov byte [ebp - 4], 5
je 0x40c528
mov ecx, dword [ebp - 0xe4]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x40c51e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push ecx
push esi
call fcn.0046e37b
add esp, 8
mov eax, dword [edi]
mov esi, dword [edi - 4]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x16c], eax
cmp esi, eax
je 0x40c6d6
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 1
mov word [ebp - 0xa8], 0x22
mov edx, esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf8]
call fcn.004053c0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40c58c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403f00
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xf
call fcn.00403830
cmp dword [esi + 0x30], 0
mov eax, 0x4b24c8
mov edx, 0x4b24c4
cmovne edx, eax
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x168], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c5c4
sub eax, dword [ebp - 0x168]
lea ecx, [ebp - 0xa8]
push eax
push edx
call fcn.00403f00
lea edx, [esi + 0x18]
lea ecx, [ebp - 0xf8]
call fcn.004053c0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40c5fb
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403f00
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xf
call fcn.00403830
cmp dword [esi + 0x30], 0
jne 0x40c62f
push 1
push 0x4b24c0
lea ecx, [ebp - 0xa8]
call fcn.00403f00
mov eax, dword [edi]
sub eax, dword [edi - 4]
mov edx, dword [ebp - 0x150]
sar eax, 2
imul ecx, eax, 0xc4ec4ec5
mov eax, edx
inc edx
mov dword [ebp - 0x150], edx
dec ecx
cmp eax, ecx
jae 0x40c663
push 1
push 0x4b24cc
lea ecx, [ebp - 0xa8]
call fcn.00403f00
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xc0]
push eax
call fcn.00403f00
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x40c6c7
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c6bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push edx
push ecx
call fcn.0046e37b
add esp, 8
add esi, 0x34
cmp esi, dword [ebp - 0x16c]
jne 0x40c545
push 1
push 0x4b24d0
lea ecx, [ebp - 0xc0]
call fcn.00403f00
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x110]
push eax
call fcn.00403f00
mov esi, dword [ebp - 0x148]
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov esi, dword [ebp - 0x14c]
sar eax, 2
imul ecx, eax, 0x38e38e39
mov eax, esi
inc esi
mov dword [ebp - 0x14c], esi
dec ecx
cmp eax, ecx
jae 0x40c748
push 1
push 0x4b24cc
lea ecx, [ebp - 0x110]
call fcn.00403f00
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x40c786
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c77c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov eax, dword [ebp - 0x154]
add edi, 0x24
add eax, 0x24
mov dword [ebp - 0x154], eax
cmp eax, dword [ebp - 0x158]
jne 0x40c092
mov word [ebp - 0x148], 0x7d5d
mov byte [ebp - 0x146], 0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 3
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c7e6
sub ecx, edx
lea eax, [ebp - 0x148]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.00403e10
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x110]
push dword [ebp - 0x118]
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.00403f00
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40c878
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c86e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca24
jmp 0x40c86e
mov byte [ebp - 0x141], 0
jmp 0x40c974
push edx
push ecx
call fcn.0046e37b
add esp, 8
cmp dword [ebp - 0xfc], 0x10
lea ecx, [ebp - 0x110]
mov edi, dword [ebp - 0x100]
jb 0x40c897
mov ecx, dword [ebp - 0x110]
add edi, ecx
jmp 0x40c89f
add edi, ecx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
sub edi, ecx
je 0x40c907
push edi
lea ecx, [ebp - 0x164]
call fcn.00409d80
mov esi, dword [ebp - 0x164]
push edi
push dword [ebp - 0x14c]
push esi
call fcn.0046fcb0
add esp, 0xc
mov dword [ebp - 0x158], 0
lea eax, [edi + esi]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x160], eax
call fcn.00409cd0
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x14
call fcn.0040ce40
mov ecx, dword [ebp - 0x164]
mov byte [ebp - 0x141], al
test ecx, ecx
je 0x40c974
mov edx, dword [ebp - 0x15c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40c94c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca29
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov edx, dword [ebp - 0xfc]
cmp edx, 0x10
jb 0x40c9ae
mov ecx, dword [ebp - 0x110]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca29
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp edx, 0x10
jb 0x40c9ff
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c9f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ca29
push edx
push ecx
call fcn.0046e37b
add esp, 8
mov al, byte [ebp - 0x141]
jmp 0x40ca09
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.0046e338
mov esp, ebp
pop ebp
ret
call fcn.00473144
call fcn.00473144
int3