joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d2d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046080a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00465ea8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467407
test eax, eax
je 0x43bf6c
mov ecx, dword [esp + 0x3c]
call fcn.00465ed5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43bf30
push edi
mov ecx, esi
call fcn.00463530
mov ecx, esi
call fcn.0043c0d0
cmp dword [esp + 0x38], 1
jne 0x43bf65
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046366b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44af80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044ab30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044abb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044abb0
lea ecx, [esi + 0xc]
call fcn.0045f1e6
lea ecx, [esi + 0x10]
call fcn.0045f1e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044d3e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044d3e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044d3e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045f25b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045f25b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44bc28
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46da28
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44bc38
call fcn.0044c150
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44bd1b
cmp byte [edi], 0
je 0x44bd1b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44bc5d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044a950
test eax, eax
jne 0x44bc7d
push 0x48d460
lea ecx, [esi + 0x38]
call fcn.0045f398
jmp 0x44bd1b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044a9a0
test eax, eax
jne 0x44bcac
mov ecx, esi
call fcn.0044aaa0
push edi
add esi, 0x38
push 0x48d43c
push esi
call fcn.0045d1f7
add esp, 0xc
jmp 0x44bd1b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044c9d0
test eax, eax
je 0x44bd14
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044bdf0
test eax, eax
jne 0x44bd30
push edi
lea eax, [esi + 0x38]
push 0x48d418
push eax
call fcn.0045d1f7
add esp, 0xc
mov ecx, esi
call fcn.0044c150
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44bdd8
mov ecx, dword [0x48d6d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045d1f7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044aa50
test eax, eax
jne 0x44bd9a
push 0x48d3fc
lea ecx, [esi + 0x38]
call fcn.0045f398
jmp 0x44bdaa
push 0xfa
mov ecx, esi
call fcn.0044c9d0
test eax, eax
jne 0x44bdc7
mov ecx, esi
call fcn.0044c150
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f25b
jmp 0x44bd1b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f25b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4615ff
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461637
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045f6b6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f68e
jmp 0x461643
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462ced
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x462d2f
call fcn.004688b1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462d2f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462d26
xor eax, eax
jmp 0x462d37
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462d3d
pop edi
pop esi
pop ebx
ret 4

Function at 0x468de1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x468e0f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468e2d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468d47
jmp 0x468e2d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468e2d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468d47
test edi, edi
mov eax, edi
jne 0x468e17
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403cf7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
xor ecx, ecx
add eax, edx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x7c], ecx
je 0x403d74
push ebx
push esi
mov esi, dword [eax + 0x78]
add esi, edx
mov ebx, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add ebx, edx
add edi, edx
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], ecx
jbe 0x403d71
jmp 0x403d2e
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [edi + eax*4]
add ecx, edx
mov dword [ebp - 0xc], ecx
call fcn.0040483e
mov ecx, dword [ebp - 0xc]
mov edx, eax
call fcn.0040484c
test eax, eax
je 0x403d59
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jb 0x403d2b
jmp 0x403d71
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 4]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp + 8]
movzx ecx, word [ecx + eax]
mov ebx, dword [ebx + ecx*4]
add ebx, eax
mov dword [ebp - 8], ebx
pop edi
pop esi
pop ebx
call fcn.00403cca
sub eax, dword [0x40500c]
mov ecx, 0x7fff
cmp ecx, eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
leave
ret
Function at 0x402c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d06d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x402cc3
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 2
push eax
push 0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
test ecx, ecx
je 0x402cf9
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
shr eax, 1
xorps xmm0, xmm0
push eax
push 0x20
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00407130
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 8
jb 0x402d38
mov esi, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 2
push esi
push 0
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402da7
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov byte [esi + 0x18], 0
cmp ecx, 8
jb 0x402d93
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e63
push ecx
push edx
call fcn.004209ec
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
shr ecx, 1
dec ecx
cmp ecx, esi
ja 0x402dca
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x402e19
mov edi, dword [ebp - 0x18]
mov edx, ecx
mov eax, edi
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x402e0b
cmp edi, 8
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
lea edi, [eax + esi*2]
test edx, edx
je 0x402dfd
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 0xc]
lea eax, [esi + edx]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x402e19
push ecx
push edx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push edx
call fcn.00407450
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00402010
mov ecx, dword [ebp - 0x18]
mov byte [esi + 0x18], 1
cmp ecx, 8
jb 0x402d93
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d89
call fcn.0042cebf
int3
Function at 0x412890
Capabilities:
Encode data using base64 via winapi

