joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x404952
jl 0x404945
test ecx, ecx
jne 0x404952
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x404a12
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00406100
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4049be
jg 0x40497d
test esi, esi
je 0x4049be
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x404995
mov eax, dword [esp + 0x10]
jl 0x40498f
cmp eax, esi
jae 0x404995
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00409aa0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4049df
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4049fb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x404964
jl 0x4049fb
test ecx, ecx
jne 0x404964
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x404a51
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x404a51
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00409aa0
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x404ac0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x404a77
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x404aa9
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0040df21
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x404ad4
cmp edi, eax
ja 0x404a85
test ecx, ecx
je 0x404ac0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0040df21
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404e40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x404e70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x404eac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x404eac
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x404f94
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x404ed4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x404f07
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0040c7b2
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x404f67
sub eax, 1
je 0x404f67
sub eax, 2
jne 0x404f94
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0040c7b2
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404f84
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040d8ca
add esp, 0x10
cmp edi, eax
jne 0x404f94
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x404e97
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004076a2
mov esp, ebp
pop ebp
ret 4
Function at 0x405e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x405eca
cmp byte [esi + 0x3d], 0
je 0x405eca
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x405eb8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x405e80
sub eax, 1
je 0x405e84
sub eax, 2
jne 0x405eb8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405ea1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040d8ca
add esp, 0x10
cmp edi, eax
jne 0x405eb8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004076a2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004076a2
mov esp, ebp
pop ebp
ret

Function at 0x4064e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429f50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004078b2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0040868e
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a2ee
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a164

Function at 0x41f442
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ef95

Function at 0x5d8aa8
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x5d87dc
inc edx
call fcn.005d8ad5
sub edx, eax
inc eax
xor dword [edi], esi
sub eax, edx
add edi, 2
add eax, 0xdbf78ac5
cmp edi, ecx
jl fcn.005d8aa8
or eax, eax
sub edx, 0xaf1b589a
ret
Function at 0x70d8216a
Capabilities:
Enumerate gui resources

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov ebx, dword [ecx]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
test byte [0x70d950dc], 8
jne 0x70d821b8
mov dword [esp], ebx
call sym._UXTHEME_SetActiveTheme
mov dword [esp + 4], 0x31a
mov ebx, eax
mov dword [esp], sym._UXTHEME_broadcast_msg_8
call dword [sym.imp.user32.dll_EnumWindows]
mov eax, ebx
sub esp, 8
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__s__p__n
mov dword [esp + 8], str.ApplyTheme
mov dword [esp + 4], 0x70d950dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x70d82183
Function at 0x70d87780
Capabilities:
Enumerate gui resources
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x30
mov ebx, dword [ecx]
test byte [0x70d950dc], 8
jne 0x70d877c0
mov eax, dword [0x70d9510c]
test eax, eax
je 0x70d877aa
test ebx, ebx
je 0x70d877f0
lea esp, [ebp - 8]
xor eax, eax
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__d__n
mov dword [esp + 8], str.EnableTheming
mov dword [esp + 4], 0x70d950dc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x70d8779d
lea eax, [ebp - 0xc]
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionThemeManager
mov dword [0x70d9510c], 0
mov dword [esp + 8], eax
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyW]
sub esp, 0xc
test eax, eax
je 0x70d87848
mov dword [esp + 4], 0x31a
mov dword [esp], sym._UXTHEME_broadcast_msg_8
call dword [sym.imp.user32.dll_EnumWindows]
xor eax, eax
sub esp, 8
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0x70d97d22
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.ThemeActive
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x70d8781d
Function at 0x70d878f0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x3c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x70d9507c], 8
jne 0x70d87978
test ebx, ebx
je 0x70d87a33
test esi, esi
jne 0x70d879b0
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [ebx + 4]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteDC]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__d__n
mov dword [esp + 8], str.EndBufferedPaint
mov dword [esp + 4], 0x70d9507c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x70d87911
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x18]
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_BitBlt]
sub esp, 0x24
test eax, eax
jne 0x70d87921
test byte [0x70d9507c], 4
je 0x70d87921
mov dword [esp + 0xc], str.BitBlt___failed_n
mov dword [esp + 8], str.EndBufferedPaint
mov dword [esp + 4], 0x70d9507c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x70d87921
mov eax, 0x80070057
jmp 0x70d87965
Function at 0x70d8ae40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x70d8ae5f
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
mov eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword fs:[0x18]
mov eax, dword [eax + 0x220]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x70d8af4a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x10c]
mov dword [edx + 0x220], eax
mov edi, dword [ecx + 0x104]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x70d8aed0
jmp 0x70d8af0d
mov edx, dword [eax + 0x14]
mov dword [edi + 8], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov eax, dword [edi + 8]
test eax, eax
jne 0x70d8aeb0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x104], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x1c]
sub esp, 0xc
mov edi, dword [ecx + 0x104]
test edi, edi
jne 0x70d8aed0
mov ecx, dword [ebp - 0x1c]
mov eax, dword fs:[0x18]
mov dword [ecx], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x24]
sub esp, 0xc
mov eax, dword [eax + 0x220]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x70d8ae80
mov eax, dword [ebp - 0x24]
mov esi, dword fs:[0x18]
mov edi, dword [eax + 0x228]
test edi, edi
je 0x70d8afb0
mov eax, esi
mov esi, edi
mov edi, eax
lea esi, [esi]
mov eax, dword [esi + 0x210]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x228], eax
mov eax, dword [esi + 0x208]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov esi, dword [ecx + 0x228]
test esi, esi
jne 0x70d8af68
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x70d8de50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
leave
ret

