joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a33b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041000a
mov dword [ebp - 0x14], eax
cmp dword [0x431050], edi
jne 0x41a42c
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41a3b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41a50c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41a50c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41a50c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x431050], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x431054], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x431058], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431060], eax
test eax, eax
je 0x41a429
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43105c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41a451
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41a444
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41a466
push 4
pop eax
jmp 0x41a50e
cmp dword [ebp - 0x14], edi
je 0x41a466
push dword [0x431050]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41a44b
mov eax, dword [0x43105c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41a4c4
cmp dword [0x431060], esi
je 0x41a4c4
push eax
call ebx
push dword [0x431060]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41a4c4
test eax, eax
je 0x41a4c4
call ecx
test eax, eax
je 0x41a4b9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41a4b9
test byte [ebp - 8], 1
jne 0x41a4c4
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41a4f4
mov eax, dword [0x431054]
cmp eax, esi
je 0x41a4f1
push eax
call ebx
test eax, eax
je 0x41a4f1
call eax
mov edi, eax
test edi, edi
je 0x41a4f1
mov eax, dword [0x431058]
cmp eax, esi
je 0x41a4f1
push eax
call ebx
test eax, eax
je 0x41a4f1
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x431050]
call ebx
test eax, eax
je 0x41a50c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41a50e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b01f
leave
ret
Function at 0x41de62
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414c51
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41de9a
xor eax, eax
jmp 0x41dec6
cmp esi, dword [ebp - 4]
je 0x41dec3
cmp dword [ebp + 0xc], 0
je 0x41dec3
push dword [edi + 0x9c]
call fcn.0041da70
push dword [edi + 0x9c]
mov esi, eax
call fcn.004103b4
pop ecx
pop ecx
cmp esi, eax
je 0x41de96
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427c3f
lea edi, [esi + 0x25000]
Function at 0x403024
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x405243]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x405243]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov cl, byte [edi]
mov al, byte [0x405191]
mov ah, byte [esi]
add al, ah
xor al, cl
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x403071
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x403058
mov edi, esi
push 0x39
push 0x405243
push 0x111
push dword [0x40521f]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x405243]
mov edi, dword [0x405247]
mov esi, dword [0x405237]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030a3
mov esi, dword [0x40518c]
mov ecx, dword [0x405188]
push ecx
add ecx, esi
mov dword [0x405203], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x405237]
mov ebx, esi
add ebx, eax
mov dword [0x4051ff], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x40314a
cmp eax, ecx
jae 0x4030ef
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x403100
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030f7
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x403113
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x40310c
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x403134
inc al
cmp al, 0
jne 0x40312c
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403130
mov al, 0
dec al
dec cl
jmp 0x403146
dec cl
inc al
cmp al, 0
jne 0x403144
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403146
dec al
jmp 0x4030e6
mov ecx, dword [0x405203]
sub ecx, esi
test ecx, ecx
je 0x40315f
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403156
mov edi, dword [0x405237]
mov dword [0x405237], edi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x267d7d4d
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6a7945f1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401450
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 4]
mov dword [esp + 0x1c], ecx
mov dword [ecx], 0x40b0d8
xor edx, edx
xor eax, eax
mov ecx, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40146a
mov byte [edi + 0x100], dl
mov byte [edi + 0x101], dl
mov byte [esp + 0x10], dl
xor esi, esi
mov ebx, edi
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov cl, byte [ebx]
and eax, 0xff
xor edx, edx
mov dl, byte [eax + ebp]
mov ebp, ecx
and ebp, 0xff
add esi, edx
add ebp, esi
mov edx, ebp
and edx, 0x800000ff
jns 0x4014c2
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x18], dl
mov esi, dword [esp + 0x18]
and esi, 0xff
inc eax
mov dl, byte [esi + edi]
mov byte [ebx], dl
mov byte [esi + edi], cl
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc ebx
dec eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x10], dl
jne 0x401490
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x401530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov al, byte [ecx + 0x105]
mov dl, byte [ecx + 0x104]
mov byte [esp], al
mov eax, dword [esp + 0x18]
push edi
xor edi, edi
test eax, eax
mov byte [esp + 8], dl
jbe 0x401615
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
and eax, 0xff
and esi, 0xff
lea edx, [eax + 1]
and edx, 0x800000ff
jns 0x40157f
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
mov bl, byte [eax + ecx + 4]
mov byte [esp + 0x1c], bl
and ebx, 0xff
add ebx, esi
and ebx, 0x800000ff
jns 0x4015ac
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x18], bl
and esi, 0xff
mov ebp, dword [esp + 0x18]
and ebp, 0xff
mov bl, byte [esi + ecx + 4]
mov byte [eax + ecx + 4], bl
mov bl, byte [esp + 0x18]
mov byte [esi + ecx + 4], bl
xor ebx, ebx
mov bl, byte [eax + ecx + 4]
add ebx, ebp
and ebx, 0x800000ff
jns 0x4015f4
dec ebx
or ebx, 0xffffff00
inc ebx
mov ebp, dword [esp + 0x24]
and ebx, 0xff
mov bl, byte [ebx + ecx + 4]
xor byte [edi + ebp], bl
mov ebx, dword [esp + 0x28]
inc edi
cmp edi, ebx
jb 0x40156c
pop esi
pop ebp
pop ebx
mov byte [ecx + 0x104], dl
mov dl, byte [esp + 4]
mov byte [ecx + 0x105], dl
mov eax, 1
pop edi
add esp, 0x10
ret 8
Function at 0x401100
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x684
mov dword [ebp - 0x678], edx
mov dword [ebp - 0x674], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcslen]
mov ebx, eax
mov eax, dword [ebp - 0x678]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
add ebx, eax
mov eax, dword [ebp - 0x674]
mov esi, dword [eax*4 + 0x403098]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [ebx + eax + 2]
cmp eax, 0x104
ja 0x401260
lea ebx, [ebp - 0x66c]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], 0x403014
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
mov eax, dword [ebp - 0x678]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcscat]
mov dword [esp + 4], esi
lea esi, [ebp - 0x25c]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileExW]
sub esp, 0x18
cmp eax, 0xffffffff
je 0x401242
mov dword [ebp - 0x670], eax
lea ebx, [ebp - 0x464]
lea esi, [esi]
lea eax, [ebp - 0x230]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.shlwapi.dll_PathCombineW]
sub esp, 0xc
test eax, eax
je 0x401228
mov dword [esp + 4], ebx
mov dword [esp], str._ls_n
call sym._printf.constprop.0
mov dword [section..bss], 1
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x670]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x4011f0
add dword [ebp - 0x674], 1
mov eax, dword [ebp - 0x674]
cmp eax, 5
jne 0x40111e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [section..data], 2
je 0x401258
mov dword [esp + 0xc], str.Path_too_long_n
mov dword [esp + 8], str.search
mov dword [esp + 4], 0x402000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401258
Function at 0x4015a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
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 0x4015f8
cmp byte [esi + ebx - 1], 0xa
je 0x4015cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4050a4], 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]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x401ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x4050b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401d60
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x4050b4]
movzx eax, al
bt eax, esi
jae 0x401dc0
mov ecx, dword [0x4050a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401c65
test byte [0x402018], 8
jne 0x401d00
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x402028], 8
jne 0x401cb0
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 sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401c34
cmp esi, 3
jbe 0x401c70
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]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x40315c]
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 0x401c34
mov ecx, dword [0x4050b4]
test ecx, ecx
je 0x401da0
mov dword [esp], 0x402028
call dword [0x4050b4]
test al, 8
je 0x401c0b
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 sym._sprintf
add edi, eax
jmp 0x401c0b
mov ebx, dword [0x4050b4]
test ebx, ebx
je 0x401d80
mov dword [esp], 0x402018
call dword [0x4050b4]
test al, 8
je 0x401bf6
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
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 sym._sprintf
lea edi, [ebx + eax]
jmp 0x401bfe
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401bbd
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401d0a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x4050b4
call sym._load_func.part.0
jmp 0x401cbe
mov eax, 0xffffffff
jmp 0x401c65
Function at 0x401f20
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x10001e1f
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.1000f570
mov edx, dword [esp + 0x14]
lea ecx, [esp]
call fcn.1000a000
mov edx, dword [esp]
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f670
lea eax, [esp + 8]
push eax
call fcn.1000f6d0
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f600
pop edx
push eax
push dword [esp + 0xc]
call fcn.1000d18a
call fcn.1000f640
lea edx, [0x10012028]
pop ecx
push ecx
call fcn.1000a130
mov ecx, eax
call fcn.1000a0b0
je 0x10001ead
mov edx, dword [esp + 4]
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f670
lea edx, str..dll
push edx
call fcn.1000f670
lea eax, [esp + 8]
push eax
call fcn.1000f6d0
cmp dword [esp + 0x18], 0
je 0x10001f64
push dword [0x10013928]
lea edx, [0x10012028]
pop ecx
call fcn.1000a0b0
je 0x10001f30
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f600
pop edx
push eax
push 0x104
call fcn.1000c210
lea eax, [0x10013928]
push eax
call fcn.1000f6d0
push 0x104
mov eax, dword [0x10013928]
push eax
call sub.KERNEL32.dll_GetSystemDirectoryW
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f600
pop edx
push eax
lea eax, [0x100120d6]
push eax
push dword [0x10013928]
call fcn.1000c260
lea eax, [0x10013928]
push eax
call fcn.1000f6d0
mov edx, dword [0x10013928]
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f670
lea edx, [0x100120d6]
push edx
call fcn.1000f670
mov edx, dword [esp + 8]
push edx
call fcn.1000f670
lea eax, [esp + 8]
push eax
call fcn.1000f6d0
push dword [esp + 4]
call sub.KERNEL32.dll_LoadLibraryW
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
and ebx, ebx
jne 0x10001fd8
push edx
call fcn.1000f600
pop edx
push eax
push 0x10
lea eax, str.PurePortable
push eax
push edx
call fcn.1000f600
pop edx
push eax
lea edx, str.Failed_load_original_dll_n
push edx
call fcn.1000f670
mov edx, dword [esp + 0x10]
push edx
call fcn.1000f670
call fcn.1000f640
push 0
call fcn.1000a102
add dword [esp + 4], edx
call sub.USER32.dll_MessageBoxW
call fcn.1000a120
push 0
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, dword [esp + 8]
jmp 0x10001fe0
push dword [esp + 4]
call fcn.1000f5d0
push dword [esp]
call fcn.1000f5d0
add esp, 0xc
pop ebx
ret 8

