joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0x401560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x40102e
or eax, 0xffffffff
jmp 0x4011af
push 0x30
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.0040ddd0
add esp, 0xc
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x30
and dword [ebp - 0x44], 0
push 0xf0f0f0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x34], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x3c], 0
and dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], 0x4011b3
mov dword [ebp - 0x2c], 0x41b2a8
and dword [ebp - 0x30], 0
mov dword [ebp - 0x50], 3
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x4010ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10000000
push 0
push str.6c1109f1_3589_4c56_92bd_886fd4856fa9
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80
or eax, 0x10000000
push eax
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x8001
push 0x111
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1c
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0040ddd0
add esp, 0xc
push 0
push 0x190
push 0x1f4
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x190
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x1f4
cdq
sub eax, edx
sar eax, 1
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401197
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40116d
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
leave
ret 0x10
Function at 0x4016bc
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x41f060]
xor eax, ebp
mov dword [ebp - 0x18], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str._s__s
push 0x104
lea eax, [ebp - 0x3f0]
push eax
call fcn.00401840
add esp, 0x14
call fcn.004070a1
push eax
call fcn.00406f72
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 0x2e8], 0x10007
push 0x44
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.0040ddd0
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0040ddd0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3f0]
push eax
push 0
call dword [ebp - 4]
test eax, eax
je 0x401779
push 0x493e0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40177e
mov eax, 0x1fff
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040de4a
leave
ret

Function at 0x401dba
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x401de4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
je 0x401e08
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
call fcn.0040e0e0
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
call fcn.0040e0e0
pop ecx
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401e5b
push 0
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x1c], 0
jne 0x401e59
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401e5b
xor eax, eax
leave
ret
Function at 0x401e5d
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [eax], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x401e94
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401f3c
cmp dword [ebp - 8], 0
jne 0x401eb7
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x401edb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
lea eax, [ecx + eax + 0x64]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x401eeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401f3c
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x401f13
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401f3c
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
ja 0x401e71
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov byte [eax + ecx], 0
xor eax, eax
leave
ret
Function at 0x401f3e
Capabilities:
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x401f9a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402080
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0040e1c5
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401fd7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.0040e16b
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402080
mov eax, dword [ebp - 4]
inc eax
push eax
push 0
push dword [ebp - 8]
call fcn.0040ddd0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebp + 8]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x402023
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call fcn.0040e16b
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402080
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40205c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call fcn.0040e16b
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402080
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.0040e16b
pop ecx
cmp dword [ebp - 4], 0
ja 0x401f6e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
leave
ret
Function at 0x403078
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x41f060]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0x421530
call fcn.00407653
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp + 8]
call fcn.0040d3ba
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x4030cb
xor eax, eax
jmp 0x40322e
call fcn.004076f3
push eax
push dword [ebp - 0x10c]
call fcn.0040c41c
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
call fcn.004077ca
push eax
push dword [ebp - 0x11c]
call fcn.0040c41c
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x403111
mov eax, dword [ebp - 0x114]
cmp dword [eax], 2
je 0x403129
push dword [ebp - 0x10c]
call fcn.0040323a
pop ecx
xor eax, eax
jmp 0x40322e
push dword [ebp - 0x114]
call fcn.0040c57d
pop ecx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0x41b359
push 0x421530
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x228]
push eax
call fcn.00407896
push eax
push 0x104
lea eax, [ebp - 0x228]
push eax
call fcn.00401840
add esp, 0x10
push dword [ebp - 0x110]
push 0x41b3e0
push 0x104
lea eax, [ebp - 0x438]
push eax
call fcn.00403283
add esp, 0x10
call fcn.004079d3
push eax
push 0x421530
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004022f4
add esp, 0x10
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4031d4
push dword [ebp - 0x10c]
call fcn.0040323a
pop ecx
xor eax, eax
jmp 0x40322e
call fcn.00407a68
push eax
push dword [ebp - 0x10c]
call fcn.0040c41c
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x403201
mov eax, dword [ebp - 0x118]
cmp dword [eax], 1
je 0x403213
push dword [ebp - 0x10c]
call fcn.0040323a
pop ecx
xor eax, eax
jmp 0x40322e
push dword [ebp - 0x118]
call fcn.00402fa9
pop ecx
push dword [ebp - 0x10c]
call fcn.0040323a
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040de4a
leave
ret

