joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2111ee40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
push edi
je 0x2111efd0
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x2111eeaa
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ee6c
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2111ee7b
mov ecx, dword [ebx + 0x30]
push 1
push ecx
call eax
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ef0a
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111ef01
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111ee97
jmp 0x2111ef01
cmp edi, 0xffffffff
jne 0x2111ef33
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111eec9
mov edx, dword [0x2114fa38]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2111eed8
mov ecx, dword [ebx + 0x30]
push 0
push ecx
call eax
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ef0a
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111ef01
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111eef0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x2111efd0
mov esi, dword [eax + 4]
xor edx, edx
mov ecx, eax
mov dword [ecx], edx
push eax
mov dword [ecx + 4], edx
call sym.mss32.dll__AIL_mem_free_lock_4
test esi, esi
mov eax, esi
jne 0x2111ef15
pop edi
pop esi
pop ebx
ret 8
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x2111efd0
cmp eax, edi
jne 0x2111ef4a
mov edx, dword [edi + 4]
mov dword [ebx + 0x50], edx
jmp 0x2111ef6a
test eax, eax
je 0x2111ef6a
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x2111ef5d
mov eax, ecx
test eax, eax
jne 0x2111ef4e
jmp 0x2111ef6a
test eax, eax
je 0x2111ef6a
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111ef7f
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x2111ef8f
mov ecx, dword [edi]
mov edx, dword [ebx + 0x30]
push ecx
push edx
call eax
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111efc1
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111efb8
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111efa7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
push edi
mov dword [ecx + 4], eax
call sym.mss32.dll__AIL_mem_free_lock_4
pop edi
pop esi
pop ebx
ret 8
Function at 0x2111efe0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x2111f03d
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111effe
mov eax, dword [0x2114fa38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x2111f00b
mov ecx, dword [esi + 0x30]
push ecx
call eax
mov eax, dword [0x2114e89c]
test eax, eax
je 0x2111f03d
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2111f034
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x2111f023
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret 4
Function at 0x211253c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
test edi, edi
mov ebp, ecx
mov esi, ebp
je 0x211253e2
mov al, byte [edx]
xor ecx, ecx
xor al, 0x80
mov ch, al
add esi, 2
inc edx
dec edi
mov word [esi - 2], cx
jne 0x211253cf
pop edi
pop esi
mov eax, ebp
pop ebp
ret 4

Function at 0x211274e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, ecx
or ecx, 0xffffffff
push esi
push edi
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea ebx, [esp + 0x14]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
or ecx, 0xffffffff
mov esi, edi
lea ebx, [esp + 0x14]
mov edi, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x11c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
test ebx, ebx
je 0x211275e3
cmp ebx, 0xffffffff
je 0x211275e3
or ecx, 0xffffffff
xor eax, eax
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edx, [esp + 0x14]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x148]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
lea edx, [esp + 0x14]
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
shr ecx, 2
dec edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sym.mss32.dll_RIB_load_provider_library
test eax, eax
je 0x211275c9
inc dword [esp + 0x10]
lea ecx, [esp + 0x11c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x21127564
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x2112b180
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 6]
mov edx, dword [esp + 8]
and eax, 0xffff
and ecx, 0xffff
shl ecx, 7
or ecx, eax
mov eax, dword [esp + 0x14]
and edx, 0xffff
shl ecx, 7
or ecx, edx
mov edx, dword [esp + 0x16]
and eax, 0xffff
shl eax, 7
and edx, 0xffff
or eax, edx
mov edx, dword [esp + 0x18]
shl eax, 7
and edx, 0xffff
or eax, edx
cmp eax, ecx
jb 0x2112b205
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x12]
and edx, 0xffff
and esi, 0xffff
shl edx, 7
or edx, esi
mov esi, dword [esp + 0x14]
and esi, 0xffff
shl edx, 7
or edx, esi
cmp eax, edx
pop esi
jae 0x2112b205
sub eax, ecx
ret 0x18
or eax, 0xffffffff
ret 0x18
Function at 0x2112eb30
Capabilities:
Capture microphone audio

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
cmp eax, ecx
push edi
je 0x2112ec43
xor ebp, ebp
cmp ecx, ebp
je 0x2112ebe9
mov dword [esi + 0x45], ebp
mov ecx, dword [esi + 0x39]
mov edi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
push 0x20
lea eax, [esi + 0x3d]
push eax
push ecx
call edi
cmp ax, bp
je 0x2112eb8d
and eax, 0xffff
push eax
push str.waveInAddBuffer___failed__code__0x_X_n
push 0x2114e6e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi + 0x49]
or edx, 0x80000000
mov dword [esi + 0x49], edx
mov dword [esi + 0x65], ebp
mov ecx, dword [esi + 0x39]
push 0x20
lea eax, [esi + 0x5d]
push eax
push ecx
call edi
cmp ax, bp
jne 0x2112eb6b
mov edx, dword [esi + 0x69]
or edx, 0x80000000
mov dword [esi + 0x69], edx
mov eax, dword [esi + 0x39]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
cmp ax, bp
je 0x2112ebd5
and eax, 0xffff
push eax
push str.waveInStart___failed__code__0x_X_n
jmp 0x2112eb76
mov ebx, 1
pop edi
mov dword [esi + 0x35], ebx
mov dword [esi + 0x20], ebx
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
mov ecx, dword [esi + 0x39]
push ecx
mov dword [esi + 0x35], ebp
call dword [sym.imp.WINMM.dll_waveInReset]
call sym.mss32.dll__AIL_ms_count_0
mov edi, eax
add edi, 0x3e8
call sym.mss32.dll__AIL_ms_count_0
cmp edi, eax
mov ebx, 1
jbe 0x2112ec3e
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call ebp
mov eax, 0x80000000
test dword [esi + 0x49], eax
je 0x2112ec29
test byte [esi + 0x4d], bl
je 0x2112ec33
test dword [esi + 0x69], eax
je 0x2112ec3c
test byte [esi + 0x6d], bl
jne 0x2112ec3c
call sym.mss32.dll__AIL_ms_count_0
cmp edi, eax
ja 0x2112ec17
xor ebp, ebp
mov dword [esi + 0x20], ebp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x21132957
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x2114d9f0
cmp edx, dword [eax]
je 0x21132979
add eax, 8
inc ecx
cmp eax, 0x2114da80
jl 0x2113296a
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x2114d9f0]
jne 0x21132aa7
mov eax, dword [0x21152e14]
cmp eax, 1
je 0x21132a81
test eax, eax
jne 0x211329aa
cmp dword [0x21152e18], 1
je 0x21132a81
cmp edx, 0xfc
je 0x21132aa7
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x211329e1
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.211331f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.21132c00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x21132a24
lea eax, [ebp - 0x1a4]
push eax
call fcn.21132c00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x21148244
push edi
call fcn.211330f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.211331f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.21133200
lea eax, [ebp - 0xa0]
push 0x21148224
push eax
call fcn.21133200
push dword [esi + 0x2114d9f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.21133200
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.21136535
add esp, 0x2c
pop edi
jmp 0x21132aa7
lea eax, [ebp + 8]
lea esi, [esi + 0x2114d9f4]
push 0
push eax
push dword [esi]
call fcn.21132c00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x71101780
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x71103018], 8
jne 0x711018d0
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov ebx, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x7110183f
lea eax, [eax + 4]
mov dword [ebp - 0x30], eax
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], esi
call sym._EnumMonitorsW_24
sub esp, 0x18
test eax, eax
jne 0x711018b0
cmp dword [ebx + 0x34], 0x7a
je 0x71101858
mov dword [esp + 8], edi
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]
sub esp, 0xc
lea esp, [ebp - 0x10]
xor edi, edi
pop ecx
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov edx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [edi], eax
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 2
mov dword [esp], esi
call sym._EnumMonitorsW_24
sub esp, 0x18
test eax, eax
je 0x7110181b
nop
test byte [0x71103018], 8
jne 0x71101910
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__ld___s__n
mov dword [esp + 8], 0x711050b0
mov dword [esp + 4], 0x71103018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x711017a6
mov eax, dword [edi + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.___p___lu_monitors_installed__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x711050b0
mov dword [esp + 4], 0x71103018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
Function at 0x71101950
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, 0x2c
mov ebx, dword [ecx]
test byte [0x71103018], 8
jne 0x711019d8
test ebx, ebx
je 0x7110199f
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
jne 0x711019b0
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 esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov edx, dword [ebx]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x7110197f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.PSetupDestroyMonitorInfo
mov dword [esp + 4], 0x71103018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x7110196e

Function at 0x71101c00
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 0x71101c5b
cmp byte [esi + ebx - 1], 0xa
je 0x71101c2f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x71106084], 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 0x711021b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x71106094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x71102370
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x71106094]
movzx eax, al
bt eax, esi
jae 0x711023d0
mov ecx, dword [0x71106084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x71102276
test byte [0x71103030], 8
jne 0x71102310
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x71103040], 8
jne 0x711022c0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x71102245
cmp esi, 3
jbe 0x71102280
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x7110516c]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x71102245
mov ecx, dword [0x71106094]
test ecx, ecx
je 0x711023b0
mov dword [esp], 0x71103040
call dword [0x71106094]
test al, 8
je 0x7110221c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x7110221c
mov ebx, dword [0x71106094]
test ebx, ebx
je 0x71102390
mov dword [esp], 0x71103030
call dword [0x71106094]
test al, 8
je 0x71102209
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x7110220f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x71106094
call sym._load_func.part.0
jmp 0x711021d0
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x71106094
call sym._load_func.part.0
jmp 0x7110231a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x71106094
call sym._load_func.part.0
jmp 0x711022ce
mov eax, 0xffffffff
jmp 0x71102276
Function at 0x4171b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x413015
lea edi, [esi - 0x12015]
push edi
or ebp, 0xffffffff
jmp 0x4171d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4171d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4171c8
mov eax, 1
add ebx, ebx
jne 0x4171eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4171e0
jne 0x4171fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4171e0
xor ecx, ecx
sub eax, 3
jb 0x417210
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417282
mov ebp, eax
add ebx, ebx
jne 0x41721b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41724c
inc ecx
add ebx, ebx
jne 0x417238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41722d
jne 0x417249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41722d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41726c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41725d
jmp 0x4171ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41726c
add edi, ecx
jmp 0x4171ce
pop esi
mov edi, esi
mov ecx, 0x200
jmp 0x4172be
mov al, byte [edi]
add edi, 1
cmp al, 0x80
jb 0x41729f
cmp al, 0x8f
ja 0x41729f
cmp byte [edi - 2], 0xf
je 0x4172a5
sub al, 0xe8
cmp al, 1
ja 0x4172c8
cmp byte [edi], 0
jne 0x4172c8
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 4
sub ecx, 4
mov al, byte [edi]
add edi, 1
loop 0x41729f
sub ecx, 1
jg 0x41728c
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417315
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2238c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x223e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4172d3
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x223ec]
or eax, eax
je 0x41730f
mov dword [ebx], eax
add ebx, 4
jmp 0x4172f0
call dword [esi + 0x223e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x417346
cmp al, 0xef
ja 0x417339
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41731b
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x417328
mov ebp, dword [esi + 0x223f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41737a
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x40219c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x402221
push 0x80000000
push dword [ebp + 8]
jmp loc.0042d000
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x40222a
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 8

Function at 0x402292
Capabilities:
Delete file
Set file attributes

Disassembly:
xor eax, eax
test edi, edi
je 0x4022b2
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call esi
test eax, eax
jne 0x4022b1
push edi
call esi
pop esi
ret
Function at 0x4024cc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x40253c
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call esi
test eax, eax
je 0x40253c
push 0x14
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
cmp eax, edi
je 0x402509
push 0x7f
push 0x12
mov edx, str.Z_fE_
call fcn.00402d34
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call esi
test eax, eax
je 0x40253c
lea edi, [ebp - 0x104]
call fcn.00402292
mov edi, eax
mov eax, edi
lea esp, [ebp - 0x10c]
pop edi
pop esi
leave
ret 4

Function at 0x40254a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push edi
push 3
xor edi, edi
call fcn.00402ed1
add eax, 3
push eax
call fcn.00402ef8
mov ebx, eax
cmp ebx, edi
je 0x4025de
push esi
push 4
mov dword [ebp - 0x10], 0x23
mov dword [ebp - 0xc], 0x1c
mov dword [ebp - 8], 0x1a
mov dword [ebp - 4], 0x28
call fcn.00402ed1
mov eax, dword [ebp + eax*4 - 0x10]
lea ecx, [ebp - 0x114]
push ecx
push edi
push edi
or eax, 0x8000
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x4025d6
mov esi, 0x104
call fcn.00402e4e
mov edi, eax
test edi, edi
je 0x4025d6
push edi
push 0xffffffffffffffff
jmp loc.0042d520
mov esi, ebx
call fcn.00402e9d
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret

Function at 0x40266f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp edi, ebx
je 0x402755
push edi
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x402755
push 4
pop eax
call sub.ntdll.dll__alloca_probe
mov esi, esp
cmp esi, ebx
je 0x4026bb
push 0x92
push 2
mov eax, esi
mov edx, 0x4069a8
call fcn.00402d34
push 0xffffffffffffffff
call fcn.00402ed1
push eax
push esi
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.ntdll.dll__snprintf]
lea eax, [ebp - 0x104]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4026e2
sub eax, edx
cmp eax, 6
jb 0x4026bb
cmp byte [ebp - 0x104], bl
je 0x40271c
lea ecx, [ebp - 0x104]
movsx eax, byte [ecx]
lea edx, [eax - 0x30]
and edx, 0x80000001
jns 0x402711
dec edx
or edx, 0xfffffffe
inc edx
je 0x402717
add al, 0x31
mov byte [ecx], al
inc ecx
cmp byte [ecx], bl
jne 0x4026fe
lea eax, [ebp - 0x104]
push eax
push edi
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 8
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
cmp eax, ebx
je 0x40274a
push 0x8e
push 4
mov edx, 0x406578
call fcn.00402d34
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionA]
xor esi, esi
inc esi
mov eax, esi
lea esp, [ebp - 0x10c]
pop esi
pop ebx
leave
ret