joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dabe
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4376f4]
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 + 0x28]
mov dword [ebp - 0x258], eax
push ecx
xor eax, eax
mov dword [ebp - 4], eax
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x254], esp
push 0xffffffffffffffff
push eax
lea edx, [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], eax
push edx
lea esi, [ebp - 0x250]
mov byte [ecx], al
call fcn.00401b70
mov ebx, dword [ebp + 8]
mov ecx, esi
call fcn.00412900
add esp, 0x20
test eax, eax
jne 0x41352f
xor edi, edi
mov edx, dword [ebp - 0x250]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x214]
push ecx
push edi
push edx
mov dword [ebp - 0x254], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x413548
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x20], 0x10
jb 0x413541
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004185a3
add esp, 4
mov al, 1
jmp 0x413619
xor ecx, ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413570
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x230]
call fcn.0040a370
lea eax, [ebp - 0x230]
lea esi, [ebp - 0x24c]
mov byte [ebp - 4], 2
call fcn.00415540
mov ebx, dword [ebp - 0x258]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00406380
cmp dword [ebp - 0x238], 0x10
jb 0x4135cf
mov edx, dword [ebp - 0x24c]
push edx
call fcn.004185a3
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], eax
mov byte [ebp - 0x24c], al
jb 0x413603
mov eax, dword [ebp - 0x230]
push eax
call fcn.004185a3
add esp, 4
inc edi
jmp 0x4134f0
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.0041836d
mov esp, ebp
pop ebp
ret
Function at 0x41836d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4376f4]
jne 0x418377
repz ret
jmp fcn.0041d8d2

Function at 0x428054
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4376f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041ebac
and dword [ebp - 0x14], 0
cmp dword [0x439860], 0
mov dword [ebp - 0x18], eax
jne 0x428107
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4281af
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4281af
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x439860], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x439864], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x439868], eax
call edi
push eax
call esi
mov dword [0x439870], eax
test eax, eax
je 0x428107
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43986c], eax
mov eax, dword [0x43986c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428160
cmp dword [0x439870], ecx
je 0x428160
push eax
call esi
push dword [0x439870]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428160
test ebx, ebx
je 0x428160
call edi
test eax, eax
je 0x428157
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x428157
test byte [ebp - 8], 1
jne 0x428160
or dword [ebp + 0x10], 0x200000
jmp 0x428193
mov eax, dword [0x439864]
cmp eax, dword [ebp - 0x18]
je 0x428193
push eax
call esi
test eax, eax
je 0x428193
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428193
mov eax, dword [0x439868]
cmp eax, dword [ebp - 0x18]
je 0x428193
push eax
call esi
test eax, eax
je 0x428193
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x439860]
call esi
test eax, eax
je 0x4281af
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4281b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041836d
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401b8e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea eax, [ebp - 0x18]
mov edi, ecx
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x406af0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, edi
push ebx
call fcn.0040ac0b
test esi, esi
mov dword [edi + 4], ebx
mov byte [edi + 8], bl
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov dword [edi + 0x14], ebx
mov word [edi + 0x18], bx
mov dword [edi + 0x1c], ebx
mov word [edi + 0x20], bx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], bl
mov dword [ebp - 0x20], edi
je 0x401c21
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 0
push esi
push eax
push edi
call fcn.0040894c
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x34]
mov dword [esi - 4], 0x440308
mov dword [esi + 4], ebx
mov dword [eax], str.bad_locale_name
mov dword [esi], ebx
mov byte [eax + 4], 1
push esi
push eax
call fcn.0041e234
add esp, 8
mov dword [esi - 4], 0x440278
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x2c]
push 0x44edb8
push eax
call fcn.0041e1c6
nop
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x401c7c
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x2c], 0
mov eax, dword [eax + 0x24]
test eax, eax
je 0x401c95
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x24], 0
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x401cae
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0x14]
test eax, eax
je 0x401cc7
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x14], 0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x401ce0
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0xc], 0
mov eax, dword [eax + 4]
test eax, eax
je 0x401cf9
push eax
call fcn.0042207c
add esp, 4
mov ecx, esi
mov dword [ecx + 4], 0
call fcn.0040ac63
add esp, 0xc
pop ebp
ret
Function at 0x4032aa
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
lea eax, [ebp - 0x18]
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x406bd0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, edi
push ebx
call fcn.0040ac0b
test esi, esi
mov dword [edi + 4], ebx
mov byte [edi + 8], bl
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov dword [edi + 0x14], ebx
mov word [edi + 0x18], bx
mov dword [edi + 0x1c], ebx
mov word [edi + 0x20], bx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], bl
mov dword [ebp - 0x20], edi
je 0x403339
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.0040a99f
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x34]
mov dword [esi - 4], 0x440308
mov dword [esi + 4], ebx
mov dword [eax], str.bad_locale_name
mov dword [esi], ebx
mov byte [eax + 4], 1
push esi
push eax
call fcn.0041e234
add esp, 8
mov dword [esi - 4], 0x440278
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x2c]
push 0x44edb8
push eax
call fcn.0041e1c6
nop
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x403394
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x2c], 0
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4033ad
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x24], 0
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4033c6
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x1c], 0
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4033df
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0x14], 0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4033f8
push eax
call fcn.0042207c
add esp, 4
mov eax, esi
mov dword [eax + 0xc], 0
mov eax, dword [eax + 4]
test eax, eax
je 0x403411
push eax
call fcn.0042207c
add esp, 4
mov ecx, esi
mov dword [ecx + 4], 0
call fcn.0040ac63
add esp, 8
pop ebp
ret

