joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d7d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1000d7f1
xor eax, eax
jmp 0x1000d90d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0x4550
je 0x1000d80f
xor eax, eax
jmp 0x1000d90d
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
cmp ecx, 0x60
jl 0x1000d824
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x74], 0
jne 0x1000d82b
xor eax, eax
jmp 0x1000d90d
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1000d84a
xor eax, eax
jmp 0x1000d90d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x10], 0
jmp 0x1000d889
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x18]
jae 0x1000d90b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10018f10
add esp, 4
cmp eax, dword [ebp + 0xc]
je 0x1000d8bc
jmp 0x1000d880
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x10]
add eax, edx
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x10]
sub eax, edx
mov word [ebp - 8], ax
mov dword [ebp - 0x20], 0
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
jmp 0x1000d90d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000fbd0
Capabilities:
Create directory
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12e0
call fcn.10026660
xor eax, eax
mov byte [ebp - 1], al
push 0x104
lea ecx, [ebp - 0x10d8]
push ecx
lea edx, [ebp - 0x36]
push edx
lea ecx, [ebp - 1]
call fcn.10002610
mov ecx, eax
call fcn.10019200
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1000fc13
xor eax, eax
jmp 0x1000fdfe
xor eax, eax
mov byte [ebp - 2], al
push 0x104
lea ecx, [ebp - 0xed0]
push ecx
lea edx, [ebp - 0x96]
push edx
lea ecx, [ebp - 2]
call fcn.10002b50
mov ecx, eax
call fcn.10019080
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1000fc4c
xor eax, eax
jmp 0x1000fdfe
xor eax, eax
mov byte [ebp - 3], al
push 0x104
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x52]
push edx
lea ecx, [ebp - 3]
call fcn.10002e60
mov ecx, eax
call fcn.10019280
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1000fc82
xor eax, eax
jmp 0x1000fdfe
push 0x104
lea eax, [ebp - 0xac0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1000fc9f
xor eax, eax
jmp 0x1000fdfe
xor ecx, ecx
mov byte [ebp - 4], cl
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 4]
call fcn.10003000
mov ecx, eax
call fcn.10018f80
push eax
lea eax, [ebp - 0xac0]
push eax
lea ecx, [ebp - 0xcc8]
push ecx
call fcn.10003d40
add esp, 0x14
xor edx, edx
mov byte [ebp - 5], dl
push 0
push 0
lea eax, [ebp - 0x6e]
push eax
lea ecx, [ebp - 5]
call fcn.10003160
mov ecx, eax
call fcn.10019280
push eax
lea ecx, [ebp - 0xcc8]
push ecx
lea edx, [ebp - 0x6b0]
push edx
call fcn.10003d40
add esp, 0x14
push 0
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0xed0]
push ecx
lea edx, [ebp - 0x10d8]
push edx
lea eax, [ebp - 0x4a8]
push eax
call fcn.10003d40
add esp, 0x14
push 0
lea ecx, [ebp - 0x4a8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x1000fd51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000fdfc
lea edx, [ebp - 0x2a0]
push edx
push str._s.ocx
lea eax, [ebp - 0x12e0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x12e0]
push ecx
lea edx, [ebp - 0x4a8]
push edx
lea eax, [ebp - 0x8b8]
push eax
call fcn.10003d40
add esp, 0x14
xor ecx, ecx
mov byte [ebp - 6], cl
lea edx, [ebp - 0x6b0]
push edx
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 6]
call fcn.10003300
mov ecx, eax
call fcn.10002020
push eax
call fcn.1000e9d0
add esp, 0xc
test eax, eax
je 0x1000fdc6
mov eax, 1
jmp 0x1000fdfe
xor ecx, ecx
mov byte [ebp - 7], cl
lea edx, [ebp - 0x6b0]
push edx
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 7]
call fcn.10003510
mov ecx, eax
call fcn.10002000
push eax
call fcn.1000e9d0
add esp, 0xc
test eax, eax
je 0x1000fdfc
mov eax, 1
jmp 0x1000fdfe
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1001dc20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x1001dc3f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x1001dc6f
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.1001dc20
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10023eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], 0x44
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.100278d0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push str.cmd.exe__C_echo_HiddenProcess
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10023f0e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x10024a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x10036400
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10024ad5
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.TempValue
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x1002fa01
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002fa9e
push ebx
push esi
call fcn.1002f9ca
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002f913
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002fa4b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002fa9d
push edi
push eax
call fcn.100309b8
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002fa6b
call fcn.1002dc4b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002fa9c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002f913
add esp, 0x20
test eax, eax
jne 0x1002fa8a
push edi
call fcn.1002dc4b
jmp 0x1002fa92
push ebx
call fcn.1002dc4b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002fd09
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10038e40
push 0x10038e38
push str.FlsAlloc
push 0x1e
call fcn.1002fc27
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002fd3d
push dword [ebp + 8]
mov ecx, esi
call dword [0x100361e4]
call esi
jmp 0x1002fd43
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002fd87
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10038e50
push 0x10038e48
push str.FlsGetValue
push 0x20
call fcn.1002fc27
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002fdbe
push dword [ebp + 8]
mov ecx, esi
call dword [0x100361e4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10035310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003533d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003533d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100035f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x100050a0], 8
jne 0x10003688
test ebx, ebx
je 0x10003702
cmp word [ebx], 0
je 0x100036f8
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10003620
sub eax, ebx
add eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x10003670
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x10003660
test byte [0x100050a0], 8
jne 0x100036c0
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret 4
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.__s__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x10007484
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003608
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.returning__p_n
mov dword [esp + 8], 0x10007484
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 8]
mov eax, esi
pop ebx
pop esi
pop ebp
ret 4
mov eax, 2
jmp 0x1000362e
xor esi, esi
jmp 0x10003679

Function at 0x10003770
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push esi
push ebx
sub esp, 0x18
mov esi, dword [ebp + 8]
mov dword [esp + 4], 8
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test byte [0x100050a0], 8
jne 0x100037b8
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__ld_____p_n
mov dword [esp + 8], str.DllAllocSplMem
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

Function at 0x100037f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x100050a0], 8
jne 0x10003830
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]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.DllFreeSplMem
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003803
Function at 0x10003860
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 8]
test byte [0x100050a0], 8
jne 0x100038a0
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]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s__PTR:__p_n
mov dword [esp + 8], str.DllFreeSplStr
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003873

Function at 0x10003a20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x100050a0], 8
jne 0x10003b68
mov dword [esp], str.winspool.drv
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x10009014], eax
sub esp, 4
test eax, eax
je 0x10003b58
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esp + 4], str.OpenPrinterW
mov dword [esp], eax
call esi
mov dword [ebx], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], str.ClosePrinter
mov dword [esp], eax
call esi
mov dword [ebx + 4], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], str.SpoolerDevQueryPrintW
mov dword [esp], eax
call esi
mov dword [ebx + 8], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], str.SpoolerPrinterEvent
mov dword [esp], eax
call esi
mov dword [ebx + 0xc], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], str.DocumentPropertiesW
mov dword [esp], eax
call esi
mov dword [ebx + 0x10], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], 0xd4
mov dword [esp], eax
call esi
mov dword [ebx + 0x14], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], 0xd5
mov dword [esp], eax
call esi
mov dword [ebx + 0x18], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], 0xd6
mov dword [esp], eax
call esi
mov dword [ebx + 0x1c], eax
mov eax, dword [0x10009014]
sub esp, 8
mov dword [esp + 4], 0xd7
mov dword [esp], eax
call esi
lea edx, [ebx + 0x24]
mov dword [ebx + 0x20], eax
sub esp, 8
mov eax, ebx
lea esi, [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10003b58
add eax, 4
cmp eax, edx
jne 0x10003b38
lea esp, [ebp - 8]
mov eax, 1
pop ebx
pop esi
pop ebp
ret 4
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.SplInitializeWinSpoolDrv
mov dword [esp + 4], 0x100050a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003a38
Function at 0x10003d20
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 0x10003d78
cmp byte [esi + ebx - 1], 0xa
je 0x10003d4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100090a4], 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 0x100043a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10004578
mov edi, dword [0x100090a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10004487
test byte [0x100050b8], 8
jne 0x10004520
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x100050c8], 8
jne 0x100044e0
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 0x10004429
cmp esi, 3
jbe 0x10004498
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000443a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
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 + 0x10007540]
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 0x10004429
mov dword [esp], 0x100050c8
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10004400
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 0x10004400
mov dword [esp], 0x100050b8
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100043eb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
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 0x100043f3
mov eax, 0xffffffff
jmp 0x10004487
Function at 0x444140
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d2c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c709c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4441c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c4e90
mov eax, dword [eax]
push 0x4f6278
push eax
call fcn.004b64a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c7327
test bl, bl
je 0x4441c2
push 0x4f6278
lea ecx, [esp + 0xc]
call fcn.004c76b7
push 0x4f9df0
lea ecx, [esp + 0xc]
call fcn.004c76b7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4441fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c7327
jmp 0x4442c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x444282
lea edx, [esp + 0x7c]
push 0x4f9dec
push edx
call fcn.004b64a4
add esp, 8
test eax, eax
je 0x444282
lea eax, [esp + 0x7c]
push 0x4f9de8
push eax
call fcn.004b64a4
add esp, 8
test eax, eax
je 0x444282
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x444212
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c7327
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x444ac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x444b22
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x444b30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d2cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5066f4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x444c68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x444b96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c7327
xor eax, eax
jmp 0x444cdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c7464
push esi
lea ecx, [esp + 0xc]
call fcn.004c76f3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4f9e28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x444cbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00444ac0
test eax, eax
jne 0x444cbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.00444ac0
test eax, eax
jne 0x444cbd
lea eax, [esp + 0x14]
push 0x4f9e04
push eax
call fcn.004b76c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x444c9c
lea ecx, [esp + 0x14]
push 0x4f9e00
push ecx
call fcn.004b7640
mov esi, eax
add esp, 8
test esi, esi
jne 0x444c9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x444c9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c7414
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x444bae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c7327
xor eax, eax
jmp 0x444cdf
mov byte [esi], 0
push 0x4f9dfc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c7327
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x44b4d6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x44b4fe
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret