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

Disassembly:
push 0x14
push 0x42cf40
call fcn.0040a8e0
push 1
call fcn.00409fc8
pop ecx
test al, al
je 0x40a3ff
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00409f96
mov byte [ebp - 0x24], al
mov eax, dword [0x42fabc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40a3ff
test eax, eax
jne 0x40a323
mov dword [0x42fabc], ecx
push 0x41e328
push 0x41e308
call fcn.0040e801
pop ecx
pop ecx
test eax, eax
je 0x40a306
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40a3ef
push 0x41e304
push 0x41e2c0
call fcn.0040e7a5
pop ecx
pop ecx
mov dword [0x42fabc], 2
jmp 0x40a328
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040a131
pop ecx
call fcn.0040aa3d
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40a359
push esi
call fcn.0040a09d
pop ecx
test al, al
je 0x40a359
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x41e2bc]
call esi
call fcn.0040aa43
mov esi, eax
cmp dword [esi], edi
je 0x40a377
push esi
call fcn.0040a09d
pop ecx
test al, al
je 0x40a377
push dword [esi]
call fcn.0040dc04
pop ecx
call fcn.0040a801
movzx esi, ax
call fcn.0040e75f
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0040a83a
test al, al
je 0x40a406
test bl, bl
jne 0x40a3a5
call fcn.0040dbdf
push edi
push 1
call fcn.0040a14e
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40a3ef
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0040a6e7
push esi
call fcn.0040dc3c
push dword [ebp - 0x20]
call fcn.0040dbee
int3
call fcn.00571000
jmp 0x40a299
Function at 0x4017e0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403798
call fcn.00401d10
push 1
call fcn.004013a9
pop ecx
test al, al
je 0x4017c8
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00401377
mov byte [ebp - 0x24], al
mov eax, dword [0x40408c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4017c8
test eax, eax
jne 0x4016ec
mov dword [0x40408c], ecx
push 0x403130
push 0x403124
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4016cf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4017b8
push 0x403120
push 0x403114
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40408c], 2
jmp 0x4016f1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004014fd
pop ecx
call fcn.00401ea2
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x401722
push esi
call fcn.00401469
pop ecx
test al, al
je 0x401722
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x403110]
call esi
call fcn.00401ea8
mov esi, eax
cmp dword [esi], edi
je 0x401740
push esi
call fcn.00401469
pop ecx
test al, al
je 0x401740
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00401c1a
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00401c53
test al, al
je 0x4017cf
test bl, bl
jne 0x40176e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040151a
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4017b8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401b00
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00493000
jmp 0x401662
Function at 0x10001da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x10001dd0
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x10001dcf
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x10001dbf
pop edi
pop esi
pop ebp
ret 8

Function at 0x100021c8
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x1004e053
call fcn.10018691
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x1000234f
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x10002298
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x1006e020], 0x10
mov ecx, 0x1006e00c
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x1006e00c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1000235e
inc edi
cmp edi, 4
jl 0x10002260
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10002202
mov dword [ebp + 0x10], edi
test edi, edi
je 0x1000234f
mov eax, edi
cmp edi, esi
jge 0x100022ce
cmp eax, esi
jae 0x10002358
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x100022b6
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x1000233a
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x1006e020], 0x10
mov ecx, 0x1006e00c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1006e00c]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.1000235e
inc ebx
cmp ebx, edi
jl 0x1000230b
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x1000234f
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.1000235e
sub esi, 1
jne 0x10002340
mov eax, dword [ebp + 8]
call fcn.1001865a
ret
call fcn.10018bf1
int3
Function at 0x10002d6d
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x1004e0aa
call fcn.10018691
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1000296f
mov ecx, dword [ebp + 8]
push eax
call fcn.1000254a
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x10002ed9
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x10002e33
mov al, cl
mov edi, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
movzx eax, byte [ebp + edi - 0x18]
mov ecx, 0x100705d8
push eax
call fcn.10002617
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x20], al
push dword [ebp - 0x20]
call fcn.10002711
inc edi
cmp edi, 4
jl 0x10002e04
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10002da9
test edi, edi
je 0x10002ed9
mov eax, edi
cmp edi, esi
jge 0x10002e66
cmp eax, esi
jae 0x10002ee2
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x10002e4e
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
test eax, eax
jle 0x10002ec4
lea esi, [edi + 1]
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, 0x100705d8
push eax
call fcn.10002617
mov ecx, dword [ebp + 8]
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
call fcn.10002711
inc ebx
cmp ebx, esi
jl 0x10002e9e
push 3
pop esi
cmp edi, esi
jge 0x10002ed9
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.10002711
sub esi, 1
jne 0x10002eca
mov eax, dword [ebp + 8]
call fcn.1001865a
ret
call fcn.10018bf1
int3
Function at 0x10004e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x10004e92
cmp byte [esi + 0x3d], 0
je 0x10004e92
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10004e64
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10004e68
sub eax, 1
je 0x10004e6c
dec eax
sub eax, 1
je 0x10004e92
xor al, al
jmp 0x10004e94
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10004e89
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10038179
add esp, 0x10
cmp edi, eax
jne 0x10004e64
cmp byte [esi + 0x3d], 0
sete al
jmp 0x10004e94
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10018649
leave
ret

Function at 0x10005751
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x10006094
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1006e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.1002f640
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1000615f
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10006153
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x10006184
cmp edi, 0x80000002
jne 0x10006184
cmp ebx, 0x20019
jne 0x10006184
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x100060e9
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.10003e91
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10018649
leave
ret
Function at 0x10006289
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push 0x10056534
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x1000630a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x1000630a
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x1000630c
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10006d47
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10033e5f
mov ebx, eax
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 4], ebx
lea esi, [ebx + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001863b
lea ecx, [ebx*2 + 2]
mov edi, eax
push ecx
push 0
push edi
call fcn.1002f640
push dword [ebp + 8]
push esi
push edi
call fcn.10033dbb
mov eax, dword [ebp - 4]
add esp, 0x20
xor esi, esi
mov bl, 1
test eax, eax
js 0x10006dd7
push 0x5c
pop ecx
cmp word [edi + esi*2], cx
jne 0x10006dce
xor eax, eax
push edi
mov word [edi + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006dc4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10006dd5
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [edi + esi*2], cx
inc esi
cmp esi, eax
jle 0x10006da1
jmp 0x10006dd7
xor bl, bl
push edi
call fcn.10018644
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x10006de5
Capabilities:
Get disk information

Disassembly:
push 0x3c
mov eax, 0x1004e3f8
call fcn.100186c5
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
mov dword [ebp - 0x44], edi
xor eax, eax
pop ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
jne 0x10006e31
mov byte [ebp - 0x48], bl
push dword [ebp - 0x48]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
jmp 0x10006ef1
movzx eax, word [eax]
lea ecx, [ebp - 0x40]
push eax
call fcn.10006d20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10006e5a
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 0x44], bl
jmp 0x10006eee
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001863b
push esi
mov ebx, eax
push 0
push ebx
call fcn.10006cf6
add esp, 0x10
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10006edc
xor eax, eax
mov esi, ebx
mov word [ebp - 0x46], ax
movzx eax, word [ebx]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.100383ef
add esp, 0xc
test eax, eax
je 0x10006ed1
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x10006ebc
movzx eax, word [esi]
test ax, ax
je 0x10006edc
jmp 0x10006e9a
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.10006d20
push ebx
call fcn.10018644
xor eax, eax
mov dword [edi + 0x14], eax
mov byte [ebp - 0x44], al
mov dword [edi + 0x10], eax
pop ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.10003f59
lea ecx, [ebp - 0x40]
call fcn.10004033
lea ecx, [ebp - 0x28]
call fcn.10004033
mov eax, edi
call fcn.1001866f
ret

Function at 0x10006f14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1006e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], esi
push edi
push eax
call fcn.1002f640
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push edi
push edi
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
je 0x10006f74
push edi
jmp 0x10006f7b
lea eax, [ebp - 0x20c]
push eax
call fcn.10003e91
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10018649
leave
ret
Function at 0x10007305
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.10018cd0
mov eax, dword [0x1006e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
xor ebx, ebx
lea eax, [ebp - 0x1210]
push ebx
push eax
call fcn.1002f640
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x1214], ebx
push ebx
push eax
call fcn.1002f640
add esp, 0x18
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x100073ea
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x100073e9
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1002f640
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.100073fa
add esp, 0x18
test eax, eax
je 0x100073db
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10038731
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.100317ea
add esp, 0x10
test eax, eax
jne 0x100073e2
inc esi
cmp esi, edi
jb 0x1000737f
jmp 0x100073e9
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10018649
leave
ret

Function at 0x100073fa
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x10007427
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebp
ret
Function at 0x10007562
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x1004e4f4
call fcn.100186c5
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x10054a0c
cmovne eax, edx
push eax
call fcn.10003e91
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x100075f1
lea eax, [ebp - 0x858]
push eax
call fcn.10007138
pop ecx
push eax
mov ecx, esi
call fcn.10003ec7
lea ecx, [ebp - 0x858]
call fcn.10004033
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x100075f9
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x80000003
call esi
test eax, eax
je 0x10007639
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.10003e91
jmp 0x1000779e
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x1000767b
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x1000762d
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x100076ae
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x10007664
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x100076e5
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x100076a2
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.1002f640
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.10033e5f
pop ecx
test eax, eax
je 0x10007664
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.10003e91
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.10003e91
lea ecx, [ebp - 0x840]
call fcn.10004033
lea ecx, [ebp - 0x828]
call fcn.10004033
mov eax, edi
call fcn.1001866f
ret 0x14
Function at 0x100077b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1006e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x1000780b
lea eax, [ebp - 0x1c]
push eax
call fcn.10007138
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.10003ec7
lea ecx, [ebp - 0x1c]
call fcn.10004033
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x10007816
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push 0x80000003
call esi
test eax, eax
je 0x10007839
xor al, al
jmp 0x100078e5
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push str.SoftWare
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x1000785c
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10007832
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x1000788e
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x10007832
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100078d4
push edi
call fcn.10033e5f
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018649
leave
ret 0x10