Disassembly:
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov dword [esp + 8], 0
lea ecx, [esp + 8]
mov dword [esp + 0x10], eax
push ecx
push 0
mov esi, dword [eax]
mov ebx, edx
mov eax, dword [eax + 4]
push 0x40000001
sub eax, esi
push eax
push esi
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x4129fd
mov esi, dword [ebx + 0x10]
mov ecx, dword [esp + 8]
push ebp
lea ebp, [ebx + 0x10]
push edi
mov edi, dword [ebx + 0x14]
cmp ecx, esi
ja 0x4128ef
mov eax, ebx
cmp edi, 8
jb 0x4128e4
mov eax, dword [ebx]
xor edx, edx
mov dword [ebp], ecx
mov word [eax + ecx*2], dx
jmp 0x412940
mov edx, ecx
mov eax, edi
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x412932
mov dword [ebp], ecx
mov eax, ebx
mov dword [esp + 0x14], ebx
cmp edi, 8
jb 0x41290f
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
lea edi, [eax + esi*2]
test edx, edx
je 0x412923
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x14]
lea eax, [esi + edx]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x412940
push ecx
push edx
push dword [esp + 0x20]
mov ecx, ebx
push edx
call fcn.00407450
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x41294a
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x10]
push esi
push edx
push 0x40000001
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4129f9
mov esi, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 0x14]
cmp ecx, esi
ja 0x4129a0
cmp edi, 8
jb 0x41298b
mov ebx, dword [ebx]
pop edi
mov dword [ebp], ecx
xor eax, eax
pop ebp
mov word [ebx + ecx*2], ax
mov eax, dword [esp + 0x10]
pop esi
pop ebx
add esp, 0xc
ret
mov edx, ecx
mov eax, edi
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x4129df
mov dword [ebp], ecx
cmp edi, 8
jb 0x4129b6
mov ebx, dword [ebx]
lea edi, [ebx + esi*2]
test edx, edx
je 0x4129ca
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
lea eax, [esi + edx]
xor ecx, ecx
pop ebp
mov word [ebx + eax*2], cx
mov eax, dword [esp + 0x10]
pop esi
pop ebx
add esp, 0xc
ret
push ecx
push edx
push dword [esp + 0x20]
mov ecx, ebx
push edx
call fcn.00407450
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
pop edi
mov eax, ecx
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x412a10
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
lea eax, [esp + 4]
push esi
push 0
push 0
push eax
push 0
push 1
push 0
push dword [esp + 0x28]
mov esi, ecx
mov dword [esp + 0x24], 0
call ebx
test eax, eax
je 0x412af0
mov edx, dword [esi]
push ebp
mov ebp, dword [esi + 4]
mov ecx, ebp
push edi
mov edi, dword [esp + 0x10]
sub ecx, edx
cmp edi, ecx
jae 0x412a58
lea eax, [edx + edi]
jmp 0x412a7f
jbe 0x412a82
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x412a6e
push ecx
push edi
mov ecx, esi
call fcn.00413270
jmp 0x412a82
sub edi, ecx
push edi
push 0
push ebp
call fcn.00422520
add esp, 0xc
lea eax, [edi + ebp]
mov dword [esi + 4], eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push dword [esi]
push 1
push 0
push dword [esp + 0x30]
call ebx
mov ebx, eax
test ebx, ebx
je 0x412aec
mov ebp, dword [esi + 4]
mov ecx, ebp
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [esp + 0x10]
cmp edi, ecx
jae 0x412abc
lea eax, [edx + edi]
pop edi
pop ebp
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
pop ecx
ret
jbe 0x412aec
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x412ad8
push ecx
push edi
mov ecx, esi
call fcn.00413270
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
sub edi, ecx
push edi
push 0
push ebp
call fcn.00422520
lea eax, [edi + ebp]
add esp, 0xc
mov dword [esi + 4], eax
pop edi
mov eax, ebx
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x413700
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dc2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], 0x105
push 0x20a
mov dword [ebp - 0x10], edi
call fcn.0042dc3c
mov esi, eax
add esp, 4
test esi, esi
je 0x413786
nop dword [eax]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x413798
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4138cd
push esi
call fcn.0042dc21
mov eax, dword [ebp - 0x18]
add eax, eax
push eax
call fcn.0042dc3c
mov edi, dword [ebp - 0x10]
mov esi, eax
add esp, 8
test esi, esi
jne 0x413740
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
lea eax, [edi + 0x41]
mov dword [ebp - 0x20], 0x3a0041
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 0x5c
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x4137f3
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4137fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push str.____Not_mounted:__s_____s__error:_0x_X_n
call fcn.00401d10
add esp, 0x10
inc edi
cmp edi, 0x1a
jb 0x4137a0
jmp 0x4138ca
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push str.___Mounted:__s_____s_n
call fcn.00401d10
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
add esp, 0xc
lea edx, [ecx + 2]
movups xmmword [ebp - 0x38], xmm0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413830
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00401e30
mov dword [ebp - 4], 0
mov eax, dword [0x450a00]
cmp eax, dword [0x450a04]
je 0x413885
movups xmm0, xmmword [ebp - 0x38]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [0x450a00], 0x18
mov word [ebp - 0x38], ax
jmp 0x413897
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, 0x4509fc
call fcn.0040b970
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x4138ca
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4138c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4138ec
push ecx
push edx
call fcn.004209ec
add esp, 8
mov edi, dword [ebp - 0x14]
test esi, esi
je 0x4138da
push esi
call fcn.0042dc21
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0042cebf
int3
Function at 0x413900
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
mov dword [edi], 0x61707865
mov dword [edi + 4], 0x3320646e
mov dword [edi + 8], 0x79622d32
mov dword [edi + 0xc], 0x6b206574
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi]
shl edx, 8
or edx, eax
mov dword [edi + 0x10], edx
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x18], ecx
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x1c], ecx
movzx ecx, byte [esi + 0x13]
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x20], ecx
movzx ecx, byte [esi + 0x17]
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x24], ecx
movzx ecx, byte [esi + 0x1b]
movzx eax, byte [esi + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x18]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x28], ecx
movzx ecx, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x34], 0
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x38], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov eax, edi
mov dword [edi + 0x3c], ecx
pop edi
pop esi
ret 8
Function at 0x414420
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43dc6d
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, dword [0x457498]
lea esi, [edi + 0x20]
push esi
call fcn.0042084c
add esp, 4
test eax, eax
jne 0x414550
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x414557
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x78]
xchg dword [ecx], eax
push esi
call fcn.00420871
mov ecx, dword [edi + 4]
add esp, 4
mov eax, dword [ebp + 8]
mov esi, ecx
sub esi, dword [edi]
sub ecx, dword [edi]
sar esi, 3
sar ecx, 3
cmp eax, esi
jbe 0x41451f
sub eax, ecx
push ebx
xor ebx, ebx
mov dword [ebp + 8], eax
test eax, eax
jle 0x41450c
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x414580
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
je 0x4144f6
push 8
call fcn.004209b7
mov dword [ebp - 0x1c], eax
mov dword [eax], edi
mov dword [eax + 4], 0x414580
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x41d100
push 0
push 0
mov dword [ebp - 0x18], ecx
call fcn.0042dde7
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x414562
mov dword [ebp - 4], 0xffffffff
add dword [edi + 4], 8
jmp 0x414506
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0041b750
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x4144a6
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
cmp eax, ecx
jae 0x41450d
sub esi, eax
test esi, esi
jle 0x41450d
add edi, 0x50
nop dword [eax]
push edi
call fcn.0041f0f5
add esp, 4
sub esi, 1
jne 0x414530
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.00420593
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.00420593
mov eax, dword [ebp - 0x18]
push 6
mov dword [eax], 0
call fcn.00420593
int3
Function at 0x4160a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4160ae
mov eax, dword [esi]
push edi
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416166
cmp dword [0x450a94], 0x10
lea eax, [esp + 8]
push ebx
push ebp
push 0
push eax
push dword [0x450a90]
mov ecx, 0x450a80
mov dword [esp + 0x1c], 0
cmovae ecx, dword [0x450a80]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x450a90]
test eax, eax
je 0x41613a
cmp ebx, ebp
jne 0x41613a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x416121
mov eax, dword [esi]
push eax
push str.___Requirements__Created:__s_n
call fcn.00401d10
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
jmp 0x416185
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41614a
mov ecx, dword [esi]
push ebp
push ebx
push eax
push ecx
push str.____Requirements__Can_t_write:__s__error:_0x_X___zu__zu_n
call fcn.00401d10
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
jmp 0x416185
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x416176
mov ecx, dword [esi]
push eax
push ecx
push str.____Requirements__Can_t_open:__s__error:_0x_X_n
call fcn.00401d10
add esp, 0xc
mov ecx, dword [esi + 0x14]
pop edi
cmp ecx, 8
jb 0x4161bb
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4161b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4161dc
mov eax, edx
push ecx
push eax
call fcn.004209ec
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
push 0x18
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.004209ec
add esp, 8
pop esi
pop ecx
ret
call fcn.0042cebf
int3