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

Disassembly:
cmp ecx, dword [0x112ce140]
jne 0x112d4170
repz ret
jmp fcn.112d44af

Function at 0x112da328
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x112ce140]
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.112d5976
and dword [ebp - 0x14], 0
cmp dword [0x112d1b2c], 0
mov dword [ebp - 0x18], eax
jne 0x112da3db
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x112da483
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x112da483
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x112d1b2c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x112d1b30], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x112d1b34], eax
call edi
push eax
call esi
mov dword [0x112d1b3c], eax
test eax, eax
je 0x112da3db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x112d1b38], eax
mov eax, dword [0x112d1b38]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x112da434
cmp dword [0x112d1b3c], ecx
je 0x112da434
push eax
call esi
push dword [0x112d1b3c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x112da434
test ebx, ebx
je 0x112da434
call edi
test eax, eax
je 0x112da42b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x112da42b
test byte [ebp - 8], 1
jne 0x112da434
or dword [ebp + 0x10], 0x200000
jmp 0x112da467
mov eax, dword [0x112d1b30]
cmp eax, dword [ebp - 0x18]
je 0x112da467
push eax
call esi
test eax, eax
je 0x112da467
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x112da467
mov eax, dword [0x112d1b34]
cmp eax, dword [ebp - 0x18]
je 0x112da467
push eax
call esi
test eax, eax
je 0x112da467
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x112d1b2c]
call esi
test eax, eax
je 0x112da483
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x112da485
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.112d4166
leave
ret
Function at 0x401369
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x1c
mov eax, 0x4661bf
call fcn.00460210
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x48220c]
mov ecx, 0x48220c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00401444
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], esi
jne 0x4013d8
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, edi
push eax
push 0x40119f
push esi
push esi
mov dword [ebp - 0x10], esi
call fcn.00444182
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], esi
je 0x401406
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401422
call fcn.004012ee
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4013d3
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
call fcn.004602af
ret
cmp eax, esi
jne 0x40143c
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
jmp 0x401406

Function at 0x401944
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x47f070]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x464381
call fcn.00460210
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4019b1
cmp eax, esi
jge 0x4019b1
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404846
and dword [ebp - 4], 0
push 0x46aab4
push edi
mov ecx, eax
call fcn.004041ef
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040178c
jmp 0x4019bc
push 0x46af74
push edi
call fcn.00404846
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 + 0x208]
xor ecx, ebp
call fcn.00444072
add ebp, 0x20c
leave
ret
Function at 0x401a3e
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x46399f
call fcn.00460210
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x401a71
xor esi, esi
inc esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, esi
call fcn.004602af
ret
mov eax, dword [0x48220c]
mov ecx, 0x48220c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov ebx, 0x46aab4
push ebx
xor ecx, ecx
lea esi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00403fc0
inc eax
mov ecx, eax
jmp 0x401ad4
mov ecx, esi
lea edx, [ebp - 0x14]
lea eax, [ebp + 8]
call fcn.00404114
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401444
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov edi, dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esi + 1]
push ebx
lea esi, [ebp + 8]
call fcn.00403fc0
mov esi, eax
cmp esi, 0xffffffff
jne 0x401a9d
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
neg esi
call fcn.0040178c
jmp 0x401a5e

Function at 0x401fe6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.C:Program_Files
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40204b
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProgramFilesDir
push dword [ebp - 4]
mov dword [ebp - 8], 0x400
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x402733
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xc
mov eax, 0x463d1e
call fcn.00460210
lea eax, [ebp - 0x10]
push eax
push 0x46859c
push 1
xor ebx, ebx
push ebx
push 0x4685ac
mov dword [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
lea esi, [ebp + 8]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.004026cd
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.004026cd
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
cmp dword [ebp - 0x18], ebx
jl 0x402854
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4685bc
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x402847
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00418fe9
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x402818
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x40282a
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
cmp esi, ebx
jl 0x40283e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 1
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x402888
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, ebx
call fcn.004602af
ret
xor ebx, ebx
inc ebx
jmp 0x402854
Function at 0x402eb5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x47f070]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
mov esi, dword [ebp + 0x1a4]
push edi
mov edi, dword [ebp + 0x1a8]
xor ebx, ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], edi
cmp dword [0x4803fc], ebx
je 0x402f15
push str.Advapi32.dll
mov dword [0x4803fc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x402f15
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4836b4], eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 0x1ac]
or eax, 8
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402f94
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402f56
push dword [ebp + 0x1ac]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.00402eb5
add esp, 0xc
test eax, eax
jne 0x402f65
push edi
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x402f3d
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4836b4]
cmp eax, ebx
je 0x402f88
push ebx
push dword [ebp + 0x1ac]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call eax
jmp 0x402f94
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444072
add ebp, 0x19c
leave
ret

