joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c2c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x47c2f7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.004a2fe0
add esp, 0xc
lea eax, [ebp - 0x80c]
test edi, edi
je 0x47c32a
push edi
push esi
push 0x4efa44
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x47c33a
push esi
push 0x4ef97c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.004a2fe0
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x834], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x864], 0x44
movups xmmword [ebp - 0x81c], xmm0
push eax
lea eax, [ebp - 0x864]
mov dword [ebp - 0x838], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47c2e2
cmp dword [ebp + 0x10], 0
je 0x47c3c9
push dword [ebp + 0x14]
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x81c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x818]
call esi
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x14

Function at 0x47c400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x47c4cd
mov eax, dword [0x4ef2e4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
push 0x38
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x12], xmm0
movq xmm0, qword [str.runas]
push 0
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movq qword [ebp - 0x24], xmm0
call fcn.004a2fe0
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x47c4cd
cmp dword [ebp + 0x10], 0
je 0x47c4ac
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47d590
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x507518
push 0x4a4f70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50d108]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x47d5fd
push 1
push str.ExtensionProtect
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x47d5f8
mov ebx, 1
push eax
call edi
push esi
call edi
jmp 0x47d603
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x47d60c
lea eax, [ebx + 1]
jmp 0x47d671
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], ebx
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x47d663
push 0x10020
push str.ExtensionProtect
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x47d663
lea eax, [ebp - 0x38]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0047d699
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048a462
mov esp, ebp
pop ebp
ret
Function at 0x47ff20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7314
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x511410]
test esi, esi
jne 0x47ff85
push 0x140
call fcn.00489f81
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x47ff76
mov ecx, eax
call fcn.0047f950
mov esi, eax
jmp 0x47ff78
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x511410], esi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x480042
push 1
mov ecx, esi
call fcn.0041c560
push 0xe8
call fcn.00489f81
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x47ffc5
mov ecx, eax
call fcn.0040fb20
mov edi, eax
jmp 0x47ffc7
xor edi, edi
push 3
push 0x83
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
push 2
mov ecx, edi
call fcn.00410680
movaps xmm0, xmmword [0x4dae10]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.004107d0
push edi
mov ecx, esi
call fcn.0041c580
push 0
mov ecx, esi
call fcn.0041af90
movaps xmm0, xmmword [0x4dae20]
push 0
push ecx
mov eax, esp
push 0x40000
push SysReAllocString
push 0x4ef9d0
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov eax, esp
movups xmmword [ebp - 0x20], xmm0
push 0
mov dword [eax], ecx
mov ecx, esi
call fcn.00419c50
push 1
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0041c640
push eax
call fcn.0045b0b0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a462
mov esp, ebp
pop ebp
ret
Function at 0x484350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d78f6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4843fc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4843fc
call fcn.004442b0
mov esi, eax
jmp 0x4844ec
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x48441f
call fcn.004442b0
jmp 0x4844df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x48443d
call fcn.004442b0
jmp 0x4844df
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x48445e
mov esi, 0x8007000e
jmp 0x4844e1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00483220
jmp 0x484488
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x48449f
mov esi, 0x8007000e
jmp 0x4844e1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4844bf
call fcn.004442b0
jmp 0x4844df
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004841f0
mov esi, eax
test edi, edi
je 0x4844ec
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x484510
lea ecx, [ebp - 0x418]
call fcn.00483700
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048a462
mov esp, ebp
pop ebp
ret 0x10
Function at 0x485b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x485b49
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485b55
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x485b50
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48cffc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4bff62
Capabilities:
Read file on windows

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

Function at 0x4c6815
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c64d5
Function at 0x100063c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100180ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x234], ecx
mov byte [ebp - 1], 0x41
jmp 0x100063e7
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movsx ecx, byte [ebp - 1]
cmp ecx, 0x5a
jg 0x100064e8
movsx edx, byte [ebp - 1]
movzx eax, byte [edx + 0x100191a3]
test eax, eax
je 0x10006405
jmp 0x100063df
movsx ecx, byte [ebp - 1]
push ecx
push 0x100142f4
push 0xa
lea edx, [ebp - 0x14]
push edx
call fcn.100084e6
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x100064e3
push 0x104
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x1000644c
jmp 0x100063df
push str.CdRom
lea eax, [ebp - 0x120]
push eax
call fcn.10008460
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x10006474
jmp 0x100063df
cmp dword [ebp + 0xc], 0
je 0x10006481
mov eax, 0x63
jmp 0x100064ed
mov ecx, dword [ebp - 0x124]
push ecx
push str.Device_hs
push 0x80
lea edx, [ebp - 0x230]
push edx
call fcn.10008841
add esp, 0x10
mov al, byte [ebp - 1]
mov byte [ebp - 0x130], al
push 0
lea ecx, [ebp - 0x128]
push ecx
push 0x102
lea edx, [ebp - 0x230]
push edx
push 0x102
lea eax, [ebp - 0x230]
push eax
push 0x222020
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100064e3
jmp 0x100063df
jmp 0x100063df
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10006f5c
mov esp, ebp
pop ebp
ret 8

