joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e0e
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ecx
push 0x401338
push 2
call fcn.0040c9f9
pop ecx
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x405569
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 8], edi
cmp dword [ebp + 0xc], 0xffff
ja 0x405612
cmp dword [ebp + 0x18], ebx
je 0x4055fc
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push esi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x405612
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x405612
lea eax, [ebp - 4]
push eax
push ebx
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x405612
push ebx
push dword [ebp - 4]
lea eax, [ebp - 8]
push 0x4028bc
push esi
push esi
push eax
push 0x800
push edi
call fcn.00404e37
add esp, 0x20
test eax, eax
js 0x405610
mov esi, dword [ebp - 8]
jmp 0x405610
push ecx
push 0x402f20
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00405461
lea esi, [edi + eax]
sub esi, edi
push ebx
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x408f64
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x40d2a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x4118dc]
mov ecx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408f85
sub ecx, esi
mov esi, 0x100
cmp ecx, esi
jb 0x408fa4
push 0x2f
push 2
call fcn.0040baef
pop ecx
pop ecx
jmp 0x408fea
push esi
lea eax, [ebp - 0x104]
push eax
push 0x403444
push edx
call dword [sym.imp.msvcrt.dll_sscanf_s]
add esp, 0x10
cmp eax, 1
jne 0x408fea
lea eax, [ebp - 0x104]
push eax
push 0x403450
lea eax, [ebp - 0x204]
push esi
push eax
call dword [sym.imp.msvcrt.dll_sprintf_s]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040c480
leave
ret
Function at 0x4095eb
Capabilities:
Terminate process

Disassembly:
push 0x2d
push 2
call fcn.0040baef
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x40a4c4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x40d2a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4035a4
call dword [sym.imp.msvcrt.dll_getenv]
pop ecx
test eax, eax
je 0x40a576
push esi
push edi
push eax
mov edi, 0x101
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
push 0x4035ac
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_strcat_s]
lea eax, [ebp - 0x108]
push 0x4035bc
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov esi, eax
add esp, 0x20
test esi, esi
je 0x40a574
jmp 0x40a556
lea eax, [ebp - 0x108]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x40a54b
mov byte [eax], 0
lea ecx, [ebp - 0x108]
call fcn.00409c1f
push esi
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.msvcrt.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x40a533
push esi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c480
leave
ret

Function at 0x40aab7
Capabilities:
Create udp socket