Function at 0x40a0dc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [0x422108], 0x94
push 0x422108
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [0x422118], 2
jne 0x40a108
cmp dword [0x42210c], 5
jae 0x40a112
call fcn.004072ff
mov dword [ebp - 8], eax
jmp 0x40a153
cmp dword [0x42210c], 6
jb 0x40a14b
cmp dword [0x422110], 2
jb 0x40a12e
call fcn.004073aa
mov dword [ebp - 8], eax
jmp 0x40a149
cmp dword [0x422110], 1
jne 0x40a141
call fcn.00407413
mov dword [ebp - 8], eax
jmp 0x40a149
call fcn.00407487
mov dword [ebp - 8], eax
jmp 0x40a153
call fcn.004074e5
mov dword [ebp - 8], eax
call fcn.0040a242
movsx eax, al
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
push str._s__d
push 0x400
push 0x421d08
call fcn.00401840
add esp, 0x14
mov eax, 0x421d08
leave
ret
Function at 0x40a3a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x41b3f8
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a477
push 0x28
call fcn.0040e7e1
pop ecx
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x18]
add eax, 8
push eax
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0040a2b0
add esp, 0x1c
mov dword [ebp - 8], eax
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 0xc]
push 4
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
jmp 0x40a479
xor eax, eax
leave
ret