Function at 0x4033da
Capabilities:
Enumerate files on windows

Disassembly:
push 0x25c
mov eax, 0x4643d2
call fcn.00460279
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4033fa
mov ecx, ebx
call fcn.00404492
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004015bb
add eax, 0x10
mov dword [ebp - 0x264], eax
push 0x5c
push 0x2f
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00403ddc
lea esi, [ebp - 0x264]
call fcn.00403ff1
mov ecx, eax
inc ecx
lea edx, [ebp - 0x268]
mov eax, esi
call fcn.00404114
mov edi, esi
mov byte [ebp - 4], 2
call fcn.00401444
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.0040178c
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4034e0
test byte [ebp - 0x260], 0x10
jne 0x4034c7
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.004041ef
pop ecx
pop ecx
mov byte [ebp - 4], 3
push dword [ebx + 4]
mov eax, dword [eax]
push eax
mov edi, ebx
call fcn.004044ef
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4034b0
mov dword [ecx], eax
jmp 0x4034b2
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.0040178c
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403470
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
call fcn.004602c3
ret
Function at 0x403567
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x47f070]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x464381
call fcn.00460210
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
jae 0x4035d0
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404846
and dword [ebp - 4], 0
push 0x46aab4
push edi
mov ecx, eax
call fcn.004041ef
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040178c
jmp 0x4035db
push 0x46af74
push edi
call fcn.00404846
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 + 0x208]
xor ecx, ebp
call fcn.00444072
add ebp, 0x20c
leave
ret

Function at 0x403c2a
Capabilities:
Get memory capacity

Disassembly:
push 0x88
mov eax, 0x46517f
call fcn.00460210
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
call fcn.00434493
mov byte [ebp - 4], 3
mov eax, dword [0x48220c]
mov esi, 0x48220c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x38
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 4
push edi
push eax
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x90], edi
call fcn.004484f0
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
shrd edi, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp - 0x80]
shrd ebx, eax, 0x14
shr eax, 0x14
mov eax, dword [0x48220c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push ebx
lea eax, [ebp - 0x14]
push str._m:_d__d_
push eax
mov byte [ebp - 4], 5
call fcn.0040447f
mov esi, dword [ebp - 0x14]
add esp, 0x10
push dword [esi - 0xc]
lea eax, [ebp + 0x10]
push esi
call fcn.00404400
lea eax, [ebp - 0x1c]
push eax
call fcn.00403bb9
pop ecx
mov byte [ebp - 4], 6
push dword [ebp + 0x10]
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.https:__log.bandi.so_error_app.php_name_sbuildDate_sversion_slog_s
push eax
call fcn.0040447f
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add esp, 0x18
add eax, 0xfffffff0
call fcn.0040178c
and dword [ebp - 0x1c], 0
push 0
push str.XHttp
lea eax, [ebp - 0x54]
push eax
push ecx
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x20], esp
mov ebx, esp
call fcn.004015bb
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
call fcn.0040dc1a
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.0040178c
mov eax, edi
call fcn.0040178c
lea eax, [ebp - 0x54]
call fcn.004344dc
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
inc eax
call fcn.004602af
ret
Function at 0x4046e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4046fa
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40472f
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x40472b
cmp edi, eax
jae 0x40472f
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40471d
cmp edi, eax
jb 0x404733
xor eax, eax
jmp 0x40473c
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x405710
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x40571e
push 0xd
pop eax
jmp 0x405751
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x405725
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x405bc7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x47f070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00405b89
mov ebx, eax
cmp ebx, edi
je 0x405c2d
cmp dword [ebp - 0x214], edi
je 0x405c26
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405cc5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x405c55
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00405bc7
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x405cd6
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x405c35
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x405ca0
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00405d43
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x405cc3
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444072
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x405cea
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x405cc5