Function at 0x10006500
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100065a4
cmp dword [0x10019154], 4
ja 0x1000653a
mov dword [ebp - 0x14], str.GEARAspiSys
jmp 0x10006541
mov dword [ebp - 0x14], str.GEARAspiWDM
push 0xf01ff
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000658f
cmp dword [0x10019154], 4
ja 0x10006568
jmp 0x10006583
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x10006583
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10006598
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100065ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10006f5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100180ac]
jne 0x10006f66
repz ret
jmp fcn.10008c87

Function at 0x10011d05
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.10008e07
and dword [ebp - 4], 0
cmp dword [0x10019be4], 0
mov ebx, eax
jne 0x10011db6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10011e67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10011e67
push eax
call fcn.10008d95
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10019be4], eax
call esi
push eax
call fcn.10008d95
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10019be8], eax
call esi
push eax
call fcn.10008d95
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10019bec], eax
call esi
push eax
call fcn.10008d95
pop ecx
mov dword [0x10019bf4], eax
test eax, eax
je 0x10011db6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10008d95
pop ecx
mov dword [0x10019bf0], eax
mov eax, dword [0x10019bf0]
cmp eax, ebx
je 0x10011e0e
cmp dword [0x10019bf4], ebx
je 0x10011e0e
push eax
call fcn.10008e10
push dword [0x10019bf4]
mov esi, eax
call fcn.10008e10
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011e0e
test edi, edi
je 0x10011e0e
call esi
test eax, eax
je 0x10011e05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011e05
test byte [ebp - 0xc], 1
jne 0x10011e0e
or dword [ebp + 0x10], 0x200000
jmp 0x10011e47
mov eax, dword [0x10019be8]
cmp eax, ebx
je 0x10011e47
push eax
call fcn.10008e10
pop ecx
test eax, eax
je 0x10011e47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10011e47
mov eax, dword [0x10019bec]
cmp eax, ebx
je 0x10011e47
push eax
call fcn.10008e10
pop ecx
test eax, eax
je 0x10011e47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10019be4]
call fcn.10008e10
pop ecx
test eax, eax
je 0x10011e67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10011e69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x481004]
jne 0x401010
repz ret
jmp fcn.0040195c

Function at 0x4095d7
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.00403584
and dword [ebp - 4], 0
cmp dword [0x4837d4], 0
mov ebx, eax
jne 0x409688
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409739
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409739
push eax
call fcn.00403512
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4837d4], eax
call esi
push eax
call fcn.00403512
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4837d8], eax
call esi
push eax
call fcn.00403512
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4837dc], eax
call esi
push eax
call fcn.00403512
pop ecx
mov dword [0x4837e4], eax
test eax, eax
je 0x409688
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403512
pop ecx
mov dword [0x4837e0], eax
mov eax, dword [0x4837e0]
cmp eax, ebx
je 0x4096e0
cmp dword [0x4837e4], ebx
je 0x4096e0
push eax
call fcn.0040358d
push dword [0x4837e4]
mov esi, eax
call fcn.0040358d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4096e0
test edi, edi
je 0x4096e0
call esi
test eax, eax
je 0x4096d7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4096d7
test byte [ebp - 0xc], 1
jne 0x4096e0
or dword [ebp + 0x10], 0x200000
jmp 0x409719
mov eax, dword [0x4837d8]
cmp eax, ebx
je 0x409719
push eax
call fcn.0040358d
pop ecx
test eax, eax
je 0x409719
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409719
mov eax, dword [0x4837dc]
cmp eax, ebx
je 0x409719
push eax
call fcn.0040358d
pop ecx
test eax, eax
je 0x409719
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4837d4]
call fcn.0040358d
pop ecx
test eax, eax
je 0x409739
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40973b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x477cc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x481004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x19f
jne 0x477ce6
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x477d11
push esi
and dword [ebp - 0x808], 0
lea esi, [ebp - 0x808]
call fcn.00477cb7
mov al, byte [ebp - 0x808]
xor byte [ebx + edi], al
inc edi
cmp edi, dword [ebp + 8]
jl 0x477cef
pop esi
cmp dword [ebp + 8], 0x2d
pop edi
jne 0x477d44
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push str.tojidagaresijodujenut
push 0
call dword [sym.imp.ADVAPI32.dll_GetServiceKeyNameW]
or dword [0x49174c], 0xffffffff
mov dword [0x491748], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x69ec286e
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x56e711c7
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219