Function at 0x40a5e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40a609
xor eax, eax
jmp 0x40a637
and dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a635
cmp dword [ebp - 0xc], 4
jne 0x40a635
xor eax, eax
inc eax
jmp 0x40a637
xor eax, eax
leave
ret
Function at 0x40a68d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x29
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40a6b4
xor eax, eax
jmp 0x40a80b
lea eax, [ebp - 0x10]
push eax
push 0x3c
push dword [ebp + 8]
call fcn.0040a5e6
add esp, 0xc
test eax, eax
jne 0x40a6d9
push dword [ebp - 8]
call fcn.0040e8b9
pop ecx
xor eax, eax
jmp 0x40a80b
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040a5e6
add esp, 0xc
test eax, eax
jne 0x40a711
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call fcn.0040e8b9
pop ecx
xor eax, eax
jmp 0x40a80b
cmp dword [ebp - 0xc], 0x4550
je 0x40a733
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a80b
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x98
push eax
push dword [ebp + 8]
call fcn.0040a5e6
add esp, 0xc
test eax, eax
jne 0x40a768
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a80b
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.0040a5e6
add esp, 0xc
test eax, eax
jne 0x40a794
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a80b
push 0
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x40a7cb
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a80b
and dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0x28
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40a7f7
cmp dword [ebp - 0x20], 0x28
jne 0x40a7f7
mov eax, dword [ebp - 8]
jmp 0x40a80b
push dword [ebp - 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
leave
ret
Function at 0x40a80d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x41f060]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x41b42c]
mov word [ebp - 0x218], ax
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0040ddd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
cmp dword [ebp - 4], 0xffffffff
jne 0x40a892
xor eax, eax
jmp 0x40a979
push dword [ebp - 4]
call fcn.0040a68d
pop ecx
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x40a964
push 0x29
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x224], eax
push 2
push 0
push 0xffffffffffffffd8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0xffffffff
jne 0x40a8fc
push dword [ebp - 0x224]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a979
and dword [ebp - 0x22c], 0
push 0
lea eax, [ebp - 0x22c]
push eax
push 0x28
push dword [ebp - 0x224]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x40a935
cmp dword [ebp - 0x22c], 0x28
je 0x40a94e
push dword [ebp - 0x224]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x40a979
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov byte [eax + 0x28], 0
cmp dword [ebp - 4], 0
je 0x40a973
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040de4a
leave
ret
Function at 0x40acc1
Capabilities:
Get common file path
Get disk information
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x41f060]
xor eax, ebp
mov dword [ebp - 0x10], eax
and dword [ebp - 0x46c], 0
and dword [ebp - 4], 0
and dword [ebp - 0x474], 0
jmp 0x40acf5
mov eax, dword [ebp - 0x474]
inc eax
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x474], 0x10
jge 0x40ad0c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x474]
mov byte [eax], 0
jmp 0x40ace8
mov eax, dword [ebp + 8]
mov byte [eax], 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x46c]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x46c]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x470], eax
jmp 0x40ad64
mov eax, dword [ebp - 0x470]
mov eax, dword [eax]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
je 0x40ad9d
mov eax, dword [ebp - 0x470]
cmp dword [eax + 0x1a0], 6
jne 0x40ad9b
push 6
mov eax, dword [ebp - 0x470]
add eax, 0x194
push eax
mov eax, dword [ebp + 8]
add eax, 6
push eax
call fcn.0040e480
add esp, 0xc
jmp 0x40ad9d
jmp 0x40ad56
push dword [ebp - 0x46c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x400
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 8
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
mov word [ebp - 0x22], ax
push 0x40
lea eax, [ebp - 0x68]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40ae14
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call fcn.0040e480
add esp, 0xc
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040de4a
leave
ret
Function at 0x40b963
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x41f060]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov byte [0x422650], 0
and dword [0x422664], 0
and dword [0x422668], 0
mov dword [0x422654], 0x67452301
mov dword [0x422658], 0xefcdab89
mov dword [0x42265c], 0x98badcfe
mov dword [0x422660], 0x10325476
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40b9ca
jmp 0x40b9b4
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0040b887
pop ecx
pop ecx
movzx eax, byte [0x422650]
test eax, eax
jne 0x40ba84
push 8
push 0x422664
lea eax, [ebp - 0x14]
push eax
call fcn.0040afa7
add esp, 0xc
mov eax, dword [0x422664]
shr eax, 3
xor edx, edx
push 0x40
pop ecx
div ecx
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x38
jae 0x40ba1c
push 0x38
pop eax
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x40ba25
push 0x78
pop eax
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push section..data
call fcn.0040b887
pop ecx
pop ecx
push 8
lea eax, [ebp - 0x14]
push eax
call fcn.0040b887
pop ecx
pop ecx
push 0x10
push 0x422654
push 0x422640
call fcn.0040afa7
add esp, 0xc
push 0x40
push 0
push 0x422670
call fcn.0040ddd0
add esp, 0xc
push 8
push 0
push 0x422664
call fcn.0040ddd0
add esp, 0xc
mov byte [0x422650], 1
movzx eax, byte [0x422650]
test eax, eax
jne 0x40ba99
mov eax, 0x41b4a9
jmp 0x40bb39
movzx eax, byte [0x42264f]
push eax
movzx eax, byte [0x42264e]
push eax
movzx eax, byte [0x42264d]
push eax
movzx eax, byte [0x42264c]
push eax
movzx eax, byte [0x42264b]
push eax
movzx eax, byte [0x42264a]
push eax
movzx eax, byte [0x422649]
push eax
movzx eax, byte [0x422648]
push eax
movzx eax, byte [0x422647]
push eax
movzx eax, byte [0x422646]
push eax
movzx eax, byte [0x422645]
push eax
movzx eax, byte [0x422644]
push eax
movzx eax, byte [0x422643]
push eax
movzx eax, byte [0x422642]
push eax
movzx eax, byte [0x422641]
push eax
movzx eax, byte [0x422640]
push eax
push str._02x_02x_02x_02x__02x_02x__02x_02x__02x_02x__02x_02x_02x_02x_02x_02x
push 0x25
push 0x4226b0
call fcn.00401840
add esp, 0x4c
mov byte [0x4226d4], 0
mov eax, 0x4226b0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040de4a
leave
ret