Function at 0x405d43
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x4837c8], 0
jne 0x405d73
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405d6c
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4837cc], eax
mov byte [0x4837c8], 1
mov eax, dword [0x4837cc]
test eax, eax
je 0x405d8b
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x405d97
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x4071d0
Capabilities:
Set current directory

Disassembly:
push 0x1c
mov eax, 0x466f56
call fcn.00460210
mov ebx, ecx
lea esi, [ebp - 0x10]
call fcn.00401f9d
xor esi, esi
lea edi, [ebx + 0x470]
mov dword [ebp - 4], esi
call fcn.00401444
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
lea eax, [ebp - 0x10]
push eax
call fcn.00401eff
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [0x48220c]
mov ecx, 0x48220c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp dword [ebx + 0x474], esi
je 0x407297
mov eax, dword [edi]
push ecx
mov dword [ebp - 0x14], esp
sub eax, 0x10
mov dword [ebp - 0x14], esp
call fcn.004015bb
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, ebx
call fcn.0040a935
cmp eax, esi
jne 0x407287
push esi
push esi
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040178c
xor eax, eax
call fcn.004602af
ret
lea eax, [ebx + 0x498]
lea edi, [ebp - 0x10]
call fcn.00401444
jmp 0x4072c0
mov ecx, dword [ebx + 0x4d4]
lea edi, [ebp - 0x14]
call fcn.00401f49
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401444
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
mov dword [ebp - 0x14], eax
call fcn.004015bb
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.0040b077
cmp eax, esi
jne 0x407315
push 0x30
push str.XSTUB
push str.Error_at_ReadData
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push esi
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
call fcn.0040178c
mov eax, esi
jmp 0x407281
cmp dword [ebx + 0x474], esi
je 0x40733e
cmp dword [ebx + 0x4c8], esi
je 0x40733e
call fcn.004034ff
test eax, eax
jne 0x40733e
mov ecx, ebx
call fcn.0040787e
test eax, eax
je 0x40733e
xor esi, esi
inc esi
jmp 0x407306
push 8
push dword [0x48222c]
mov dword [0x4806c0], 0x46c58c
mov dword [0x48069c], esi
mov dword [0x4806b8], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x4806b0], eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [eax], esi
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.004079cb
mov eax, dword [ebx + 0x4a8]
cmp dword [eax - 0xc], esi
je 0x4073a2
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, ebx
call fcn.0040b90e
call fcn.0040bab4
test eax, eax
jne 0x4073c0
xor esi, esi
push esi
push esi
push 0x10
push dword [ebx + 4]
jmp 0x407300
add ebx, 4
push ebx
call fcn.00407d93
jmp 0x407339
Function at 0x40787e
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x465101
call fcn.00460210
mov ebx, ecx
lea esi, [ebp - 0x1c]
call fcn.00401f9d
and dword [ebp - 4], 0
mov eax, dword [0x48220c]
mov esi, 0x48220c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x48220c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], 0
push str.xinsttemp.exe
je 0x4078f1
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x4a0]
push eax
lea eax, [ebp - 0x14]
push str._s_d_s
push eax
call fcn.0040447f
add esp, 0x14
jmp 0x40791d
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x4a0]
push eax
call fcn.004041ef
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401444
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040178c
lea esi, [ebp - 0x28]
call fcn.004031a2
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040419e
pop ecx
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00401444
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.0040178c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.0040178c
mov esi, dword [ebp - 0x18]
xor edi, edi
push edi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4079aa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x2710
jl 0x4078c9
lea eax, [esi - 0x10]
call fcn.0040178c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040178c
mov eax, edi
call fcn.004602af
ret
mov ebx, dword [ebx + 0x4d4]
push 5
push edi
push ebx
push esi
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x407984
xor edi, edi
inc edi
jmp 0x407984