joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x45627c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x45627c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x456266
push eax
call ebp
test ax, ax
jl 0x456274
inc esi
add edi, 4
cmp esi, 6
jb 0x456258
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00455f30
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x458f90
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x458ff0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x458ff0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x458ff0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x458ff0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x459000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x46d523
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46d55b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046b5da
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b5b2
jmp 0x46d567
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ec15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ec57
call fcn.00474853
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ec57
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ec4e
xor eax, eax
jmp 0x46ec5f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ec65
pop edi
pop esi
pop ebx
ret 4

Function at 0x474d83
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474db1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474dcf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474ce9
jmp 0x474dcf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474dcf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474ce9
test edi, edi
mov eax, edi
jne 0x474db9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402f3f
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00407020
mov eax, dword [0x408064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x1004]
push eax
push ebx
mov dword [ebp - 0x1014], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1010], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x1008], eax
dec eax
cmp eax, 0x3fe
ja 0x40312c
push edi
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov edi, eax
mov dword [ebp - 0x1008], edi
test edi, edi
je 0x40312b
push esi
push edi
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x40312a
push esi
push edi
push ebx
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
je 0x403122
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], ebx
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x401158
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x100c]
test ecx, ecx
je 0x4030d9
movzx eax, word [ecx + 2]
mov edi, 0x4011ac
push 0x40118c
push eax
movzx eax, word [ecx]
mov ebx, 0x400
push eax
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00402e57
add esp, 0x18
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x100c]
push 0x4011e4
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00402e57
add esp, 0x18
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x100c]
push 0x401208
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00402e57
add esp, 0x18
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x1018], 0
je 0x403116
cmp dword [ebp - 0x1014], 0
je 0x403116
cmp dword [ebp - 0x1010], 0
je 0x403116
push dword [ebp - 0x1010]
push dword [ebp - 0x1014]
push dword [ebp - 0x1018]
push 0x401228
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 0x10
jmp 0x403122
push 0x401260
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406960
leave
ret
Function at 0x404634
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 6
pop ecx
xor ebx, ebx
mov eax, 0x1000000
mov esi, 0x104
mov dword [0x409250], eax
push esi
mov dword [0x408f30], eax
mov edi, 0x408908
xor eax, eax
mov dword [0x408900], ebx
push ebx
rep stosd dword es:[edi], eax
push 0x408f40
mov dword [0x408904], ebx
mov dword [0x409254], ebx
mov dword [0x408f34], ebx
call sub.msvcrt.dll_memset
pop ecx
pop ecx
push esi
mov ecx, 0x408050
call fcn.00405ed8
test al, al
je 0x40482b
push ecx
mov edi, 0x408030
push esi
mov ecx, edi
call fcn.00405ed8
test al, al
je 0x40482b
mov ecx, dword [0x408054]
mov eax, dword [0x408050]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test esi, esi
je 0x40481a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40481a
push ecx
push esi
mov ecx, 0x408050
call fcn.00405ed8
mov ecx, dword [0x408034]
mov eax, dword [0x408030]
sub ecx, eax
push ebx
push ebx
sar ecx, 1
push ecx
push eax
push ebx
push ebx
push ebx
push ebx
push dword [0x408050]
call dword [sym.imp.msvcrt.dll__wsplitpath_s]
add esp, 0x24
test eax, eax
je 0x404722
push eax
push 0x401ec0
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x404836
mov edx, dword [0x408034]
mov eax, dword [0x408030]
sub edx, eax
sar edx, 1
push edx
push eax
call dword [sym.imp.msvcrt.dll_wcsnlen]
pop ecx
push eax
mov ecx, edi
call fcn.00405ed8
push 0x401ee4
call fcn.004045c1
mov dword [esp], 0x400
mov esi, 0x408b30
push esi
push 0x401c0c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 1
push esi
setl al
dec al
and byte [0x408b30], al
push 0x401efc
call fcn.004045c1
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
inc eax
push esi
push eax
mov dword [0x408f38], eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x4047b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401f10
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
mov dword [0x408f38], ebx
jmp 0x404836
push 0x10813
call dword [sym.imp.dbghelp.dll_SymSetOptions]
push eax
push 0x401f34
mov dword [0x408924], eax
call fcn.004045c1
pop ecx
pop ecx
push ebx
push ebx
push 0x404610
push dword [0x408f38]
call dword [sym.imp.dbghelp.dll_SymRegisterCallback64]
mov esi, eax
test esi, esi
jne 0x4047fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401f44
jmp 0x404716
call fcn.00403b9d
cmp dword [0x4087ec], ebx
jne 0x404816
push 0x401f70
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
mov eax, esi
jmp 0x404839
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x401e98
jmp 0x404716
push 0x401e74
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4048d1
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x408064]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x424], edx
push edi
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], edx
cmp dword [ebp + 0xc], edx
jne 0x404917
push 0x401fd4
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
xor eax, eax
jmp 0x404a8a
mov ecx, 0x104
lea eax, [ebp - 0x418]
push ecx
push eax
push ecx
lea eax, [ebp - 0x210]
push eax
push edx
push edx
push edx
push edx
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__wsplitpath_s]
add esp, 0x24
cmp word [ebp - 0x418], si
jne 0x40495d
mov edi, dword [0x409250]
mov ebx, dword [0x409254]
mov dword [ebp - 0x420], 1
jmp 0x404999
lea eax, [ebp - 0x418]
push 0x402008
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40498d
mov edi, dword [0x409250]
mov ebx, dword [0x409254]
mov dword [ebp - 0x41c], 1
jmp 0x404999
mov edi, dword [0x408f30]
mov ebx, dword [0x408f34]
mov eax, dword [0x408900]
or eax, dword [0x408904]
je 0x4049ab
call fcn.0040483d
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x424]
jne 0x4049b4
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
call fcn.00405f95
test al, al
jne 0x4049ec
push dword [ebp + 8]
push 0x402014
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
jmp 0x40490f
cmp dword [ebp - 0x41c], esi
jne 0x404a18
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x404a1d
mov eax, 0x1000000
push dword [ebp - 0x420]
xor ecx, ecx
push ecx
push eax
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
push esi
push dword [0x408f38]
call dword [sym.imp.dbghelp.dll_SymLoadModuleExW]
mov ecx, eax
or ecx, edx
jne 0x404a70
mov eax, dword [section..data]
mov dword [0x408004], eax
mov word [eax], cx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x402038
call dword [sym.imp.msvcrt.dll_printf]
add esp, 0xc
jmp 0x404910
mov dword [0x408900], eax
mov dword [0x408904], edx
cmp esi, 0xffffffff
je 0x404a87
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406960
leave
ret 8
Function at 0x406733
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x407140
call fcn.00406dd8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x409990
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x406778
cmp eax, esi
jne 0x40676b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40677b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40674f
xor esi, esi
inc esi
cmp dword [0x409994], esi
jne 0x40678d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4067c7
cmp dword [0x409994], ebx
jne 0x4067c1
mov dword [0x409994], esi
push 0x4010e4
push 0x4010d8
call fcn.004068ac
pop ecx
pop ecx
test eax, eax
je 0x4067c7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40689c
mov dword [0x408184], esi
cmp dword [0x409994], esi
jne 0x4067ea
push 0x4010d4
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x409994], 2
test edi, edi
jne 0x4067f7
xor eax, eax
mov ecx, 0x409990
xchg dword [ecx], eax
cmp dword [0x409998], 0
je 0x406823
push 0x409998
call fcn.00406c30
pop ecx
test eax, eax
je 0x406823
push ebx
push 2
push ebx
mov esi, dword [0x409998]
mov ecx, esi
call dword [0x40a194]
call esi
push dword [0x408190]
push dword [0x40818c]
push dword [0x408188]
call fcn.004036a0
add esp, 0xc
mov dword [0x408180], eax
cmp dword [0x408198], 0
jne 0x406881
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x408184], 0
jne 0x406895
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x408180]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00499000
jmp 0x406733

