joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e934
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8df0]
jne 0x48e93e
repz ret
jmp fcn.00492ef7

Function at 0x490fb1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a8df0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048b652
and dword [ebp - 0x14], 0
cmp dword [0x4abb2c], 0
mov dword [ebp - 0x18], eax
jne 0x491064
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49110c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x49110c
mov esi, dword [fcn.004873d0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4abb2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4abb30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4abb34], eax
call edi
push eax
call esi
mov dword [0x4abb3c], eax
test eax, eax
je 0x491064
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4abb38], eax
mov eax, dword [0x4abb38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.004873d4]
cmp eax, ecx
je 0x4910bd
cmp dword [0x4abb3c], ecx
je 0x4910bd
push eax
call esi
push dword [0x4abb3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4910bd
test ebx, ebx
je 0x4910bd
call edi
test eax, eax
je 0x4910b4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4910b4
test byte [ebp - 8], 1
jne 0x4910bd
or dword [ebp + 0x10], 0x200000
jmp 0x4910f0
mov eax, dword [0x4abb30]
cmp eax, dword [ebp - 0x18]
je 0x4910f0
push eax
call esi
test eax, eax
je 0x4910f0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4910f0
mov eax, dword [0x4abb34]
cmp eax, dword [ebp - 0x18]
je 0x4910f0
push eax
call esi
test eax, eax
je 0x4910f0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4abb2c]
call esi
test eax, eax
je 0x49110c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49110e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e934
leave
ret
Function at 0x200b748
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x200b7fe
and byte [ebp - 0x79c], 0
cmp dword [ebp - 0x6fc], 3
jne 0x200b89f
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.02009b25
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.02009a86
add esp, 0xc
jmp fcn.0200ba8d
cmp dword [ebp - 0x6fc], 4
jne 0x200b949
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
invalid
inc dword [edx]
cmp dword [ebp - 0x6fc], 5
jne 0x200b9ea
and byte [ebp - 0x7cc], 0
and byte [ebp - 0x7cb], 0
xor eax, 0xfffff8
cmp dword [ebp - 0x6fc], 6
jne 0x200ba88
and byte [ebp - 0x7dc], 0
and byte [ebp - 0x7db], 0
mov byte [ebp - 0x7da], 0x11
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0xb2
mov byte [ebp - 0x7d7], 0x8b
mov byte [ebp - 0x7d6], 0x9c
mov byte [ebp - 0x7d5], 0x9c
mov byte [ebp - 0x7d4], 0x81
mov byte [ebp - 0x7d3], 0x9c
mov byte [ebp - 0x7d2], 0xc0
mov byte [ebp - 0x7d1], 0x82
mov byte [ebp - 0x7d0], 0x81
mov byte [ebp - 0x7cf], 0x89
mov byte [ebp - 0x7ce], 0xee
push 0xb
lea eax, [ebp - 0x7dc]
push eax
call fcn.02009b25
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.02009a86
add esp, 0xc
jmp fcn.0200ba8d
jmp fcn.0200bbbb

Function at 0x200bafd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
je 0x200bb06
jmp fcn.0200bbbb
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x200bb5f
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x200bb64
jmp 0x200b4b7
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x200bbab
lea eax, [ebp - 0x714]
push eax
call fcn.02009b25
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.02009ada
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x200bbb6
jmp fcn.0200bbbb
jmp 0x200b4b7
Function at 0x200c3fe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0
mov dword [ebp - 8], 1
jne 0x200c425
push 0x2006514
call fcn.0200a6bc
pop ecx
push 0x57
pop eax
jmp 0x200c4a8
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call fcn.0200c32e
mov dword [ebp + 8], eax
mov edi, 0x2006500
test eax, eax
jne 0x200c451
push 0x20064c0
call fcn.0200a6bc
pop ecx
jmp 0x200c479
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
push 2
pop ecx
mul ecx
push edx
push eax
call fcn.0200a290
mov ebx, eax
test ebx, ebx
jge 0x200c4ac
push 0x2006470
call fcn.0200a6bc
pop ecx
test ebx, ebx
je 0x200c494
push edi
push 0x2006418
call fcn.0200a6bc
pop ecx
pop ecx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.02008a2c
mov ebx, eax
cmp dword [ebp + 8], 0
je 0x200c4a3
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov esi, 0x2006408
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x200c4ea
push 0x20063c0
call fcn.0200a6bc
pop ecx
push 0x12
push edi
push 1
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x200c475
push 3
push 0x20061d0
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jmp 0x200c477
Function at 0x200c6ef
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x2010010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x230], edi
cmp esi, edi
je 0x200c89e
lea eax, [esi + 4]
mov dword [ebp - 0x238], eax
mov dword [eax], edi
lea eax, [esi + 8]
mov dword [ebp - 0x23c], eax
mov dword [eax], edi
push 0x14
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [esi], edi
call fcn.0200c3fe
test eax, eax
jne 0x200c89e
push ebx
push 0x2006a7c
lea eax, [ebp - 0x2c]
push eax
mov ebx, 0x2004aa8
push ebx
push 0x2006a68
lea eax, [ebp - 0x22c]
push 0x100
push eax
call fcn.02008ac0
add esp, 0x18
test eax, eax
jge 0x200c78e
push 0x2006a7c
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0x20069d0
call fcn.0200a6bc
add esp, 0x10
jmp 0x200c89d
lea eax, [ebp - 0x230]
push eax
push 1
push edi
lea eax, [ebp - 0x22c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x200c87e
cmp dword [ebp - 0x230], edi
je 0x200c87e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x234]
push eax
push esi
push edi
push edi
push 0x20069b4
push dword [ebp - 0x230]
mov dword [ebp - 0x234], 4
call ebx
test eax, eax
je 0x200c7fa
push 0x2006920
call fcn.0200a6bc
mov dword [esi], edi
jmp 0x200c888
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x238]
mov dword [ebp - 0x234], 4
push edi
push edi
push 0x2006904
push dword [ebp - 0x230]
call ebx
test eax, eax
je 0x200c83a
push 0x2006870
call fcn.0200a6bc
mov eax, dword [ebp - 0x238]
mov dword [esi], edi
mov dword [eax], edi
jmp 0x200c888
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x23c]
mov dword [ebp - 0x234], 4
push edi
push edi
push 0x2006858
push dword [ebp - 0x230]
call ebx
test eax, eax
je 0x200c889
push 0x20067c8
call fcn.0200a6bc
mov eax, dword [ebp - 0x238]
mov dword [eax], edi
mov eax, dword [ebp - 0x23c]
jmp 0x200c834
push 0x2006738
call fcn.0200a6bc
pop ecx
cmp dword [ebp - 0x230], edi
je 0x200c89d
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0200de5e
leave
ret 4
Function at 0x200c956
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x2010010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf
lea eax, [ebp - 0x24]
xor esi, esi
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.02008151
cmp eax, esi
je 0x200c99d
push eax
call fcn.0200a6d4
push eax
push 0x2006db8
call fcn.0200a6bc
pop ecx
pop ecx
jmp 0x200ca4c
push esi
call fcn.0200c32e
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x200ca4c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x2006d98
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x200ca34
cmp dword [ebp - 0x28], esi
je 0x200ca34
push 0x1e
lea eax, [ebp - 0x24]
push eax
push 1
push esi
push edi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp ebx, esi
je 0x200ca16
lea eax, [ebp - 0x24]
push eax
push edi
push 0x2006d08
call fcn.0200a6bc
add esp, 0xc
push ebx
call fcn.0200a6d4
push eax
push 0x2006c98
call fcn.0200a6bc
pop ecx
pop ecx
jmp 0x200ca66
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
cmp eax, esi
je 0x200ca4c
push eax
call fcn.0200a6d4
push eax
push 0x2006c10
jmp 0x200c991
push eax
call fcn.0200a6d4
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2006b70
call fcn.0200a6bc
add esp, 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x28], esi
je 0x200ca5c
push dword [ebp - 0x28]
call edi
cmp dword [ebp - 0x2c], esi
je 0x200ca66
push dword [ebp - 0x2c]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0200de5e
leave
ret 4

Function at 0x200cb7c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push 0x20071d8
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x200cc42
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
mov esi, 0x20071b8
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x200cc42
cmp edi, 0xea
je 0x200cc42
xor eax, eax
inc eax
push 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x200cc20
push edi
call fcn.0200a6d4
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
push 0x20070d0
call fcn.0200a6bc
add esp, 0x14
jmp 0x200cc42
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edi, eax
test edi, edi
je 0x200cc42
push edi
call fcn.0200a6d4
push eax
push 0x2007078
call fcn.0200a6bc
pop ecx
pop ecx
cmp dword [ebp - 4], 0
je 0x200cc51
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x200cc5c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x2010010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, 0x800
push esi
lea eax, [ebp - 0x804]
push ebx
push eax
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x810], ebx
mov byte [ebp - 0x805], 0xff
mov dword [ebp - 0x80c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp edi, ebx
jne 0x200ccb3
or al, 0xff
jmp 0x200cdca
lea eax, [ebp - 0x80c]
push eax
push 0xf003f
push ebx
push 0x2007248
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x200cdb0
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
mov edi, 0x2007238
push edi
push dword [ebp - 0x80c]
mov dword [ebp - 0x814], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov ecx, 0xea
cmp eax, ebx
je 0x200cd19
cmp eax, ecx
jne 0x200cdb0
cmp eax, ecx
jne 0x200cddb
push dword [ebp - 0x814]
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 0x810], eax
cmp eax, ebx
je 0x200cdb0
push dword [ebp - 0x814]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x810]
lea eax, [ebp - 0x818]
push eax
push ebx
push edi
push dword [ebp - 0x80c]
call esi
test eax, eax
jne 0x200cd9b
mov eax, dword [ebp - 0x810]
push ebx
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x820]
push ecx
push eax
push dword [ebp - 0x81c]
call fcn.0200b68f
test eax, eax
je 0x200cd9b
mov al, byte [ebp - 0x820]
mov byte [ebp - 0x805], al
cmp dword [ebp - 0x810], ebx
je 0x200cdb0
push dword [ebp - 0x810]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0x80c], ebx
je 0x200cdc4
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x805]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0200de5e
leave
ret 4
lea eax, [ebp - 0x804]
jmp 0x200cd70
Function at 0x200cde8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x2010010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x800
xor edi, edi
push esi
lea eax, [ebp - 0x804]
push edi
push eax
mov dword [ebp - 0x80c], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0xf003f
push edi
push 0x2007248
push 0x80000002
mov dword [ebp - 0x808], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x200cf7a
push ebx
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x81c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x814], esi
mov esi, 0x2007238
push esi
push dword [ebp - 0x810]
call edi
mov ebx, eax
mov eax, 0xea
test ebx, ebx
je 0x200ce8c
cmp ebx, eax
jne 0x200cf55
cmp ebx, eax
jne 0x200cf8a
push dword [ebp - 0x814]
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 0x80c], eax
test eax, eax
je 0x200cf55
push dword [ebp - 0x814]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x80c]
lea eax, [ebp - 0x81c]
push eax
push 0
push esi
push dword [ebp - 0x810]
call edi
mov ebx, eax
test ebx, ebx
jne 0x200cf3f
mov eax, dword [ebp - 0x80c]
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x808]
push ecx
movzx ecx, byte [ebp + 8]
push ecx
push 8
pop ebx
push ebx
push eax
push 0x20071b8
call fcn.0200bdf9
test eax, eax
jl 0x200cf3f
cmp dword [ebp - 0x818], 0
je 0x200cf3f
push dword [ebp - 0x808]
call fcn.0200b730
push eax
push dword [ebp - 0x808]
push 7
push 0
push esi
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp dword [ebp - 0x80c], 0
je 0x200cf55
push dword [ebp - 0x80c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0x808], 0
je 0x200cf6b
push dword [ebp - 0x808]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0200de5e
leave
ret 4
lea eax, [ebp - 0x804]
jmp 0x200ceeb
Function at 0x200d102
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x2010010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor ebx, ebx
push 0xa
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x48], 0x28
rep stosd dword es:[edi], eax
cmp edx, ebx
je 0x200d29d
cmp esi, ebx
je 0x200d29d
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
mov esi, 0x2004aa8
push esi
push 0x80000002
call edi
mov dword [ebp - 0x44], eax
cmp eax, ebx
jne 0x200d276
cmp dword [ebp - 0x34], ebx
je 0x200d276
lea eax, [ebp - 0x30]
push eax
push 3
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x34]
call edi
mov ebx, eax
test ebx, ebx
jne 0x200d22f
cmp dword [ebp - 0x30], eax
je 0x200d22f
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 4
push ebx
mov esi, 0x2007780
push esi
push dword [ebp - 0x30]
call edi
mov ebx, eax
test ebx, ebx
je 0x200d1d0
push dword [ebp - 0x38]
push esi
push 0x2007700
jmp 0x200d238
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
mov esi, 0x20076f4
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
je 0x200d1fd
lea eax, [ebp - 0x2c]
push eax
push esi
push 0x2007670
jmp 0x200d238
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x200d253
push dword [ebp + 0x14]
push dword [ebp - 0x3c]
push 1
push 0
push esi
push dword [ebp - 0x30]
call edi
mov ebx, eax
test ebx, ebx
je 0x200d253
jmp 0x200d1c5
push dword [ebp - 0x40]
push esi
push 0x20075d8
call fcn.0200a6bc
add esp, 0xc
push ebx
call fcn.0200a6d4
push eax
push 0x2007578
call fcn.0200a6bc
pop ecx
pop ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp dword [ebp - 0x34], edi
je 0x200d268
push dword [ebp - 0x34]
call esi
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x30], edi
je 0x200d272
push dword [ebp - 0x30]
call esi
mov eax, ebx
jmp 0x200d2ab
push esi
push 0x20074e0
call fcn.0200a6bc
pop ecx
pop ecx
push dword [ebp - 0x44]
call fcn.0200a6d4
push eax
push 0x2007578
call fcn.0200a6bc
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
jmp 0x200d2ab
push 0x2007470
call fcn.0200a6bc
pop ecx
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0200de5e
leave
ret 0x10
Function at 0x200d2c1
Capabilities:
Modify service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push edi
xor edi, edi
push 0xf003f
push edi
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, edi
jne 0x200d2f1
push 0x57
pop eax
jmp 0x200d44c
push ebx
push esi
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x200d32e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp - 4], eax
call fcn.0200a6d4
push eax
push dword [ebp + 8]
push 0x2007950
call fcn.0200a6bc
add esp, 0xc
jmp 0x200d40b
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
lea ecx, [ebp - 0x10]
push ecx
push edi
push edi
push eax
call esi
test eax, eax
jne 0x200d400
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x7a
jne 0x200d3ec
mov ebx, dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x200d382
push 0x7a
call fcn.0200a6d4
push eax
push 0x20078e0
call fcn.0200a6bc
pop ecx
pop ecx
jmp 0x200d410
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x200d3a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push 0x20078a8
jmp 0x200d405
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
shr eax, 1
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax + 0x10]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x200d3c4
mov dword [ebp - 0x14], esi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x14]
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x200d424
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x200d40b
push eax
call fcn.0200a6d4
push eax
push 0x2007828
call fcn.0200a6bc
pop ecx
jmp 0x200d40a
push 0x2007790
call fcn.0200a6bc
pop ecx
cmp dword [ebp - 4], edi
je 0x200d424
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0200d102
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 8], edi
je 0x200d434
push dword [ebp - 8]
call esi
push dword [ebp - 0x18]
call esi
pop esi
pop ebx
cmp dword [ebp - 0xc], edi
je 0x200d449
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
leave
ret 0x10
Function at 0x401630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x4150d4], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401677
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x404325
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e190
push str.FlsGetValue
push 2
call fcn.00405f32
add esp, 0x10
push dword [ebp + 8]
test eax, eax
je 0x40434c
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop ebp
ret

Function at 0x404947
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e190
push str.FlsSetValue
push 3
call fcn.00405f32
add esp, 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x404971
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret

Function at 0x406027
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e190
push str.FlsAlloc
push 0
call fcn.00405f32
add esp, 0x10
test eax, eax
je 0x40604e
push dword [ebp + 8]
call eax
pop ebp
ret
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x406809
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x415f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff4
call fcn.00404221
mov esi, eax
pop ecx
test esi, esi
je 0x406875
cmp esi, 0xffffffff
je 0x406875
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1f8]
mov al, byte [edx]
mov byte [ecx], al
inc ecx
lea eax, [ebp - 4]
cmp ecx, eax
je 0x406850
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406839
xor eax, eax
push eax
mov byte [ebp - 5], al
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
sub ecx, eax
dec ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040518a
mov esp, ebp
pop ebp
ret

Function at 0x406cc3
Capabilities:
Parse pe header

Disassembly:
call fcn.00407996
test al, al
jne 0x406ccf
xor al, al
ret
push 0
call fcn.004022a6
pop ecx
mov ecx, eax
test ecx, ecx
je 0x406ccc
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406ccc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406ccc
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406ccc
cmp dword [eax + 0x74], 0xe
jbe 0x406ccc
cmp dword [eax + 0xe8], 0
setne al
ret