Disassembly:
push 0
push 2
push ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x40aaca
xor eax, eax
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
inc eax
ret
Function at 0x40b8b9
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, 0x400
push ebx
push esi
push edi
push eax
mov eax, dword fs:[0x30]
mov edi, edx
push 0
mov ebx, ecx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
jne 0x40b8ef
mov eax, 0xc0000017
jmp 0x40ba7f
mov eax, 0x400
push eax
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x10], 0x4000000
mov eax, 0x400
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40b92f
mov edi, 0xc0000017
jmp 0x40ba6b
mov ecx, edi
mov eax, 0x400
mov word [ebp - 0x1e], ax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b93d
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edi
push eax
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
mov word [ebp - 0x20], cx
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea eax, [ebp - 8]
push eax
mov eax, 0x400
push eax
push esi
push 1
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov edi, eax
test edi, edi
jns 0x40b98f
push dword [ebp - 0xc]
mov ecx, dword fs:[0x30]
push 0
push dword [ecx + 0x18]
jmp 0x40ba65
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov dword [ecx], eax
cmp eax, 4
je 0x40ba4c
cmp eax, 3
je 0x40ba4c
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x18], cx
cmp eax, 2
jne 0x40b9c8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, 0x400
mov word [ebp - 0x16], ax
jmp 0x40b9e8
push dword [ebp - 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, 0x3200
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x16], cx
mov ax, word [esi + 0xc]
mov word [ebp - 0x28], ax
mov ax, word [esi + 0xc]
mov word [ebp - 0x26], ax
mov eax, dword [esi + 8]
add eax, esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
mov eax, dword [ebp + 0xc]
cmp dword [eax], 2
jne 0x40ba6b
mov eax, 0x3200
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40ba39
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x40ba47
mov ecx, 0x3200
cmp eax, ecx
jb 0x40ba47
mov edi, 0xc0000023
push dword [ebp - 0x14]
jmp 0x40ba5a
mov eax, dword [esi + 8]
push dword [ebp - 0xc]
mov ecx, dword [esi + eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword fs:[0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40c650
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40cb08
call fcn.0040c94c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c6b0
cmp eax, 0xffffffff
je 0x40c6b0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40c6a9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40c6a9
cmp edx, 0x10000000
jae 0x40c6a9
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 0x40c6a6
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 0x40c730
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 0x40c76e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40c766
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40c770
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40c756
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40c850
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c87f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c87f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x25522637
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7bd2221e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x409e40
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x40
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0xb66
mov dword [esp + 8], eax
mov dword [esp], 0x4a6280
mov dword [esp + 0x3c], 0
call fcn.00409b50
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x409e85
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
add esp, 0x40
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a6120
mov dword [esp + 4], 0x4a61fc
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a617d
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x40
mov eax, ebx
pop ebx
pop esi
pop edi
ret
Function at 0x40a540
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
sub esp, 0x4c
lea edx, [esp + 0x3c]
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00415e50
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x40a620
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
jne 0x40a591
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [fcn.004a1b90]
mov dword [esp + 0x2c], ecx
mov dword [esp], 2
call ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], 0x4a7a28
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov ebx, 5
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x4c
mov eax, ebx
xor edx, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], 0x4a7a7c
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x4c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40bfb0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.004276f0
mov ebx, eax
mov eax, edx
mov esi, edx
or eax, ebx
jne 0x40c030
mov ecx, dword [esp + 0x28]
mov edx, 0x10624dd3
mov eax, ecx
sar ecx, 0x1f
imul edx
sar edx, 6
sub edx, ecx
xor edx, dword [esp + 0x20]
mov dword [esp], edx
call sub.msvcrt.dll_srand
call sub.msvcrt.dll_rand
mov edi, eax
call sub.msvcrt.dll_rand
mov ebp, eax
call sub.msvcrt.dll_rand
shl ebp, 8
shl eax, 0x10
xor ebp, eax
call sub.msvcrt.dll_rand
xor edi, ebp
mov edx, esi
shl eax, 0x18
xor edi, eax
mov eax, dword [esp + 0x50]
mov dword [eax], edi
add esp, 0x3c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0041d490
mov edi, dword [fcn.004a1b90]
mov dword [esp], 2
mov ebp, eax
call edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], str.__s__exfat_utctime_failed:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call edi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call edi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x3c
mov eax, ebx
mov edx, esi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40c0c0
Capabilities:
Write file on windows

Disassembly:
push edi
xor edx, edx
xor ecx, ecx
push esi
push ebx
sub esp, 0x30
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x200
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call fcn.0040a2c0
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x40c0f3
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], 0x4a83a8
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
Function at 0x40c180
Capabilities:
Write file on windows

Disassembly:
push edi
xor edx, edx
xor ecx, ecx
push esi
push ebx
sub esp, 0x30
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x200
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call fcn.0040a540
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x40c1b3
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], 0x4a83d8
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret

Function at 0x40c3f0
Capabilities:
Write file on windows

Disassembly:
push edi
mov eax, 0xc
xor edx, edx
push esi
push ebx
sub esp, 0x30
movzx ecx, byte [esp + 0x44]
shl eax, cl
xor ecx, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
call fcn.0040a2c0
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x40c430
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], str.__s__Error_while_reading_boot_region:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
Function at 0x40c4c0
Capabilities:
Write file on windows