Function at 0x70d8e230
Capabilities:
Extract resource via kernel32 functions
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
test byte [0x70d950ec], 8
jne 0x70d8e2e0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], str.TEXTFILE
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x70d8e318
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LoadResource]
sub esp, 8
mov ebx, eax
test eax, eax
je 0x70d8e320
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_SizeofResource]
sub esp, 8
mov edi, eax
mov dword [esp + 8], 0xc
and edi, 0xfffffffe
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [eax], ebx
sub esp, 0xc
mov esi, eax
mov dword [eax + 4], ebx
add ebx, edi
mov dword [eax + 8], ebx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str.Loading_resource_INI__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.UXINI_LoadINI
mov dword [esp + 4], 0x70d950ec
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x70d8e249
xor ebx, ebx
jmp 0x70d8e288
xor esi, esi
test byte [0x70d950ec], 8
je 0x70d8e2d1
mov eax, dword [ebp + 0xc]
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0xc], str._s_resource_not_found_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.UXINI_LoadINI
mov dword [esp + 4], 0x70d950ec
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x70d8e2d1
Function at 0x70d8fe80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0xb4]
push ebx
sub esp, 0xec
mov dword [ebp - 0xbc], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Control_PanelColors
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x70d8ff86
mov edi, eax
lea ebx, [ebp - 0xae]
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esi + edi*4]
mov dword [esp + 8], str._d__d__d
mov dword [esp + 4], 0xd
mov edx, eax
mov dword [esp], ebx
shr edx, 0x10
movzx edx, dl
mov dword [esp + 0x14], edx
movzx edx, ah
movzx eax, al
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call sym._swprintf.constprop.0
mov dword [esp + 0x10], ebx
lea eax, [eax + eax + 2]
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov eax, dword [edi*4 + 0x70d983a0]
inc edi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
cmp edi, 0x1f
jne 0x70d8ff00
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x70d8ffc1
xor eax, eax
lea edx, [ebp - 0x94]
lea esi, [esi]
nop
mov dword [edx + eax*4], eax
inc eax
cmp eax, 0x1f
jne 0x70d8ffa0
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], 0x1f
call dword [sym.imp.user32.dll_SetSysColors]
sub esp, 0xc
mov edi, dword [sym.imp.user32.dll_SetThreadDpiAwarenessContext]
mov dword [esp], 0xffffffff
call edi
mov ebx, dword [sym.imp.user32.dll_SystemParametersInfoW]
sub esp, 4
mov dword [ebp - 0xbc], eax
lea eax, [esi + 0x7c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1f8
mov dword [esp], 0x2a
call ebx
lea eax, [esi + 0x274]
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x22
call ebx
mov eax, dword [esi + 0x2d0]
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1009
call ebx
mov eax, dword [esi + 0x2d4]
sub esp, 0x10
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1023
call ebx
mov eax, dword [ebp - 0xbc]
sub esp, 0x10
mov dword [esp], eax
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x70d91fe0
Capabilities:
Enumerate gui resources

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x1c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test ebx, ebx
je 0x70d92050
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.user32.dll_PostMessageW]
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], sym._UXTHEME_broadcast_msg_enumchild_8
mov dword [esp], ebx
call dword [sym.imp.user32.dll_EnumChildWindows]
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, 1
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 4], esi
mov dword [esp], sym._UXTHEME_broadcast_msg_8
call dword [sym.imp.user32.dll_EnumWindows]
sub esp, 8
jmp 0x70d92034
Function at 0x70d93350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x70d933ab
cmp byte [esi + ebx - 1], 0xa
je 0x70d9337f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x70d951d8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x34a01a57
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1d9739b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219