joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454e68
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.004094a8
mov dword [ebp - 0x20], 1
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x40370000
mov dword [ebp - 0x1c], 0x66666666
mov dword [ebp - 0x18], 0x400a6666
fld qword [ebp - 0x14]
fdiv qword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
wait
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0xc], eax
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 0xc]
add edx, 0x4b
cmp eax, edx
jge 0x454d92
mov dword [ebp - 0x24], 2
jmp 0x454e4d
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x40370000
mov dword [ebp - 0x1c], 0x66666666
mov dword [ebp - 0x18], 0x400a6666
fld qword [ebp - 0x14]
fdiv qword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
wait
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x40370000
mov dword [ebp - 0x1c], 0x66666666
mov dword [ebp - 0x18], 0x400a6666
fld qword [ebp - 0x14]
fdiv qword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
wait
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 8]
add edx, 0x36
cmp eax, edx
jl 0x454e4d
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x40370000
mov dword [ebp - 0x1c], 0x66666666
mov dword [ebp - 0x18], 0x400a6666
fld qword [ebp - 0x14]
fdiv qword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
wait
mov dword [ebp - 0x28], fcn.0044e52c
mov dword [ebp - 0x2c], fcn.0044f2b0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, 0x2710
call fcn.00402a38
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.004094a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454e6f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403e98
ret
Function at 0x465b48
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465cb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f0c
mov eax, dword [ebp - 0x10]
call fcn.004657d8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x465b9b
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404334
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00465fd4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x465c70
xor eax, eax
push ebp
push 0x465c69
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00465904
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00465cc4
test al, al
je 0x465c47
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403f58
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x465c47
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004042b4
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x465c43
mov eax, dword [ebp - 0x14]
call fcn.004042b4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404028
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00465b48
inc esi
dec ebx
jne 0x465bfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c70
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00465904
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.004042b4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004658f0
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465cb9
lea eax, [ebp - 0x3c]
call fcn.00403e74
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403e98
ret

Function at 0x465cc4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402e40
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x842340]
cmp byte [edx + 8], 0
je 0x465d28
mov edx, dword [0x8422e0]
cmp dword [edx], 2
jne 0x465d28
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x465f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004042b4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x465fac
push ebp
call fcn.00465f00
pop ecx
mov eax, dword [ebp - 8]
call fcn.004657ec
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x46994b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7eb962
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4699a3
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x7eb983
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x469999
mov bx, 0x2a04
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x4699a7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x46a248
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x46a281
mov eax, dword [0x8417e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x46a274
push ebx
push 0x46a288
call fcn.0042570c
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.USER32.DLL_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x46a2a8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0046a248
xor edx, edx
push ebp
push 0x46a377
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 2
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46a349
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
xor edx, edx
push ebp
push 0x46a338
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402a38
mov eax, dword [ebp - 4]
call fcn.0046a200
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a33f
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
Function at 0x46a388
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46a3fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x46a3ce
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404028
jmp 0x46a3d5
mov eax, ebx
call fcn.00403e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a401
cmp dword [ebp - 8], 0
je 0x46a3f1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret

Function at 0x46a430
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a50e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046a248
xor edx, edx
push ebp
push 0x46a4f1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x46a4ba
mov edx, ebx
mov eax, dword [0x419310]
call fcn.0041db64
test al, al
je 0x46a4aa
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041da38
call fcn.0040396c
jmp 0x46a4f8
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x46a475
lea edx, [ebp - 8]
mov eax, dword [0x840c1c]
call fcn.00405e74
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x408390]
call fcn.0040d0bc
call fcn.004038cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a4f8
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a515
lea eax, [ebp - 8]
call fcn.00403e74
ret

Function at 0x46a51c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
xor eax, eax
push ebp
push 0x46a574
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a57b
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret
Function at 0x46a584
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
xor edx, edx
push ebp
push 0x46a5d9
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5e0
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret

Function at 0x46a650
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
xor eax, eax
push ebp
push 0x46a6c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046a200
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041db38
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x46a6af
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a6cc
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret

Function at 0x46a6d4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
xor eax, eax
push ebp
push 0x46a749
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046a200
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x46a733
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a750
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret

Function at 0x46a7a4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0046a248
xor eax, eax
push ebp
push 0x46a7e8
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7ef
mov eax, dword [ebp - 4]
call fcn.0046a21c
ret
Function at 0x46bcb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46be4f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0046b788
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040da20
cmp al, 2
jne 0x46bcfe
dec esi
mov eax, ebx
call fcn.0046ba9c
test al, al
je 0x46bdef
test esi, esi
jge 0x46bd13
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0046b788
mov eax, dword [ebp - 0x204]
call fcn.004040f0
cmp edi, eax
jge 0x46bd5a
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0046b788
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x8422b0]
and eax, 0xff
bt dword [edx], eax
jae 0x46bd5a
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x46bd68
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.0046bc94
cmp edi, esi
je 0x46bde7
lea eax, [ebp - 0x100]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x46bd8e
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.USER32.DLL_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.00439350
push eax
call sub.USER32.DLL_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.00439350
push eax
call sub.USER32.DLL_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.USER32.DLL_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x46be36
test esi, esi
jge 0x46bdf5
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0046b788
mov eax, dword [ebp - 0x204]
call fcn.004040f0
cmp esi, eax
jl 0x46be2b
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0046b788
mov eax, dword [ebp - 0x204]
call fcn.004040f0
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.0046bc94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be56
lea eax, [ebp - 0x204]
call fcn.00403e74
ret
Function at 0x46fc64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x46fdea
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.0041aa88
cmp byte [ebp + 8], 0
je 0x46fcbd
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041a958
jmp 0x46fccb
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041a958
mov eax, dword [ebx + 0x10]
call fcn.0041aa80
dec eax
jle 0x46fd11
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0041a950
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0041aa80
push eax
push 0x12200
call sub.GDI32.DLL_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041aa18
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x46fd73
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.0041b8cc
push eax
call sub.GDI32.DLL_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x477b88
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042a4
xor eax, eax
push ebp
push 0x477be3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004042b4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x477bc4
test byte [ebp - 0xc], 0x10
jne 0x477bc8
xor eax, eax
jmp 0x477bca
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477bea
lea eax, [ebp - 4]
call fcn.00403e74
ret
Function at 0x4789ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478baa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x4789ed
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
jne 0x4789ed
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x478a1c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 1
jne 0x478a0a
lea eax, [ebp - 0x28]
push eax
push 0x12
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.00476efc
jmp 0x478a1c
lea eax, [ebp - 0x28]
push eax
push 0x11
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
call fcn.00476efc
xor eax, eax
push ebp
push 0x478b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x3c
mov edx, 0x104
call fcn.00404420
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004042b4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x478a61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004042b4
mov dword [ebp - 0x20], eax
jmp 0x478a66
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 1
jne 0x478a78
mov dword [ebp - 0x1c], 0x1000
jmp 0x478a7f
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], 0x4784c4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x8417e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00478bb8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x478b68
xor eax, eax
push ebp
push 0x478b61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x35], 0
jne 0x478b1f
lea eax, [ebp - 0x131]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.SHELL32.DLL_SHGetPathFromIDList
call fcn.0040e0a4
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x131]
call fcn.0040a21c
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004781a8
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00403ec8
jmp 0x478b30
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
call fcn.00403ec8
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x44]
call fcn.00403ec8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x48], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b68
mov eax, dword [ebp - 0xc]
push eax
call sub.OLE32.DLL_CoTaskMemFree_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478b8c
cmp dword [ebp - 0x28], 0
je 0x478b84
mov eax, dword [ebp - 0x28]
push eax
call sub.OLE32.DLL_CoTaskMemFree_1
ret
Function at 0x480344
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48049e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48047e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404018
lea eax, [ebp - 0x118]
mov edx, 0x4804b4
call fcn.004040f8
mov eax, dword [ebp - 0x118]
call fcn.004042b4
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4803f0
lea eax, [ebp - 0x111]
call fcn.00409fa4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403f58
jmp 0x4803f7
mov eax, esi
call fcn.00403e74
cmp bl, 0x61
jae 0x480418
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040ddb0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f0c
jmp 0x480432
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040dd24
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f0c
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x4804c0
call fcn.0040a6bc
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480485
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

Function at 0x4836c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004042b4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4836d9
test al, 0x10
jne 0x4836dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret