joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4232cb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x46c9da
call fcn.0044993b
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004013f4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
je 0x423333
lea eax, [ebp - 0x18]
push eax
push 0x20119
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x423333
push 0x470b08
mov ecx, dword [ebp + 8]
call fcn.00406dd3
jmp 0x4233f1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov dword [ebp - 0x28], eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.00401462
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 3
jmp 0x4233c1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00422a53
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x28], ebx
je 0x4233e8
push str.NULLABLE
call fcn.00406609
jmp 0x4233f1
lea eax, [ebp - 0x14]
push eax
call fcn.004016b8
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040141e
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0040141e
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.0040141e
mov eax, dword [ebp + 8]
call fcn.004499e0
ret 0x10
Function at 0x42372c
Capabilities:
Set registry value

Disassembly:
push 0x28
mov eax, 0x46cb4f
call fcn.00449971
mov esi, ecx
mov dword [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.0041d177
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00422bee
push eax
mov ecx, esi
call fcn.0042353a
lea eax, [ebp - 0x30]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00422bee
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423814
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00422bee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x423814
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0040141e
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040141e
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.0040141e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040141e
mov eax, esi
call fcn.004499f4
ret 0x10
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.0040213a
mov byte [ebp - 4], 7
push dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00403c4a
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42383f
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
add ecx, ecx
push ecx
push eax
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00422a53
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004029a3
jmp 0x4237db
Function at 0x42387e
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x46cba4
call fcn.00449908
mov esi, ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0041d177
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00422bee
push eax
mov ecx, esi
call fcn.0042353a
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00422bee
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42395a
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004016b8
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00422bee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x42395a
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040141e
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040141e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0040141e
mov eax, esi
call fcn.004499e0
ret 0x10
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42392c
Function at 0x424f9d
Capabilities:
Reference wmi statements

Disassembly:
push 8
mov eax, 0x46cf26
call fcn.00449908
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
and dword [ebp - 0x10], 0
push str.Caption
push 0x47091b
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
push esi
mov dword [ebp - 0x14], esi
call fcn.00424cac
add esp, 0x14
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.004499e0
ret

Function at 0x424fe7
Capabilities:
Get geographical location

Disassembly:
push 0x20c
mov eax, 0x46cf63
call fcn.00449971
and dword [ebp - 4], 0
and dword [ebp - 0x214], 0
mov esi, dword [ebp + 8]
xor eax, eax
push 0x1fc
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov dword [ebp - 0x218], esi
call fcn.0044b690
add esp, 0xc
push 0x1fe
lea eax, [ebp - 0x210]
push eax
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, esi
call fcn.004013f4
and dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
mov dword [ebp - 0x214], 1
call fcn.0040184b
mov eax, esi
call fcn.004499f4
ret 4
Function at 0x431d14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x431d5b
call fcn.00433293
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x431d5b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x431d77
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043188c
mov esi, eax
test edi, edi
je 0x431d75
test ebx, ebx
je 0x431d75
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43251a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46e91f
call fcn.00449908
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43253f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x432585
lea ecx, [ebp - 0x10]
call fcn.004013f4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425d88
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040101a
mov eax, esi
call fcn.004499e0
ret 8

Function at 0x433834
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43387c
call fcn.00433293
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43387c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4338bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4338a8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4338a8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4338bc
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43c384
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x43c3a8
cmp dword [edi + 0x54], 0
jne 0x43c3a8
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00433293
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0043c345
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x440a73
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x440a9e
call fcn.00433293
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x440ac1
push eax
push dword [esi + 4]
call fcn.004409f9
push esi
push eax
mov ecx, 0x4948a0
call fcn.00440680
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x441541
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x46e411
call fcn.00449908
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00441501
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004013f4
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4415a7
push eax
push dword [esi + 8]
call fcn.004409f9
push dword [esi + 0xc]
mov ecx, 0x4948a0
push eax
call fcn.00440680
mov eax, esi
call fcn.004499e0
ret 0x18

Function at 0x4498f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4913c8]
jne 0x449903
repz ret
jmp fcn.00452cac
Function at 0x45dff7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004517f2
and dword [ebp - 4], 0
cmp dword [0x495700], 0
mov ebx, eax
jne 0x45e0a8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e159
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45e159
push eax
call fcn.00451780
mov dword [esp], 0x479ff8
push edi
mov dword [0x495700], eax
call esi
push eax
call fcn.00451780
mov dword [esp], 0x479fe4
push edi
mov dword [0x495704], eax
call esi
push eax
call fcn.00451780
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x495708], eax
call esi
push eax
call fcn.00451780
pop ecx
mov dword [0x495710], eax
test eax, eax
je 0x45e0a8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00451780
pop ecx
mov dword [0x49570c], eax
mov eax, dword [0x49570c]
cmp eax, ebx
je 0x45e100
cmp dword [0x495710], ebx
je 0x45e100
push eax
call fcn.004517fb
push dword [0x495710]
mov esi, eax
call fcn.004517fb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45e100
test edi, edi
je 0x45e100
call esi
test eax, eax
je 0x45e0f7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e0f7
test byte [ebp - 0xc], 1
jne 0x45e100
or dword [ebp + 0x10], 0x200000
jmp 0x45e139
mov eax, dword [0x495704]
cmp eax, ebx
je 0x45e139
push eax
call fcn.004517fb
pop ecx
test eax, eax
je 0x45e139
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45e139
mov eax, dword [0x495708]
cmp eax, ebx
je 0x45e139
push eax
call fcn.004517fb
pop ecx
test eax, eax
je 0x45e139
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x495700]
call fcn.004517fb
pop ecx
test eax, eax
je 0x45e159
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e15b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100486e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 0x40
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp - 4]
call fcn.01004840
test eax, eax
jl 0x1004907
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push 2
pop ecx
mul ecx
push edx
push eax
call fcn.0100480e
test eax, eax
jl 0x1004907
test edi, edi
je 0x10048b5
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x100490b
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0xea
je 0x1004880
test esi, esi
jne 0x10048f3
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
xor edi, edi
test edi, edi
je 0x10048ff
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret 0xc
mov esi, eax
jmp 0x10048f3
push 8
pop esi
jmp 0x10048f3
Function at 0x40ce80
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x815030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ed02d4]
push ebx
mov ebx, dword [0x2ecfff4]
push esi
mov esi, dword [0x816060]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cec1
push str.tiyayejetupoxasowujozizoc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ed02d4]
mov dword [0x2ecfff0], esi
cmp eax, 0x114e
jne 0x40cee9
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push str.Gufut_dawasu_xekewoxocig_luraseno
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2ed02d4]
cmp eax, 0x2f
jne 0x40cf17
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push edi
push ebx
call fcn.0040cd40
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x10062a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100daaa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100cff36
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10065220
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10062a54
jmp dword [ecx*4 + 0x10062bbc]
mov al, byte [esi]
test al, al
je 0x10062a82
cmp al, 0x20
je 0x10062a6e
cmp al, 0xa1
jne 0x10062a82
cmp byte [esi + 1], al
jne 0x10062a82
test al, 0x80
je 0x10062a7a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10062a82
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10062a61
test ecx, ecx
je case.default.0x10062a54
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10062a54
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10062ac8
cmp dl, 0xa1
jne 0x10062abc
cmp byte [eax + 1], 0xa1
jne 0x10062abc
test ecx, ecx
jne 0x10062ab4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10062adc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10062af6
jmp 0x10062adc
cmp dl, 0x20
jne 0x10062ada
test ecx, ecx
jne 0x10062ad3
mov edi, eax
mov ecx, 1
jmp 0x10062adc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10062a9c
cmp ecx, 1
jne case.default.0x10062a54
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10062a54
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10062a54
mov al, byte [esi]
test al, al
je 0x10062b4e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10062b34
mov cl, byte [esi + 1]
test cl, cl
je 0x10062b4e
cmp al, 0xa1
jne 0x10062b24
cmp cl, al
je 0x10062b31
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100654f0
inc esi
jmp 0x10062b46
cmp al, 0x20
je 0x10062b46
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10065530
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10062b0d
push 0
lea ecx, [esp + 0x14]
call fcn.10065530
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1007aa40
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10062b81
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10102a30
call fcn.10065420
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100cfec8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1006f7f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100db57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100cfc3d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1006f872
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100cd3ed
mov eax, dword [eax]
push 0x10119224
push eax
call fcn.100bff74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100cfec8
test bl, bl
je 0x1006f872
push 0x10119224
lea ecx, [esp + 0xc]
call fcn.100d0258
push 0x1011cdb0
lea ecx, [esp + 0xc]
call fcn.100d0258
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1006f8ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100cfec8
jmp 0x1006f979
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1006f932
lea edx, [esp + 0x7c]
push 0x1011cdac
push edx
call fcn.100bff74
add esp, 8
test eax, eax
je 0x1006f932
lea eax, [esp + 0x7c]
push 0x1011cda8
push eax
call fcn.100bff74
add esp, 8
test eax, eax
je 0x1006f932
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1006f8c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100cfec8
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10070170
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100701d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x100701e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100db5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10126208]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10070318
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10070246
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100cfec8
xor eax, eax
jmp 0x1007038f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100d0005
push esi
lea ecx, [esp + 0xc]
call fcn.100d0294
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1007036d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10070170
test eax, eax
jne 0x1007036d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.10070170
test eax, eax
jne 0x1007036d
lea eax, [esp + 0x14]
push 0x1011cdc4
push eax
call fcn.100c0fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007034c
lea ecx, [esp + 0x14]
push 0x1011cdc0
push ecx
call fcn.100c0f30
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007034c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1007034f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100cffb5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1007025e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100cfec8
xor eax, eax
jmp 0x1007038f
mov byte [esi], 0
push 0x1011cdbc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.100cfec8
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4