joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e61b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10014034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 7
mov eax, dword [edi + 0x20]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 8
mov eax, dword [edi + 0x24]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x28]
sub eax, 0x10
call fcn.10007450
add eax, 0x10
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10004700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x10014034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x808]
push ecx
push str.Class
push esi
push closesocket
mov dword [ebp - 0x80c], 0x400
mov dword [ebp - 0x808], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop esi
test eax, eax
jne 0x10004796
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db42
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.1000db42
mov esp, ebp
pop ebp
ret 4
Function at 0x10005b10
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10014034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...DCR.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005b99
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db42
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x10], eax
test eax, eax
je 0x10005b88
push str.IsAndroidDevice
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x44], eax
pop esi
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db42
mov esp, ebp
pop ebp
ret

Function at 0x10005be0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push 0
push 1
push str.http:__www.google.com
call esi
test eax, eax
jne 0x10005c14
push eax
push 1
push str.http:__www.google.com.hk
call esi
test eax, eax
jne 0x10005c14
push eax
push 1
push str.http:__www.google.com.tw
call esi
test eax, eax
jne 0x10005c14
pop esi
ret
mov eax, 1
pop esi
ret

Function at 0x10005c20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10014034]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x408]
push eax
push 0x108
push 0
push str.SOFTWARESAMSUNGUSB_DRIVERD0795B21_0CDA_4a92_AB9E_6E92D8111E44
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10005c65
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db42
mov esp, ebp
pop ebp
ret
push esi
push edi
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x402]
push edx
xor esi, esi
mov word [ebp - 0x404], cx
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x408]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x200
lea eax, [ebp - 0x404]
push eax
push esi
push ecx
call edi
test eax, eax
jne 0x10005ce0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x402]
push eax
inc esi
mov word [ebp - 0x404], dx
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0x408]
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push esi
push edx
call edi
test eax, eax
je 0x10005ca7
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
cmp esi, 0x13
setge al
pop edi
xor ecx, ebp
pop esi
call fcn.1000db42
mov esp, ebp
pop ebp
ret
Function at 0x10008f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x10014110
call fcn.1000d889
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10008fc4
test esi, esi
jne 0x10008fc4
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x10008fa8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10008fa2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10008fa2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x10008f91
cmp esi, eax
jae 0x10008f95
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10008f83
cmp esi, eax
jb 0x10008f99
xor eax, eax
jmp 0x10008fa2
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x10008fcd
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x10014110
call fcn.1000d889
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x10008f35
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100090b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100090c8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100090fa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100090f6
cmp esi, eax
jae 0x100090fa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100090e8
cmp esi, eax
jb 0x10009100
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10009390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ea58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10014034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000d7a0
mov esi, eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.devicelist.ini
push esi
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10007a00
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009419
push 0x100107dc
push esi
call dword [sym.imp.MSVCR100.dll__wfopen]
add esp, 8
test eax, eax
je 0x10009423
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
push esi
mov ecx, ebx
call fcn.10009460
mov dword [ebx], eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009442
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x210]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
cmp eax, esi
je 0x1000a127
push eax
call edi
add esp, 4
mov dword [ebx + 0x210], esi
mov eax, dword [ebx + 0x20c]
cmp eax, esi
je 0x1000a13d
push eax
call edi
add esp, 4
mov dword [ebx + 0x20c], esi
push 0xfffe
call fcn.1000db31
mov esi, eax
add esp, 4
test esi, esi
je 0x1000a212
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 4]
push eax
push 0x7fff
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x1000a17e
push esi
call edi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
cmp eax, 0xffffffff
jne 0x1000a18a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor edi, edi
xor ecx, ecx
test eax, eax
jle 0x1000a208
cmp word [esi + ecx*2], 0
jne 0x1000a19a
inc edi
inc ecx
cmp ecx, eax
jl 0x1000a192
test edi, edi
jle 0x1000a208
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000db31
mov dword [ebx + 0x210], eax
mov dword [eax], esi
mov eax, 1
add esp, 4
cmp edi, eax
jle 0x1000a1f9
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x1000a1f9
cmp word [esi + ecx*2], 0
jne 0x1000a1f3
mov ebx, dword [ebx + 0x210]
lea edx, [esi + ecx*2 + 2]
mov dword [ebx + eax*4], edx
mov ebx, dword [ebp + 8]
inc eax
cmp eax, edi
je 0x1000a1f9
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x1000a1d7
mov eax, edi
pop edi
mov dword [ebx + 0x20c], esi
pop esi
pop ebx
pop ebp
ret 8
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x1000a390
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10014034]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
jne 0x1000a3ba
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db42
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x808], 0
je 0x1000a3ed
mov eax, dword [esi + 0x80c]
test eax, eax
je 0x1000a3d9
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x1000a3ed
mov dword [esi + 0x80c], 0
mov dword [esi + 0x808], 0
mov eax, dword [ebp + 8]
push edi
mov dword [esi + 0x804], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esi + 0x810], eax
test eax, eax
je 0x1000a3a7
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov edi, dword [edx]
movzx ecx, word [esi + 0x804]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x12], ax
mov dword [ebp - 0x10], edi
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [esi + 0x80c], eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1000a3a7
mov ecx, dword [esi + 0x80c]
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1006
push 0xffff
push ecx
mov dword [ebp - 0x18], 0x2710
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [esi + 0x808], 1
mov eax, 1
pop edi
call fcn.1000db42
mov esp, ebp
pop ebp
ret 4