Disassembly:
push edi
mov eax, 0xc
xor edx, edx
push esi
push ebx
xor ebx, ebx
sub esp, 0x30
movzx ecx, byte [esp + 0x44]
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, ebx
mov ebx, 0xc
shl ebx, cl
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov edi, edx
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, edi
call fcn.0040a2c0
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x40c514
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a7960
mov dword [esp + 4], str.__s__Error_while_reading_backup_boot_region:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a79a4
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret

Function at 0x410400
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [edx + 0x18]
movzx edx, word [ebx + 0x6a]
mov esi, edx
and edx, 0xfffffffd
or esi, 2
test ecx, ecx
cmovne edx, esi
mov word [ebx + 0x6a], dx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040c180
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x410440
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov esi, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x4a9606
mov dword [esp + 4], 0x4a960c
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a95ae
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, ebx
pop ebx
pop esi
pop edi
ret
Function at 0x4104d0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edx, dword [eax + 0x8c]
mov ebx, dword [edx + 0xc]
mov ecx, dword [edx + 8]
mov edi, ebx
or edi, ecx
je 0x410500
add ecx, 1
adc ebx, 0
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ebx
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov ebx, eax
mov eax, dword [eax]
mov ecx, 1
call fcn.00410400
mov esi, eax
mov eax, edx
or eax, esi
jne 0x410531
mov eax, dword [ebx + 0x8c]
mov dword [eax + 8], 1
mov dword [eax + 0xc], 0
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0041d490
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x4a9606
mov dword [esp + 4], 0x4a9644
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a95ae
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
jmp 0x4104f4
Function at 0x413020
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, 1
add eax, 0x8c
jmp 0x410360

Function at 0x4132c0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x18]
and eax, 1
jne 0x4132f3
mov edx, dword [ebx + 0x8c]
mov ecx, dword [edx + 0xc]
mov esi, dword [edx + 8]
mov edi, ecx
or edi, esi
je 0x413300
mov edi, 1
cmp edi, esi
sbb eax, ecx
jae 0x413370
add esp, 0x20
xor eax, eax
xor edx, edx
pop ebx
pop esi
pop edi
ret
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
call ebx
mov dword [esp + 8], 0x4a9540
mov dword [esp + 4], 0x4aa438
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4a95ae
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
add esp, 0x20
xor eax, eax
xor edx, edx
pop ebx
pop esi
pop edi
ret
mov eax, dword [edx + 0x14]
or eax, dword [edx + 0x10]
jne 0x4132f3
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x4132f3
mov eax, dword [ebx]
xor ecx, ecx
call fcn.00410400
mov esi, eax
mov eax, edx
or eax, esi
jne 0x4133b1
mov eax, dword [ebx + 0x8c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
jmp 0x4132f3
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov edi, eax
call ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x4a9606
mov dword [esp + 4], 0x4aa46c
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x413327
Function at 0x4152d0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4153d3
mov eax, dword [ebx]
test byte [eax + 4], 1
jne 0x4153c0
mov edx, dword [eax]
mov edx, dword [edx]
mov edx, dword [edx + 4]
test edx, edx
je 0x415308
mov dword [esp], eax
call edx
mov esi, eax
mov eax, edx
or eax, esi
jne 0x415330
mov eax, dword [ebx]
mov dword [esp + 4], ebx
xor esi, esi
mov dword [esp], eax
call fcn.0041d440
mov dword [ebx], 0
add esp, 0x30
mov eax, esi
pop ebx
xor edx, edx
pop esi
pop edi
ret
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 0x2c], edx
call fcn.0041d490
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
mov edi, eax
call ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x4aa8ca
mov dword [esp + 4], str.__s__Failed_to_destroy_device_implementation:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4aa8c7
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x2c]
add esp, 0x30
mov eax, esi
pop ebx
pop esi
pop edi
ret
add esp, 0x30
mov esi, 0xe
mov edx, 1
mov eax, esi
pop ebx
pop esi
pop edi
ret
add esp, 0x30
mov esi, 3
mov edx, 1
mov eax, esi
pop ebx
pop esi
pop edi
ret