joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ecd0
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 0x41ed31
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x470]
test edx, edx
je 0x41ed10
push 5
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x108
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4ca410
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.00408d50
mov esp, ebp
pop ebp
ret 4

Function at 0x4299b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad806
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x158
mov eax, dword [0x4ec00c]
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 0x429a02
mov al, byte [ebp - 0x89]
jmp 0x429af0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xb0]
call sym.Install_adv.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_adv.exe_public:_class_Json::Value____thiscall_Json::Value::operator_class_Json::Value__
lea ecx, [ebp - 0xb0]
call sym.Install_adv.exe_public:_void___thiscall_Json::Value::destructor_void_
push 1
lea ecx, [ebp - 0x168]
call fcn.0042a350
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.0042a2f0
lea ecx, [ebp - 0x88]
call sym.Install_adv.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_adv.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_adv.exe_public:_void___thiscall_Json::Reader::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00429ed0
jmp 0x429ad2
mov dword [ebp - 4], 0xffffffff
jmp 0x429aea
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.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x42a6c0
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 0x42a7de
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x42a6f8
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.0042b0d0
jmp 0x42a7f2
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.0042c3c0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x42a78c
jg 0x42a720
cmp dword [ebp + 0xc], 0
jbe 0x42a78c
cmp dword [ebp - 8], 0
jl 0x42a78c
jg 0x42a72e
cmp dword [ebp - 0xc], 0
jbe 0x42a78c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x42a74c
jl 0x42a740
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x42a74c
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.0042c5c0
push eax
call fcn.00417d60
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.0042c440
cmp dword [ebp + 0x10], 0
jl 0x42a7ce
jg 0x42a79a
cmp dword [ebp + 0xc], 0
jbe 0x42a7ce
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x42a7ce
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.0043ccbf
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 0x42a7f2
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.0042b0d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a800
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 0x42a926
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x42a838
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.0042b1f0
jmp 0x42a93a
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.0042c480
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x42a8cc
jg 0x42a860
cmp dword [ebp + 0xc], 0
jbe 0x42a8cc
cmp dword [ebp - 8], 0
jl 0x42a8cc
jg 0x42a86e
cmp dword [ebp - 0xc], 0
jbe 0x42a8cc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x42a88c
jl 0x42a880
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x42a88c
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.0042c5e0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00417d60
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.0042c560
cmp dword [ebp + 0x10], 0
jl 0x42a916
jg 0x42a8da
cmp dword [ebp + 0xc], 0
jbe 0x42a916
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x42a916
mov ecx, dword [ebp - 4]
call fcn.0042bee0
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.0043f624
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 0x42a93a
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.0042b1f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ad90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.0041ad20
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00428240
add esp, 8
movzx edx, al
test edx, edx
je 0x42add5
lea eax, [ebp + 8]
push eax
call fcn.00428270
add esp, 4
jmp 0x42af56
mov ecx, dword [ebp - 0x2c]
call fcn.0042c5c0
test eax, eax
je 0x42ae17
mov ecx, dword [ebp - 0x2c]
call fcn.0042c5c0
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.0042c540
cmp esi, eax
jae 0x42ae17
lea ecx, [ebp + 8]
push ecx
call fcn.00428220
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.0042c3f0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x42af56
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x42ae2a
call fcn.0041ad20
jmp 0x42af56
mov ecx, dword [ebp - 0x2c]
call fcn.0042bee0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x42ae79
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00428220
add esp, 4
movzx ecx, al
push ecx
call fcn.004298b0
add esp, 8
movzx edx, al
test edx, edx
je 0x42ae69
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x42ae71
call fcn.0041ad20
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x42af56
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.00428220
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.0042b930
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x42af51
cmp dword [ebp - 0x34], 1
jle 0x42aed4
cmp dword [ebp - 0x34], 3
je 0x42af21
jmp 0x42af51
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x42af06
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.0043ccbf
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x42af06
call fcn.0041ad20
jmp 0x42af56
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x42af1a
mov eax, dword [ebp + 8]
jmp 0x42af56
call fcn.0041ad20
jmp 0x42af56
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.004298b0
add esp, 8
movzx eax, al
test eax, eax
je 0x42af44
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x42af4c
call fcn.0041ad20
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x42af56
call fcn.0041ad20
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x42bf70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x42bf97
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42bf9e
mov al, 1
jmp 0x42c072
call fcn.0041ad20
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.0041ad20
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00428240
add esp, 8
movzx eax, al
test eax, eax
je 0x42bfda
xor al, al
jmp 0x42c072
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.0042c8c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42c016
cmp dword [ebp - 0x30], 1
je 0x42c01d
cmp dword [ebp - 0x30], 3
je 0x42c06c
jmp 0x42c070
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 0x42c04c
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.0043ccbf
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x42c04c
xor al, al
jmp 0x42c072
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x42c060
mov dword [ebp - 0x38], 1
jmp 0x42c067
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x42c072
mov al, 1
jmp 0x42c072
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret

Function at 0x42e9d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x4ec00c]
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.00433ca0
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 0x42ea4b
push esi
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.0042e7f0
add esp, 4
mov edx, ebx
lea ecx, [esp + 0x10]
call fcn.0042e8a0
mov ecx, 0xd8
lea eax, [esp + 0x10]
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x42ea60
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x42ea80
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4e0
mov eax, dword [0x4ec00c]
xor eax, esp
mov dword [esp + 0x4dc], eax
push esi
push edi
push 0x4d1c9c
push ecx
mov esi, edx
call fcn.0043cf02
mov edi, eax
add esp, 8
test edi, edi
je 0x42eb8d
push 0xc0
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00433ca0
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.0043f624
add esp, 0x1c
test eax, eax
je 0x42eb43
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0xc]
call fcn.0042e7f0
add esp, 4
lea eax, [esp + 0xe0]
push edi
push 0x400
push 1
push eax
call fcn.0043f624
add esp, 0x10
test eax, eax
jne 0x42eb13
mov edx, esi
lea ecx, [esp + 8]
call fcn.0042e8a0
mov eax, 0xd8
lea ecx, [esp + 8]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x42eb57
push edi
call fcn.0043f780
push edi
mov esi, eax
call fcn.0043cf8f
add esp, 8
test esi, esi
jne 0x42eb8d
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4dc]
xor ecx, esp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4e4]
mov eax, 0xffffff8c
pop edi
pop esi
xor ecx, esp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret
Function at 0x42ed10
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 0x42ee73
mov edi, dword [ebp + 8]
xor edx, edx
cmp eax, esi
jae 0x42ed4e
nop dword [eax]
cmp byte [eax + edi], 0x20
jne 0x42ed4c
inc eax
inc edx
cmp eax, esi
jb 0x42ed40
cmp eax, esi
je 0x42edbe
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jb 0x42ed66
cmp byte [eax + edi], 0xd
jne 0x42ed66
cmp byte [eax + edi + 1], 0xa
je 0x42edb2
mov cl, byte [eax + edi]
cmp cl, 0xa
je 0x42edb2
test edx, edx
jne 0x42ee7c
cmp cl, 0x3d
jne 0x42ed81
inc ebx
cmp ebx, 2
jmp 0x42ed84
cmp cl, 0x7f
ja 0x42ee7c
movzx ecx, cl
mov cl, byte [ecx + 0x4d1920]
cmp cl, 0x7f
je 0x42ee7c
cmp cl, 0x40
jae 0x42eda9
test ebx, ebx
jne 0x42ee7c
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x42edb5
mov ecx, dword [ebp - 4]
inc eax
cmp eax, esi
jb 0x42ed36
test ecx, ecx
je 0x42ee73
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 0x42ee88
mov edx, dword [ebp - 8]
cmp dword [edx], ecx
jb 0x42ee88
xor ecx, ecx
mov dword [ebp - 4], 3
xor ebx, ebx
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x42ee6b
nop dword [eax]
mov cl, byte [edi]
cmp cl, 0xd
je 0x42ee65
cmp cl, 0xa
je 0x42ee65
cmp cl, 0x20
je 0x42ee65
movzx ecx, cl
mov dl, byte [ecx + 0x4d1920]
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 0x42ee65
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
test edx, edx
je 0x42ee50
mov ecx, ebx
shr ecx, 0x10
mov byte [esi], cl
inc esi
cmp edx, 1
jbe 0x42ee5d
mov ecx, ebx
shr ecx, 8
mov byte [esi], cl
inc esi
cmp edx, 2
jbe 0x42ee65
mov byte [esi], bl
inc esi
inc edi
sub eax, 1
jne 0x42ee00
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
Function at 0x444beb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004448ab

Function at 0x44ab2a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a9a9
Function at 0x475380
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475390

Function at 0x475610
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004758c0

Function at 0x481140
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x418], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00433ca0
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.00433ca0
add esp, 0xc
push 0
push 0x14
lea edx, [ebp - 0x414]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4cbba0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x481220
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttf
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4811eb
mov eax, 1
jmp 0x481222
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x481222
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 4
Function at 0x481c80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b05c3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4ec00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x3c], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x44], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00414ff0
mov dword [ebp - 4], 0
push 0x4cbc04
lea ecx, [ebp - 0x34]
call fcn.004096a0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x34]
call fcn.004156b0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x40]
call sym.Install_adv.exe_public:_int___thiscall_CNsImage::GetEncoderClsid_wchar_t_const___struct__GUID__
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x54]
call fcn.00414e00
cmp dword [ebp - 0x28], 0
je 0x481da2
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], 0
je 0x481db2
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x30], 0
je 0x481dc2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [ebp - 0x21], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00415100
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret 8
Function at 0x483240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call sym.Install_adv.exe_public:_bool___thiscall_CNsImage::isStop_int_
movzx edx, al
test edx, edx
jne 0x483265
jmp 0x4832d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call sym.Install_adv.exe_public:_int___thiscall_CNsImage::GetMovieIndex_int_
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48327c
jmp 0x4832d0
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00415380
mov dword [eax + 0x3c], 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00415380
mov dword [ebp - 0x10], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push sym.Install_adv.exe_private:_static_unsigned_int___stdcall_CNsImage::MovieThread_void__
push 0
push 0
call fcn.0043c9f4
add esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4832d0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4