Function at 0x1000aa10
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0x808], 0
jne 0x1000aa27
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea edx, [edi + 4]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000aa30
push 0
sub eax, esi
push eax
mov eax, dword [edi + 0x80c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
pop esi
cmp eax, 0xffffffff
je 0x1000aa20
lea ecx, [ebp - 4]
push ecx
mov dword [edi + 0x818], 0
call fcn.1000aa70
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000ab10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f0ae
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10014034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CFile.0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
xor edi, edi
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi], vtable.CStdioFile.0
mov dword [esi + 0x10], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov eax, edi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1000d430
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000c8d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ecx + 4]
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1000c903
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000c900
or eax, 0xffffffff
or edx, 0xffffffff
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000cfe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1000cff4
xor eax, eax
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000cfed
mov edx, dword [edi + 0x10]
push esi
push edx
push ecx
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000d02a
mov eax, dword [edi + 0x10]
push eax
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
jne 0x1000d02a
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
neg eax
sbb eax, eax
not eax
and eax, esi
pop esi
pop edi
pop ebp
ret 8

Function at 0x1000d050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000d06e
mov ecx, dword [ecx + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
pop ebp
ret 8

Function at 0x1000db42
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014034]
jne 0x1000db4c
repz ret
jmp fcn.1000e006
Function at 0x10001830
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
cmp ebx, 2
je 0x10001880
cmp ebx, 0x100
jne 0x10001854
cmp edi, 0x14
je 0x100018a0
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
call dword [sym.imp.comctl32.dll_DefSubclassProc]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
mov dword [esp + 4], sym._CredDialogPasswordSubclassProc_24
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [sym.imp.comctl32.dll_RemoveWindowSubclass]
sub esp, 0xc
jmp 0x10001854
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [esp], 0x14
call dword [sym.imp.user32.dll_GetKeyState]
sub esp, 4
test al, 1
je 0x100018d0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x10]
call sym._CredDialogShowCapsLockBalloon
jmp 0x10001854
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + 0x2c]
lea edx, [eax + 0x28]
mov eax, dword [ebp - 0x10]
call sym._CredDialogHideBalloonTip.isra.0
jmp 0x10001854
Function at 0x10001df0
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x10]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredEnumerateW]
sub esp, 0x10
test eax, eax
je 0x10001ee1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10001ed0
xor ebx, ebx
jmp 0x10001e76
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x30]
cmp word [eax], 0
je 0x10001ef8
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
je 0x10001ef0
add ebx, 1
cmp dword [ebp - 0x14], ebx
jbe 0x10001ed0
mov eax, dword [ebp - 0x18]
lea edi, [ebx*4]
lea esi, [eax + edi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
lea ecx, [eax - 1]
cmp ecx, 1
jbe 0x10001e40
test byte [0x10006060], 1
je 0x10001e6e
mov dword [esp + 0x10], eax
add ebx, 1
mov dword [esp + 0xc], str.no_support_for_type__lu_credentials_n
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x10006060
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], ebx
ja 0x10001e76
nop
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredFree]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [eax + edi]
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
cmp word [ecx], 0
je 0x10001f98
mov eax, ecx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10001f08
sub eax, ecx
sar eax, 1
cmp dword [ebp - 0x20], eax
jbe 0x10001e6e
mov eax, dword [edx + 0x18]
shr eax, 1
cmp eax, dword [ebp + 0xc]
jae 0x10001e6e
test byte [0x10006060], 8
jne 0x10001f9f
mov ebx, dword [ebp - 0x1c]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x10001f40
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [esi]
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, dword [eax + 0x18]
and eax, 0xfffffffe
mov word [edi + eax], dx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredFree]
mov eax, 1
sub esp, 4
jmp 0x10001ee1
xor eax, eax
jmp 0x10001f15
mov eax, ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.found_existing_credential_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x10006060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x10]
lea esi, [eax + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
jmp 0x10001f35
Function at 0x10003d00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
test byte [0x10006060], 8
je 0x10003d5a
mov edx, dword [ebp + 0xc]
mov eax, str.FALSE
mov ebx, str.TRUE
test edx, edx
cmove ebx, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.__s___s__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CredUIConfirmCredentialsW
mov dword [esp + 4], 0x10006060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test esi, esi
je 0x10003eb0
mov dword [esp], 0x10006040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x10006058]
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 4
cmp ebx, 0x10006058
jne 0x10003d9e
jmp 0x10003ea8
mov ebx, dword [ebx]
cmp ebx, 0x10006058
je 0x10003ea8
mov eax, dword [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
jne 0x10003d90
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jne 0x10003ec8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x10003e47
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10003e28
cmp edx, eax
je 0x10003e47
lea esi, [esi]
mov ecx, eax
add eax, 1
mov byte [ecx], 0
cmp eax, edx
jne 0x10003e38
mov eax, dword [ebx + 0x10]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x10]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp], 0x10006040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov esi, 0x490
jmp 0x10003e88
lea esp, [ebp - 0xc]
mov esi, 0x57
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp], esi
call sym._save_credentials
mov esi, eax
jmp 0x10003dbe
Function at 0x10005260
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 0x100052b8
cmp byte [esi + ebx - 1], 0xa
je 0x1000528c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000a0a4], 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