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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x40cd99
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40cddc
mov eax, dword [ebp - 8]
jmp 0x40ce42
cmp dword [ebp - 0xc], 1
je 0x40cdef
cmp dword [ebp - 0xc], 2
je 0x40cdef
mov eax, 0xd
jmp 0x40ce42
cmp dword [ebp + 0xc], 0
je 0x40ce36
cmp dword [ebp - 4], 0
je 0x40ce25
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x40ce1c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x40ce23
mov eax, 0xd
jmp 0x40ce42
jmp 0x40ce36
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40cf90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x40cf99
cmp dword [ebp + 0xc], 0
je 0x40cfac
mov dword [ebp - 4], 1
jmp 0x40cfb3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40cfc6
mov eax, 0xd
jmp 0x40cff5
xor edx, edx
jne 0x40cf9d
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045ce26
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax + 0x31], cl
movzx edx, byte [ebp + 8]
test edx, edx
je 0x411479
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x411488
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x413a10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.004115e0
push 5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0xc], 0xa
mov dword [ebp - 4], 1
jmp 0x413a4b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jg 0x413a7d
mov eax, 0xbe
cdq
idiv dword [ebp - 0xc]
imul eax, dword [ebp - 4]
add eax, 0x3c
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004115e0
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413a42
mov esp, ebp
pop ebp
ret

Function at 0x4148b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov byte [edx + 0xc7], 1
push 0
push 0
push 0x200
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x415730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x415791
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x470]
test edx, edx
je 0x415770
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x108
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4c2d24
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x60]
call edx
push 2
mov ecx, dword [ebp - 4]
call fcn.00414890
mov esp, ebp
pop ebp
ret 4
Function at 0x41b0f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a687b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4e3074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405320
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405320
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x424f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7006
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x158
mov eax, dword [0x4e3074]
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 byte [ebp - 0x89], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x424fe2
mov al, byte [ebp - 0x89]
jmp 0x4250d0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xb0]
call sym.Install_silent.exe_public:_void___thiscall_Json::Value::constructor_enum_Json::ValueType_
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp + 0xc]
call sym.Install_silent.exe_public:_class_Json::Value____thiscall_Json::Value::operator_class_Json::Value__
lea ecx, [ebp - 0xb0]
call sym.Install_silent.exe_public:_void___thiscall_Json::Value::destructor_void_
push 1
lea ecx, [ebp - 0x168]
call fcn.00425930
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
push 0x40
push 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x168]
call fcn.004258d0
lea ecx, [ebp - 0x88]
call sym.Install_silent.exe_public:_void___thiscall_Json::Reader::constructor_void_
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 2
push 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x88]
call sym.Install_silent.exe_public:_bool___thiscall_Json::Reader::parse_class_std::basic_istream_char__struct_std::char_traits_char_____class_Json::Value___bool_
mov byte [ebp - 0x8a], al
mov dl, byte [ebp - 0x8a]
mov byte [ebp - 0x89], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call sym.Install_silent.exe_public:_void___thiscall_Json::Reader::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.004254b0
jmp 0x4250b2
mov dword [ebp - 4], 0xffffffff
jmp 0x4250ca
mov al, byte [ebp - 0x89]
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.0042fc0d
mov esp, ebp
pop ebp
ret
Function at 0x425ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x425dbe
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x425cd8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004266b0
jmp 0x425dd2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.004279a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x425d6c
jg 0x425d00
cmp dword [ebp + 0xc], 0
jbe 0x425d6c
cmp dword [ebp - 8], 0
jl 0x425d6c
jg 0x425d0e
cmp dword [ebp - 0xc], 0
jbe 0x425d6c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x425d2c
jl 0x425d20
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x425d2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00427ba0
push eax
call fcn.004079c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00427a20
cmp dword [ebp + 0x10], 0
jl 0x425dae
jg 0x425d7a
cmp dword [ebp + 0xc], 0
jbe 0x425dae
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x425dae
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0045fdef
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x425dd2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004266b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x425f06
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x425e18
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004267d0
jmp 0x425f1a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.00427a60
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x425eac
jg 0x425e40
cmp dword [ebp + 0xc], 0
jbe 0x425eac
cmp dword [ebp - 8], 0
jl 0x425eac
jg 0x425e4e
cmp dword [ebp - 0xc], 0
jbe 0x425eac
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x425e6c
jl 0x425e60
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x425e6c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.00427bc0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004079c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00427b40
cmp dword [ebp + 0x10], 0
jl 0x425ef6
jg 0x425eba
cmp dword [ebp + 0xc], 0
jbe 0x425ef6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x425ef6
mov ecx, dword [ebp - 4]
call fcn.004274c0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0045fa86
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x425f1a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.004267d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.0040ab30
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00423820
add esp, 8
movzx edx, al
test edx, edx
je 0x4263b5
lea eax, [ebp + 8]
push eax
call fcn.00423850
add esp, 4
jmp 0x426536
mov ecx, dword [ebp - 0x2c]
call fcn.00427ba0
test eax, eax
je 0x4263f7
mov ecx, dword [ebp - 0x2c]
call fcn.00427ba0
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.00427b20
cmp esi, eax
jae 0x4263f7
lea ecx, [ebp + 8]
push ecx
call fcn.00423800
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.004279d0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x426536
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x42640a
call fcn.0040ab30
jmp 0x426536
mov ecx, dword [ebp - 0x2c]
call fcn.004274c0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x426459
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00423800
add esp, 4
movzx ecx, al
push ecx
call fcn.00424e90
add esp, 8
movzx edx, al
test edx, edx
je 0x426449
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x426451
call fcn.0040ab30
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x426536
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.00423800
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.00426f10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x426531
cmp dword [ebp - 0x34], 1
jle 0x4264b4
cmp dword [ebp - 0x34], 3
je 0x426501
jmp 0x426531
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x4264e6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.0045fdef
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4264e6
call fcn.0040ab30
jmp 0x426536
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x4264fa
mov eax, dword [ebp + 8]
jmp 0x426536
call fcn.0040ab30
jmp 0x426536
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.00424e90
add esp, 8
movzx eax, al
test eax, eax
je 0x426524
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x42652c
call fcn.0040ab30
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x426536
call fcn.0040ab30
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 4
Function at 0x427550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x427577
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42757e
mov al, 1
jmp 0x427652
call fcn.0040ab30
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040ab30
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00423820
add esp, 8
movzx eax, al
test eax, eax
je 0x4275ba
xor al, al
jmp 0x427652
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00427ea0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4275f6
cmp dword [ebp - 0x30], 1
je 0x4275fd
cmp dword [ebp - 0x30], 3
je 0x42764c
jmp 0x427650
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x42762c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.0045fdef
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x42762c
xor al, al
jmp 0x427652
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x427640
mov dword [ebp - 0x38], 1
jmp 0x427647
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x427652
mov al, 1
jmp 0x427652
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret

Function at 0x429f90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4e3074]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
push edi
push 0xc0
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.00456880
add esp, 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
test esi, esi
je 0x42a00b
push esi
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.00429db0
add esp, 4
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.00429e60
mov ecx, 0xd8
lea eax, [esp + 0x10]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x42a020
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret
Function at 0x42a040
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4e0
mov eax, dword [0x4e3074]
xor eax, esp
mov dword [esp + 0x4dc], eax
push esi
push edi
push 0x4ca3dc
push ecx
mov esi, edx
call fcn.0045f8a3
mov edi, eax
add esp, 8
test edi, edi
je 0x42a14d
push 0xc0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00456880
push edi
push 0x400
lea eax, [esp + 0xf4]
mov dword [esp + 0x1c], 0
push 1
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
call fcn.0045fa86
add esp, 0x1c
test eax, eax
je 0x42a103
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xc]
call fcn.00429db0
add esp, 4
lea eax, [esp + 0xe0]
push edi
push 0x400
push 1
push eax
call fcn.0045fa86
add esp, 0x10
test eax, eax
jne 0x42a0d3
mov edx, esi
lea ecx, [esp + 8]
call fcn.00429e60
mov eax, 0xd8
lea ecx, [esp + 8]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x42a117
push edi
call fcn.0045ff68
push edi
mov esi, eax
call fcn.0045febd
add esp, 8
test esi, esi
jne 0x42a14d
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4dc]
xor ecx, esp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4e4]
mov eax, 0xffffff8c
pop edi
pop esi
xor ecx, esp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret
Function at 0x42a2d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0xc], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
push edi
test esi, esi
je 0x42a433
mov edi, dword [ebp + 8]
xor edx, edx
cmp eax, esi
jae 0x42a30e
nop dword [eax]
cmp byte [eax + edi], 0x20
jne 0x42a30c
inc eax
inc edx
cmp eax, esi
jb 0x42a300
cmp eax, esi
je 0x42a37e
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jb 0x42a326
cmp byte [eax + edi], 0xd
jne 0x42a326
cmp byte [eax + edi + 1], 0xa
je 0x42a372
mov cl, byte [eax + edi]
cmp cl, 0xa
je 0x42a372
test edx, edx
jne 0x42a43c
cmp cl, 0x3d
jne 0x42a341
inc ebx
cmp ebx, 2
jmp 0x42a344
cmp cl, 0x7f
ja 0x42a43c
movzx ecx, cl
mov cl, byte [ecx + 0x4c9e40]
cmp cl, 0x7f
je 0x42a43c
cmp cl, 0x40
jae 0x42a369
test ebx, ebx
jne 0x42a43c
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x42a375
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
jb 0x42a2f6
test ecx, ecx
je 0x42a433
mov esi, dword [ebp - 0xc]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*2 + 7]
shr ecx, 3
sub ecx, ebx
test esi, esi
je 0x42a448
mov edx, dword [ebp - 8]
cmp dword [edx], ecx
jb 0x42a448
xor ecx, ecx
mov dword [ebp - 4], 3
xor ebx, ebx
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x42a42b
nop dword [eax]
mov cl, byte [edi]
cmp cl, 0xd
je 0x42a425
cmp cl, 0xa
je 0x42a425
cmp cl, 0x20
je 0x42a425
movzx ecx, cl
mov dl, byte [ecx + 0x4c9e40]
xor ecx, ecx
cmp dl, 0x40
sete cl
shl ebx, 6
sub dword [ebp - 4], ecx
movzx ecx, dl
mov edx, dword [ebp + 0xc]
and ecx, 0x3f
inc edx
or ebx, ecx
mov dword [ebp + 0xc], edx
cmp edx, 4
jne 0x42a425
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
test edx, edx
je 0x42a410
mov ecx, ebx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edx, 1
jbe 0x42a41d
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edx, 2
jbe 0x42a425
mov byte [esi], bl
inc esi
inc edi
sub eax, 1
jne 0x42a3c0
mov eax, dword [ebp - 8]
sub esi, dword [ebp - 0xc]
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov eax, 0xffffffd6
mov esp, ebp
pop ebp
ret