joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d940
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
push closesocket
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42d97d
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x42d9d8
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42d9a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x42d9d8
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42d9c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x42d9d8
mov ecx, dword [ebp - 0x28]
and ecx, 4
je 0x42d9d8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret
Function at 0x42dd20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.00430670
test eax, eax
jne 0x42dd55
push str.WNC_NO_LOAD_ON_SET
call fcn.00430ad0
add esp, 4
test eax, eax
je 0x42dd55
or eax, 0xffffffff
jmp 0x42dedb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x44ff24
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
push 0x44ff2c
call fcn.00430670
push eax
call fcn.0042e3c0
add esp, 8
mov word [ebp - 8], ax
lea eax, [ebp - 0x210]
push eax
movzx ecx, word [ebp - 8]
push ecx
call fcn.00430670
push eax
call fcn.0042f220
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42ded8
push 0x44ff30
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x42ddd1
mov dword [ebp - 0x214], 0x44ff34
jmp 0x42ddda
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x42ded8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x214]
push eax
push 0x44ff40
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.MSVCR100.dll__putenv]
add esp, 4
mov eax, dword [ebp + 8]
push eax
push 0x44ff48
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x200
lea edx, [ebp - 0x418]
push edx
call fcn.004304d0
add esp, 8
test eax, eax
je 0x42de98
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__putenv]
add esp, 4
mov ecx, dword [ebp - 0x214]
push ecx
push str.Wputenv_:_error_changing_the_value_of__s
lea edx, [ebp - 0x618]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x618]
push eax
call fcn.004361d0
add esp, 4
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x214]
push edx
push 0x44ff78
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__putenv]
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret

Function at 0x430080
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.WNC_BUFFER_TOO_SMALL_OPTION
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4300c2
push str.crash
mov eax, dword [ebp - 4]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x4300c2
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ecx], 1
mov esp, ebp
pop ebp
ret
Function at 0x430ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x4505c0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x430af5
call fcn.00431230
jmp 0x430bda
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x430b13
mov eax, dword [ebp - 4]
jmp 0x430bda
cmp dword [0x4746b4], 0
jne 0x430b21
call fcn.00430be0
push 0x4505c4
mov edx, dword [0x4746b4]
push edx
call fcn.0042e3c0
add esp, 8
mov word [ebp - 8], ax
movsx eax, word [ebp - 8]
test eax, eax
jge 0x430b48
xor eax, eax
jmp 0x430bda
mov ecx, dword [ebp + 8]
push ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [0x4746b4]
push eax
call fcn.0042ea80
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x430bd7
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
jmp 0x430b79
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x430b85
jmp 0x430b70
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x430b99
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jb 0x430bb8
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x20
jg 0x430bb8
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jl 0x430bb8
jmp 0x430b90
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x430bd7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431750
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0x4505c8
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x431792
push str.WNCTMPDIR
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x431790
push str.from_environment_variable_WNCTMPDIR
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 8
xor eax, eax
jmp 0x4317d0
jmp 0x4317b9
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x4317b9
push str.from_environment
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 8
xor eax, eax
jmp 0x4317d0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [0x4746b4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042e330
add esp, 0xc
pop ebp
ret

Function at 0x431850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x431870
xor eax, eax
jmp 0x4319a8
mov eax, dword [ebp + 8]
push eax
push 0x450614
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x190]
push edx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4318aa
mov eax, dword [ebp - 4]
jmp 0x4319a8
cmp dword [0x4746b4], 0
jne 0x4318b8
call fcn.00430be0
push str.path
mov eax, dword [0x4746b4]
push eax
call fcn.0042e3c0
add esp, 8
mov word [ebp - 8], ax
movsx ecx, word [ebp - 8]
test ecx, ecx
jge 0x4318de
xor eax, eax
jmp 0x4319a8
mov edx, dword [ebp + 8]
push edx
movzx eax, word [ebp - 8]
push eax
mov ecx, dword [0x4746b4]
push ecx
call fcn.0042ea80
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4319a5
mov edx, dword [ebp - 4]
mov dword [ebp - 0x194], edx
jmp 0x43191d
mov eax, dword [ebp - 0x194]
add eax, 1
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
movsx edx, byte [ecx]
test edx, edx
je 0x43192c
jmp 0x43190e
mov eax, dword [ebp - 0x194]
sub eax, 1
mov dword [ebp - 0x194], eax
jmp 0x43194c
mov ecx, dword [ebp - 0x194]
sub ecx, 1
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
cmp edx, dword [ebp - 4]
jb 0x431974
mov eax, dword [ebp - 0x194]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x431974
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx]
test eax, eax
jl 0x431974
jmp 0x43193d
mov ecx, dword [ebp - 0x194]
add ecx, 1
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
movsx eax, byte [edx]
test eax, eax
je 0x4319a5
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x198]
mov byte [edx], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret
Function at 0x4319c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
push str._sPATH
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
je 0x431a11
lea eax, [ebp - 0x58]
push eax
push str.from_environment__s
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
xor eax, eax
jmp 0x431a27
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [0x4746b4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e330
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret
Function at 0x434750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
and eax, 0x10
je 0x43477d
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
jmp 0x43478e
mov edx, dword [ebp + 0x10]
and edx, 0xc
je 0x43478e
mov eax, dword [ebp - 4]
or eax, 0x10
mov dword [ebp - 4], eax
push 0x44
push 0
lea ecx, [ebp - 0xa0]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
mov edx, dword [ebp + 0x10]
and edx, 0xc
je 0x4347d3
push 0x50
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
mov byte [ebp - 9], 0
lea edx, [ebp - 0x58]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + 0x10]
and eax, 8
je 0x4347ed
mov ecx, dword [ebp - 0x74]
or ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, 7
mov word [ebp - 0x70], dx
mov eax, dword [ebp + 0x10]
and eax, 0x40
je 0x434822
mov ecx, dword [ebp - 0x74]
or ecx, 0x100
mov dword [ebp - 0x74], ecx
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x68], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x64], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x60], eax
cmp dword [0x474a50], 0
je 0x434849
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x474a50]
add esp, 8
mov dword [0x474a50], 0
mov dword [ebp - 0xa8], 0
push str.WNC_CP_INHERIT_HANDLES
call fcn.00430ad0
add esp, 4
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x434891
push 0x450a4c
mov ecx, dword [ebp - 0xc0]
push ecx
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
je 0x434891
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR100.dll__strdup]
add esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xbc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
cmp dword [ebp - 0xa4], 0
je 0x434915
mov eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xb0]
jmp 0x434918
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret

Function at 0x435000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [0x4748d0]
test eax, eax
jne 0x435030
push 0x80
push 0x4748d0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.cmd.exe
push 0x4748d0
call sub.MSVCR100.dll_strcat
add esp, 8
xor eax, eax
pop ebp
ret
Function at 0x435c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x435c3b
xor eax, eax
jmp 0x435c47
mov eax, dword [ebp - 4]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x435d30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll__mkdir]
add esp, 4
test eax, eax
je 0x435d54
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [eax], 0xd
je 0x435d54
or eax, 0xffffffff
jmp 0x435d56
xor eax, eax
pop ebp
ret
Function at 0x435fe0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x470428]
xor eax, ebp
mov dword [ebp - 0x18], eax
push 0x450b40
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x436012
mov eax, dword [ebp - 4]
jmp 0x436199
push str.WNCHOME_LS
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43615d
push 0x200
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x436051
xor eax, eax
jmp 0x436199
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
jmp 0x43606e
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x436094
mov edx, dword [ebp - 0x21c]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x436092
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], 0x2f
jmp 0x43605f
push 0x2f
lea edx, [ebp - 0x218]
push edx
call fcn.00406fb0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4360b5
xor eax, eax
jmp 0x436199
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
push 0x2f
lea edx, [ebp - 0x218]
push edx
call fcn.00406fb0
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4360e5
xor eax, eax
jmp 0x436199
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
push 0x2f
lea edx, [ebp - 0x218]
push edx
call fcn.00406fb0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x436115
xor eax, eax
jmp 0x436199
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
push 0x450b54
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
jne 0x436150
push 0x450b58
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x436154
xor eax, eax
jmp 0x436199
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], ecx
movzx edx, byte [ebp + 8]
test edx, edx
je 0x436196
push 0x450b5c
push 0x474a70
call sub.MSVCR100.dll_strcpy
add esp, 8
mov eax, dword [ebp - 4]
push eax
push 0x474a70
call sub.MSVCR100.dll_strcat
add esp, 8
push 0x474a70
call dword [sym.imp.MSVCR100.dll__putenv]
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00442e52
mov esp, ebp
pop ebp
ret

Function at 0x4362f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.WNC_WNCFILES_VERBOSE
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x436329
push 0x450b80
mov eax, dword [ebp - 4]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
je 0x436329
mov eax, 1
jmp 0x43632b
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x442e52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470428]
jne 0x442e5c
repz ret
jmp fcn.004433de

Function at 0x445790
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x470784], 0
jle 0x4457a6
mov eax, dword [0x470784]
jmp 0x4457be
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x10]
mov dword [0x470784], ecx
mov eax, dword [0x470784]
mov esp, ebp
pop ebp
ret
Function at 0x704c1be0
Capabilities:
Check os version

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x140
mov ebx, dword [ecx]
test byte [0x704c4018], 8
jne 0x704c1c70
test ebx, ebx
je 0x704c1cb0
lea eax, [ebp - 0x124]
mov dword [ebx], 0
mov dword [ebp - 0x124], 0x11c
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
sub esp, 4
test eax, eax
jne 0x704c1c58
cmp dword [ebp - 0x120], 6
mov edx, 1
ja 0x704c1c43
mov edx, 0
je 0x704c1ca0
mov dword [ebx], edx
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x704c6040
mov dword [esp + 8], str.DwmIsCompositionEnabled
mov dword [esp + 4], 0x704c4018
mov dword [esp], 3
call fcn.704c1ae0
jmp 0x704c1c00
xor edx, edx
cmp dword [ebp - 0x11c], 2
seta dl
mov dword [ebx], edx
jmp 0x704c1c45
mov eax, 0x80070057
jmp 0x704c1c5a
Function at 0x4cd491
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x78]
test esi, esi
je 0x4cd691
mov edi, ecx
mov ecx, esi
call fcn.00477eb1
mov ecx, esi
mov ebx, eax
call fcn.00477ec1
mov dword [esp + 0x18], eax
cmp ebx, eax
jne 0x4cd54e
jmp 0x4cd691
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
test al, al
je 0x4cd53a
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4cd53a
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4cd591
mov eax, dword [ecx]
lea ebp, [esp + 0x40]
mov dword [esp + 0x40], 0xa1f948
mov dword [esp + 0x44], 0
mov dword [esp], ebp
call dword [eax + 8]
sub esp, 4
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4cd591
mov eax, dword [esi]
mov ebp, dword [eax + 8]
call fcn.004779b1
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call ebp
sub esp, 8
mov dword [esp], ebx
call fcn.0095b5c1
mov ebx, eax
cmp eax, dword [esp + 0x18]
je 0x4cd691
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.00433c11
mov ecx, dword [edi + 4]
mov dword [esp], eax
call fcn.0042dca1
sub esp, 4
mov esi, eax
test eax, eax
je 0x4cd53a
mov eax, dword [eax]
mov ecx, esi
call dword [eax + 0x4c]
test al, al
je 0x4cd4d1
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
jmp 0x4cd4e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
test al, al
je 0x4cd53a
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4cd53a
mov eax, dword [ecx]
lea ebp, [esp + 0x40]
mov dword [esp + 0x40], 0xa1f920
mov dword [esp + 0x44], 0
mov dword [esp], ebp
call dword [eax + 8]
sub esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4cd53a
mov dword [esp], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call fcn.00477d61
mov ecx, ebp
sub esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00477d81
sub esp, 4
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
lea esi, [esi]
cmp eax, ebp
je 0x4cd53a
mov ecx, dword [eax]
test ecx, ecx
je 0x4cd65a
mov eax, dword [ecx]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0xa1f948
mov dword [esp + 0x2c], 0
mov dword [esp], edx
call dword [eax + 8]
sub esp, 4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4cd652
mov eax, dword [esi]
mov ebp, dword [eax + 8]
call fcn.004779b1
mov ecx, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call ebp
sub esp, 8
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
add eax, 4
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x38]
jne 0x4cd601
mov eax, dword [esp + 0x3c]
lea edx, [eax + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], edx
lea edx, [eax + 0x200]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
jmp 0x4cd601
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x4d1661
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x4d16b1
xor eax, eax
xor ecx, ecx
lea esi, [esi]
nop
movzx edx, byte [esi + eax]
xor dl, byte [edi + eax]
add eax, 1
or ecx, edx
cmp ebx, eax
jne 0x4d1681
not ecx
pop ebx
pop esi
mov eax, ecx
pop edi
shr al, 4
and eax, ecx
mov ecx, eax
shr cl, 2
and ecx, eax
mov eax, ecx
shr al, 1
and eax, ecx
ret
pop ebx
mov eax, 1
pop esi
pop edi
ret
Function at 0x524f31
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x44
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x1c], ebp
lea esi, [esi]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esi, eax
mov ebx, eax
adc edi, edx
shld eax, edx, 0xd
mov dword [esp + 0x34], esi
shld edx, ebx, 0xd
mov ebx, eax
mov dword [esp + 0x30], edi
mov eax, edx
mov edx, dword [esp + 4]
xor ebx, esi
mov esi, dword [esp + 0x30]
xor eax, edi
mov dword [esp + 0x20], ebx
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp]
mov ebx, edx
mov ebp, eax
mov ecx, eax
add ecx, dword [esp + 0x10]
adc ebx, dword [esp + 0x14]
shld eax, edx, 0x10
shld edx, ebp, 0x10
mov ebp, eax
mov eax, edx
xor ebp, ecx
xor eax, ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esi, eax
mov ebp, eax
adc edi, edx
shld eax, edx, 0x15
shld edx, ebp, 0x15
mov ebp, eax
mov eax, edx
xor ebp, esi
mov edx, dword [esp + 0x24]
xor eax, edi
mov dword [esp], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov ebp, eax
adc ebx, edx
shld eax, edx, 0x11
add dword [esp + 0x1c], 1
shld edx, ebp, 0x11
mov ebp, eax
mov dword [esp + 0x10], ebx
mov eax, edx
xor ebp, ecx
mov dword [esp + 0x14], ecx
xor eax, ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], eax
jne 0x524f79
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [eax + 4], edi
mov edi, eax
mov dword [eax], esi
mov eax, dword [esp + 8]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [esp + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esp]
mov dword [edi + 0x1c], edx
mov dword [edi + 0x18], eax
add esp, 0x44
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x525591
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
sub esp, 0x40
mov eax, dword [ecx + 0x1d8]
test eax, eax
je 0x5255ad
nop
mov ecx, eax
mov eax, dword [eax + 0x1d8]
test eax, eax
jne 0x5255a1
add ecx, 0x1ec
mov ecx, dword [ecx]
mov dword [esp + 8], 0x70736575
mov dword [esp + 0xc], 0x736f6d65
mov eax, ecx
xor ecx, 0x79746573
mov dword [esp + 0x14], 0x646f7261
xor eax, 0x6e646f6d
mov dword [esp + 0x20], ecx
xor ecx, ecx
cmp byte [edx], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], 0x6e657261
mov dword [esp + 0x1c], 0x6c796765
mov dword [esp + 0x24], 0x74656462
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
je 0x52562a
lea esi, [esi]
nop
add ecx, 1
cmp byte [edx + ecx], 0
jne 0x525621
lea eax, [esp + 8]
call fcn.00525081
lea eax, [esp + 8]
call fcn.00525151
add esp, 0x40
pop ebx
ret