Function at 0x406b14
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x407160
call fcn.00406dd8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406b74
cmp eax, 0xffffffff
je 0x406b74
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x406b6d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x406b6d
cmp edx, 0x10000000
jae 0x406b6d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x406b6a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406be0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x406c1e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x406c16
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x406c20
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x406c06
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x406cf0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406d21
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406d21
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406d21
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10004dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10086a80
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.1007bad5
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10005d00
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10004e24
jmp dword [ecx*4 + 0x10004f8c]
mov al, byte [esi]
test al, al
je 0x10004e52
cmp al, 0x20
je 0x10004e3e
cmp al, 0xa1
jne 0x10004e52
cmp byte [esi + 1], al
jne 0x10004e52
test al, 0x80
je 0x10004e4a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10004e52
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10004e31
test ecx, ecx
je case.default.0x10004e24
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10004e24
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10004e98
cmp dl, 0xa1
jne 0x10004e8c
cmp byte [eax + 1], 0xa1
jne 0x10004e8c
test ecx, ecx
jne 0x10004e84
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10004eac
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10004ec6
jmp 0x10004eac
cmp dl, 0x20
jne 0x10004eaa
test ecx, ecx
jne 0x10004ea3
mov edi, eax
mov ecx, 1
jmp 0x10004eac
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10004e6c
cmp ecx, 1
jne case.default.0x10004e24
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10004e24
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10004e24
mov al, byte [esi]
test al, al
je 0x10004f1e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10004f04
mov cl, byte [esi + 1]
test cl, cl
je 0x10004f1e
cmp al, 0xa1
jne 0x10004ef4
cmp cl, al
je 0x10004f01
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10005f90
inc esi
jmp 0x10004f16
cmp al, 0x20
je 0x10004f16
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10005fd0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10004edd
push 0
lea ecx, [esp + 0x14]
call fcn.10005fd0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10015bd0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10004f51
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1009e678
call fcn.10005f00
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ba67
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1000eb00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008732b
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.1007b7dc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000eb82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100795c0
mov eax, dword [eax]
push 0x100b5d04
push eax
call fcn.1006b6b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1007ba67
test bl, bl
je 0x1000eb82
push 0x100b5d04
lea ecx, [esp + 0xc]
call fcn.1007bdf7
push 0x100b5d10
lea ecx, [esp + 0xc]
call fcn.1007bdf7
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 0x1000ebbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1007ba67
jmp 0x1000ec89
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 0x1000ec42
lea edx, [esp + 0x7c]
push 0x100b5d0c
push edx
call fcn.1006b6b4
add esp, 8
test eax, eax
je 0x1000ec42
lea eax, [esp + 0x7c]
push 0x100b5d08
push eax
call fcn.1006b6b4
add esp, 8
test eax, eax
je 0x1000ec42
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 0x1000ebd2
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.1007ba67
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 0x1000ff00
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 0x1000ff62
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 0x1000ff70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008746b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100bf944]
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 0x100100a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000ffd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007ba67
xor eax, eax
jmp 0x1001011f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1007bba4
push esi
lea ecx, [esp + 0xc]
call fcn.1007be33
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x100b5d54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100100fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.1000ff00
test eax, eax
jne 0x100100fd
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 accept
mov ecx, edi
call fcn.1000ff00
test eax, eax
jne 0x100100fd
lea eax, [esp + 0x14]
push 0x100b5d30
push eax
call fcn.1006c730
mov esi, eax
add esp, 8
test esi, esi
jne 0x100100dc
lea ecx, [esp + 0x14]
push 0x100b5d2c
push ecx
call fcn.1006c6b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100100dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100100df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1007bb54
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000ffee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007ba67
xor eax, eax
jmp 0x1001011f
mov byte [esi], 0
push 0x100b5d28
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.1007ba67
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