Function at 0x42ee1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ec9e

Function at 0x432deb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432aab

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4534d4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x44], edi
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404ea0
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x40290a
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.00402780
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
call fcn.00405050
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
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.0042a28a
mov esp, ebp
pop ebp
ret
Function at 0x406cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453898
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x47b654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [edi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.0042e186
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00403bd0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x408670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408685
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4086c6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4086c2
nop word [eax + eax]
cmp esi, edx
jae 0x4086c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4086b0
cmp esi, edx
jb 0x4086cb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x409070
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409087
sub eax, edx
push esi
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 8]
push 0x472550
push eax
call fcn.004090d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x409110
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x483a28], 0
jne 0x409250
push esi
push edi
call fcn.00409360
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.initialSetupV3
push dword [0x47fb78]
call esi
push str.manufactureDate
push dword [0x47fb78]
mov edi, eax
call esi
test eax, eax
je 0x409170
call eax
mov edx, 0x47fab8
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x409163
test edi, edi
je 0x409286
imul eax, dword [section..data], 0x408
push eax
call fcn.0040e5d0
imul ecx, dword [section..data], 0x408
mov dword [0x483a28], eax
push ecx
push 0
push eax
call fcn.0042fec0
add esp, 0x10
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x485698]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x45], al
test al, al
jne 0x4091b0
push dword [0x483a28]
lea eax, [ebp - 0x44]
push eax
push dword [0x47fab0]
push dword [0x4856c0]
push dword [0x4856c8]
push dword [0x4856c4]
push dword [ebp + 8]
call edi
mov edx, dword [0x483a28]
xor ecx, ecx
add esp, 0x1c
cmp dword [edx + 0x28], ecx
je 0x409215
mov eax, edx
nop word [eax + eax]
cmp dword [eax + 0x20], 0x26
jne 0x40925e
inc ecx
imul eax, ecx, 0x408
add eax, edx
cmp dword [eax + 0x28], 0
jne 0x409200
push str.editionName
push dword [0x47fb78]
call esi
pop edi
pop esi
test eax, eax
je 0x40923e
call eax
mov edx, 0x47faf8
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x409231
mov ecx, dword [0x47fb78]
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x58]
mov dword [0x47fab4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a28a
mov esp, ebp
pop ebp
ret
imul eax, ecx, 0x408
push dword [eax + edx + 0x28]
push 0x26
push str.Statically_linked_layer._n_nComponent_mismatch_n_nFailed_to_match_DRVR_REVISION_CODE___d_n_n_s
push 0x10
push 0x458674
call fcn.00408fa0
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.initialSetup
call fcn.004092a0
int3

Function at 0x4092a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453f08
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 0xf
push str.Wasatch_SoftRIP
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403ad0
push str.___Fatal_Error
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407fc0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x40931f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404210
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
push edi
cmovae esi, dword [ebp - 0x40]
push str.devices.dll
call fcn.00409de0
add esp, 4
push eax
push str.Mismatched_component__s_n_nmissing__n_n_s
push 0x10
push esi
call fcn.00408fa0
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40af30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.0042aaa0
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 0
je 0x40b0ab
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x8004]
push 0xffffffffffffffff
push eax
call fcn.00408e50
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004371bc
add esp, 0x1c
mov dword [ebp - 0x8008], 0xf
cmp byte [ebp - 0x8004], 0
mov dword [ebp - 0x800c], 0
mov byte [ebp - 0x801c], 0
jne 0x40afa5
xor ecx, ecx
jmp 0x40afb9
lea ecx, [ebp - 0x8004]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40afb0
sub ecx, edx
push ecx
lea eax, [ebp - 0x8004]
push eax
lea ecx, [ebp - 0x801c]
call fcn.00403ad0
cmp dword [ebx], 0
jne 0x40b053
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x40afe5
push eax
call fcn.0043b1ee
add esp, 4
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x40aff0
mov eax, dword [eax]
push 0x4589f8
push eax
call fcn.0043b5a1
add esp, 8
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x40b012
push str.Ping_...__bad_file_open_n
call fcn.00408e60
add esp, 4
push dword [ebx + 0x20]
cmp dword [ebp - 0x8008], 0x10
lea eax, [ebp - 0x801c]
push dword [ebp - 0x800c]
cmovae eax, dword [ebp - 0x801c]
push 1
push eax
call fcn.00433d90
push dword [ebx + 0x20]
call fcn.00433aff
push dword [ebx + 0x20]
call fcn.0043b1ee
add esp, 0x18
mov dword [ebx + 0x20], 0
jmp 0x40b08d
cmp dword [ebp - 0x8008], 0x10
push esi
mov esi, dword [ebp - 0x800c]
push edi
lea edi, [ebp - 0x801c]
cmovae edi, dword [ebp - 0x801c]
push 1
call fcn.0043263f
push eax
push esi
push 1
push edi
call fcn.00433d90
push dword [ebx + 0x20]
call fcn.00433aff
add esp, 0x18
pop edi
pop esi
mov eax, dword [ebp - 0x8008]
cmp eax, 0x10
jb 0x40b0ab
inc eax
lea ecx, [ebp - 0x801c]
push eax
push dword [ebp - 0x801c]
call fcn.00404210
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042a28a
mov esp, ebp
pop ebp
ret
Function at 0x40bdd0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x40be09
mov eax, dword [edx]
jmp 0x40be0b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x40be17
xor ecx, ecx
jmp 0x40be29
mov ecx, esi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40be20
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00403ad0
lea eax, [ebp - 0x34]
push eax
call fcn.0040bb00
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x40be46
mov eax, dword [eax]
push eax
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [edi], 0
jne 0x40be66
xor ecx, ecx
jmp 0x40be79
mov ecx, edi
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40be70
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.00403ad0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040bb00
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x40be96
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
mov esi, eax
cmp ecx, 8
jb 0x40beb4
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004041b0
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], 0
cmp eax, 8
jb 0x40bedd
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004041b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a28a
mov esp, ebp
pop ebp
ret

Function at 0x40d3d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x47b654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x485258]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x40d3fb
push eax
call fcn.00432931
add esp, 4
push 0x100
call fcn.004372d0
mov ebx, dword [ebp + 8]
mov esi, eax
add esp, 4
mov dword [0x485258], esi
xor ecx, ecx
mov eax, ecx
cdq
idiv edi
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x104], al
inc ecx
cmp ecx, 0xfa
jl 0x40d415
mov byte [ebp - 0xa], 0
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jb 0x40d433
mov dword [ebp - 0x108], 0
xor edi, edi
mov ecx, 0xfa
nop
mov eax, edi
mov bl, byte [edi + esi]
xor edx, edx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x104]
add eax, dword [ebp - 0x108]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x108], ecx
movzx eax, byte [ecx + esi]
mov byte [ecx + esi], bl
mov ecx, 0xfa
mov byte [edi + esi], al
inc edi
cmp edi, 0x100
jb 0x40d450
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x48525c], 0
mov dword [0x485260], 0
pop ebx
call fcn.0042a28a
mov esp, ebp
pop ebp
ret