Function at 0x4081b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dd17
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4750bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xb0], edi
cmp dword [0x475744], 0
mov dword [ebp - 4], 0
jne 0x408231
movaps xmm0, xmmword [0x45fd60]
lea ecx, [ebp - 0x48]
push 5
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x54535219
mov dword [ebp - 0x34], 0x510400
mov byte [ebp - 0x30], 1
call fcn.0040a810
push eax
call fcn.0040fa40
add esp, 8
push 0x2d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x20], 0x26362124
xor ecx, ecx
mov dword [ebp - 0x1c], 0x3d3a373b
mov word [ebp - 0x18], 0x100
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 8
jb 0x408247
lea eax, [ebp - 0x20]
mov byte [ebp - 0x17], 0
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
mov dword [ebp - 0xa8], 0
mov ecx, edx
mov dword [ebp - 0x98], 0
add esp, 4
mov dword [ebp - 0x94], 0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408290
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.004022a0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
push 4
mov byte [ebp - 4], 2
call fcn.0045bf0a
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4082df
mov ecx, eax
call fcn.0040f790
push 0x1024
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x1024
mov ebx, eax
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov byte [0x4756dc], 0
mov ecx, 0x4756e0
push 0
push 0x45fc37
call fcn.004035c0
mov dword [ebp - 0x1c], 0x20322013
xor ecx, ecx
mov dword [ebp - 0x18], 0x1003723
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 6
jb 0x408328
lea eax, [ebp - 0xaa]
mov byte [ebp - 0x15], 0
push eax
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004065c0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004108d0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x408373
mov edx, dword [edx]
mov dword [ebp - 0x2c], 0x3d273130
xor ecx, ecx
mov dword [ebp - 0x28], 0x100383a
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 6
jb 0x408383
push edx
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4083d6
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408412
push ecx
push edx
call fcn.0045bf3a
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x408422
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408418
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408418
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
lea eax, [ebp - 0x48]
push 0x475764
push eax
call fcn.004108d0
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x408441
mov edx, dword [edx]
mov dword [ebp - 0x20], 0x3c272730
xor ecx, ecx
mov dword [ebp - 0x1c], 0x333f0a
mov byte [ebp - 0x18], 1
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 7
jb 0x408455
push edx
lea eax, [ebp - 0x20]
mov byte [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x4084ae
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4084a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4084a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x47574c
call fcn.00402540
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa9]
call fcn.00412560
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x4084da
mov edx, dword [edx]
mov dword [ebp - 0x24], 0x3c272730
xor ecx, ecx
mov dword [ebp - 0x20], 0x31233830
mov dword [ebp - 0x1c], 0x352f3b3a
mov dword [ebp - 0x18], 0x1003032
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xe
jb 0x4084f8
push edx
lea eax, [ebp - 0x24]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x408551
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408547
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408547
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00402540
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa9]
call fcn.00412560
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x408579
mov edx, dword [edx]
mov dword [ebp - 0x1c], 0x20322013
xor ecx, ecx
mov dword [ebp - 0x18], 0x1003723
nop dword [eax]
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 6
jb 0x408590
push edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x4085e9
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4085df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4085df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x47571c
call fcn.00402540
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa9]
call fcn.00412560
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x408615
mov edx, dword [edx]
mov dword [ebp - 0x1c], 0x31203d3d
xor ecx, ecx
mov word [ebp - 0x18], 0x27
mov byte [ebp - 0x16], 1
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 5
jb 0x408628
push edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x16], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x408681
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408677
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408677
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
call fcn.00402540
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa9]
call fcn.00412560
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x4086af
mov edx, dword [edx]
mov dword [ebp - 0x1c], 0x26362138
xor ecx, ecx
mov word [ebp - 0x18], 0x100
nop
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 4
jb 0x4086c0
push edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x17], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040e940
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x408719
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40870f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40870f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
movaps xmm0, xmmword [str.9_lxw__:___]
lea ecx, [ebp - 0x64]
push 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x4a0e0503
mov dword [ebp - 0x38], 0x470a0906
mov dword [ebp - 0x34], 0x43021a08
mov word [ebp - 0x30], 0x100
call fcn.0040eb00
sub esp, 0x18
mov esi, eax
mov edx, esp
mov dword [ebp - 0x28], esp
mov ecx, esi
mov dword [edx], 0
mov dword [edx + 0x10], 0
lea edi, [ecx + 1]
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408770
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.004022a0
push ebx
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov edx, esp
mov dword [ebp - 0x18], edx
cmp byte [ebp - 0x2f], 0
je 0x4087a9
xor ecx, ecx
mov al, cl
add al, 0x51
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 0x1c
jb 0x408797
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0xaa]
mov ecx, edx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004065c0
mov byte [ebp - 4], 2
call fcn.0040c540
add esp, 0x38
test al, al
je 0x408902
cmp ebx, 0x45fc68
je 0x408902
push 0x1024
push 0
push dword [0x4757b0]
call sub.VCRUNTIME140.dll_memset
mov esi, dword [0x4757b0]
add esp, 0xc
mov edx, ebx
nop dword [eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x408800
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 0xb0]
add esp, 4
call fcn.00408910
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x408853
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408849
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408891
push ecx
push edx
call fcn.0045bf3a
add esp, 8
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x4088a1
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408897
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045bf48
mov esp, ebp
pop ebp
ret
push 0x2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3