Function at 0x10004764
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
push eax
call fcn.1000f570
mov edx, dword [esp + 8]
lea ecx, [esp]
call fcn.1000a000
mov eax, dword [esp]
push eax
call sub.SHLWAPI.dll_PathFileExistsW
jmp 0x10004785
push dword [esp]
call fcn.1000f5d0
add esp, 4
ret 4
Function at 0x10005f94
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.1000f570
mov edx, dword [esp + 0x1c]
lea ecx, [esp]
call fcn.1000a000
mov edx, dword [esp + 0x20]
lea ecx, [esp + 4]
call fcn.1000a000
sub esp, 8
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x18]
call fcn.1000f790
push eax
mov dword [esp + 0x10], eax
push dword [esp + 0x18]
call fcn.1000af50
push eax
push dword [esp + 4]
call fcn.1000f800
pop eax
add esp, 8
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x100060e4
mov ebx, dword [esp + 0x30]
and ebx, 2
and ebx, ebx
je 0x100060df
mov ebp, dword [esp + 0x2c]
push dword [ebp]
call fcn.1000ade6
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x1000602a
jmp 0x100060df
push edx
call fcn.1000f600
pop edx
push eax
push dword [esp + 0x10]
call fcn.10007ce0
lea eax, [esp + 0xc]
push eax
call fcn.1000f6d0
mov ebx, dword [esp + 0x30]
and ebx, 1
and ebx, ebx
jne 0x100060df
push edx
call fcn.1000f600
pop edx
push eax
push 0x10
lea eax, str.PurePortable
push eax
push edx
call fcn.1000f600
pop edx
push eax
lea edx, str.Error_enable_hook
push edx
call fcn.1000f670
mov edx, dword [esp + 0x10]
push edx
call fcn.1000f670
lea edx, [0x10012082]
push edx
call fcn.1000f670
mov edx, dword [esp + 0x14]
push edx
call fcn.1000f670
lea edx, [0x1001202a]
push edx
call fcn.1000f670
mov edx, dword [esp + 0x18]
push edx
call fcn.1000f670
call fcn.1000f640
push 0
call fcn.1000a102
add dword [esp + 4], edx
call sub.USER32.dll_MessageBoxW
call fcn.1000a120
push 0
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_TerminateProcess
jmp 0x10006199
push edx
call fcn.1000f600
pop edx
push eax
push dword [esp + 0x10]
call fcn.10007ce0
lea eax, [esp + 0xc]
push eax
call fcn.1000f6d0
mov ebx, dword [esp + 0x30]
and ebx, 1
and ebx, ebx
jne 0x10006199
push edx
call fcn.1000f600
pop edx
push eax
push 0x10
lea eax, str.PurePortable
push eax
push edx
call fcn.1000f600
pop edx
push eax
lea edx, str.Error_create_hook
push edx
call fcn.1000f670
mov edx, dword [esp + 0x10]
push edx
call fcn.1000f670
lea edx, [0x10012082]
push edx
call fcn.1000f670
mov edx, dword [esp + 0x14]
push edx
call fcn.1000f670
lea edx, [0x1001202a]
push edx
call fcn.1000f670
mov edx, dword [esp + 0x18]
push edx
call fcn.1000f670
call fcn.1000f640
push 0
call fcn.1000a102
add dword [esp + 4], edx
call sub.USER32.dll_MessageBoxW
call fcn.1000a120
push 0
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, dword [esp + 0xc]
jmp 0x100061a1
push dword [esp + 4]
call fcn.1000f5d0
push dword [esp]
call fcn.1000f5d0
push dword [esp + 8]
call fcn.1000f5d0
add esp, 0x10
pop ebx
pop ebp
ret 0x18
Function at 0x100075da
Capabilities:
Terminate process

Disassembly:
xor eax, eax
push eax
push eax
push eax
call fcn.1000f570
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f600
pop edx
push eax
push dword [esp + 0x18]
call fcn.1000f3a0
call fcn.1000f640
lea eax, [esp + 4]
push eax
call fcn.1000f6d0
push 1
push dword [esp + 4]
call fcn.10001e1f
mov dword [esp + 4], eax
push dword [esp + 0x14]
push dword [esp + 8]
call sub.KERNEL32.dll_GetProcAddress
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x1000763a
xor eax, eax
jmp 0x1000763f
mov eax, 1
and eax, eax
je 0x100076be
push edx
call fcn.1000f600
pop edx
push eax
push 0x10
lea eax, str.PurePortable
push eax
push edx
call fcn.1000f600
pop edx
push eax
lea edx, str.Error_init_proxy_function
push edx
call fcn.1000f670
push edx
call fcn.1000f600
pop edx
push eax
push edx
call fcn.1000f600
pop edx
push eax
push 0x18
push 0xffffffff
push dword [esp + 0x34]
call fcn.1000f260
pop eax
call fcn.1000f640
push 0
call fcn.1000a102
add dword [esp + 4], edx
call sub.USER32.dll_MessageBoxW
call fcn.1000a120
push 0
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_TerminateProcess
jmp 0x100076c6
mov eax, dword [esp + 8]
jmp 0x100076c6
push dword [esp]
call fcn.1000f5d0
add esp, 0xc
ret 8