joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456874
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 0x4569ce
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 0x4569ae
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.0040406c
lea eax, [ebp - 0x118]
mov edx, 0x4569e4
call fcn.0040414c
mov eax, dword [ebp - 0x118]
call fcn.00404308
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x456920
lea eax, [ebp - 0x111]
call fcn.0040d534
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403fac
jmp 0x456927
mov eax, esi
call fcn.00403ec8
cmp bl, 0x61
jae 0x456948
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0041162c
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f60
jmp 0x456962
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.004115a0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f60
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, 0x4569f0
call fcn.0040dcf0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569b5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404308
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45953d
test al, 0x10
jne 0x459541
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4662e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
cmp dword [0x576038], 0
jne 0x46637d
lea eax, [ebp - 4]
push eax
push 0x466388
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46637d
mov eax, ebx
call fcn.00402870
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x466376
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x466388
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x466360
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x466398
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x466360
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [0x576038], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46637d
mov eax, dword [ebp - 8]
call fcn.00402888
ret
mov eax, dword [0x576038]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a1f4
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x47a22d
mov eax, dword [0x5735a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x22]
mov dword [ebx + 8], eax
test eax, eax
jne 0x47a220
push ebx
push 0x47a234
call fcn.0042ca24
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 0x47a3f4
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.0047a1f4
xor edx, edx
push ebp
push 0x47a4c3
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 0x47a495
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 0x47a484
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402af8
mov eax, dword [ebp - 4]
call fcn.0047a1ac
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 0x47a48b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x47a5b4
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.0047a1f4
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47a626
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x47a5fa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040407c
jmp 0x47a601
mov eax, ebx
call fcn.00403ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a62d
cmp dword [ebp - 8], 0
je 0x47a61d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret
Function at 0x47a65c
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 0x47a73a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047a1f4
xor edx, edx
push ebp
push 0x47a71d
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x47a6e6
mov edx, ebx
mov eax, dword [0x41f774]
call fcn.0042450c
test al, al
je 0x47a6d6
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.004243e0
call fcn.004039c0
jmp 0x47a724
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x47a6a1
lea edx, [ebp - 8]
mov eax, dword [0x5732dc]
call fcn.00405dd0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40b0c0]
call fcn.004107a4
call fcn.00403920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a724
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a741
lea eax, [ebp - 8]
call fcn.00403ec8
ret

Function at 0x47a748
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.0047a1f4
xor eax, eax
push ebp
push 0x47a7a0
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 0x47a7a7
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret

Function at 0x47a7b0
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.0047a1f4
xor edx, edx
push ebp
push 0x47a805
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 0x47a80c
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret
Function at 0x47a87c
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.0047a1f4
xor eax, eax
push ebp
push 0x47a8f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047a1ac
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.004244e0
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 0x47a8db
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 0x47a8f8
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret

Function at 0x47a900
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.0047a1f4
xor eax, eax
push ebp
push 0x47a975
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047a1ac
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 0x47a95f
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 0x47a97c
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret

Function at 0x47a9d0
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.0047a1f4
xor eax, eax
push ebp
push 0x47aa14
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 0x47aa1b
mov eax, dword [ebp - 4]
call fcn.0047a1c8
ret
Function at 0x47c698
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 0x47c82f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0047c148
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0041129c
cmp al, 2
jne 0x47c6de
dec esi
mov eax, ebx
call fcn.0047c45c
test al, al
je 0x47c7cf
test esi, esi
jge 0x47c6f3
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0047c148
mov eax, dword [ebp - 0x204]
call fcn.00404144
cmp edi, eax
jge 0x47c73a
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0047c148
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x5737e0]
and eax, 0xff
bt dword [edx], eax
jae 0x47c73a
inc edi
mov eax, dword [ebx + 0x128]
cmp esi, eax
jl 0x47c748
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.0047c674
cmp edi, esi
je 0x47c7c7
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 0x47c76e
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.0043d498
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0043d498
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x12e], esi
jmp 0x47c816
test esi, esi
jge 0x47c7d5
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0047c148
mov eax, dword [ebp - 0x204]
call fcn.00404144
cmp esi, eax
jl 0x47c80b
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0047c148
mov eax, dword [ebp - 0x204]
call fcn.00404144
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.0047c674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c836
lea eax, [ebp - 0x204]
call fcn.00403ec8
ret
Function at 0x48070c
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 + 0x10d]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x480892
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x143]
mov eax, dword [ebx + 0xd]
call fcn.0042108c
cmp byte [ebp + 8], 0
je 0x480765
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0xd]
call fcn.00420f5c
jmp 0x480773
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0xd]
call fcn.00420f5c
mov eax, dword [ebx + 0xd]
call fcn.00421084
dec eax
jle 0x4807b9
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xd]
call fcn.00420f54
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 + 0xd]
mov eax, edi
call fcn.00421084
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0042101c
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 0x48081b
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 + 0x10d]
call fcn.00422000
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x486094
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 4]
call fcn.00404308
push eax
push 0x400
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404308
push eax
mov eax, edi
call fcn.00404308
push eax
mov eax, esi
call fcn.00404308
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x400]
mov eax, dword [ebp + 8]
call fcn.00403fac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x486314
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486406
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x2000
call fcn.00402870
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4863e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004168a8
xor eax, eax
push ebp
push 0x4863cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebx + 4]
call fcn.00404308
push eax
push 0x2000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x4863b6
mov ebx, dword [ebp - 8]
jmp 0x4863b1
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.0040407c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.0040d534
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x486392
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4863d3
mov eax, dword [ebp - 4]
call fcn.00416964
ret

Function at 0x486414
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48650f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x2000
call fcn.00402870
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4864f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004168a8
xor eax, eax
push ebp
push 0x4864d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebx + 4]
call fcn.00404308
push eax
push 0x2000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, esi
call fcn.00404308
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x4864bf
mov ebx, dword [ebp - 8]
jmp 0x4864ba
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.0040407c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.0040d534
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x48649b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4864dc
mov eax, dword [ebp - 4]
call fcn.00416964
ret
Function at 0x493c7b
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 0x56ee06
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x493cd3
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 0x56ee27
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x493cc9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x493cd7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49fbd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49fda5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2a], 0
jne 0x49fd8c
mov eax, dword [esi + 0x22]
call fcn.00404144
test eax, eax
jne 0x49fc25
mov eax, dword [esi + 0x26]
call fcn.00404144
test eax, eax
jne 0x49fc25
mov eax, esi
call fcn.0049fe44
jmp 0x49fd8c
cmp dword [esi + 0x92], 0
jne 0x49fc5c
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x22]
call fcn.0040d624
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5760f0]
mov eax, dword [eax + 0x36]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x92], eax
cmp dword [esi + 0x96], 0
jne 0x49fc93
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x26]
call fcn.0040d624
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5760f0]
mov eax, dword [eax + 0x36]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x96], eax
mov ecx, dword [esi + 0x96]
mov edx, dword [esi + 0x92]
mov eax, esi
call fcn.0049fe84
mov ebx, eax
test bl, bl
jne 0x49fd41
mov eax, dword [esi + 0x22]
call fcn.00404144
test eax, eax
jne 0x49fccb
mov eax, dword [esi + 0xae]
call fcn.00404144
test eax, eax
je 0x49fd41
mov eax, dword [esi + 0xae]
call fcn.00404144
test eax, eax
je 0x49fced
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xae]
call fcn.0040d624
jmp 0x49fd19
push dword [esi + 0x22]
push 0x49fdc0
push dword [esi + 0x26]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404204
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040d624
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jl 0x49fd41
mov ecx, dword [esi + 0x96]
mov edx, dword [esi + 0x92]
mov eax, esi
call fcn.0049fe84
mov ebx, eax
test bl, bl
jne 0x49fd4e
mov eax, esi
call fcn.0049fe44
jmp 0x49fd8c
mov eax, dword [esi + 0x4a]
test eax, eax
je 0x49fd5d
mov dword [esi + 0x9a], eax
jmp 0x49fd67
mov dword [esi + 0x9a], 1
mov eax, esi
call fcn.0049fefc
test al, al
je 0x49fd8c
mov eax, esi
mov bx, 0xfff0
call fcn.00403408
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004a0334
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fdac
lea eax, [ebp - 0x108]
call fcn.00403ec8
ret
Function at 0x4a8d3c
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 0x4a8ea6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403f60
mov eax, dword [ebp - 0x10]
call fcn.004a89cc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4a8d8f
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404388
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.004a95f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4a8e64
xor eax, eax
push ebp
push 0x4a8e5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004a8af8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004a8ed8
test al, al
je 0x4a8e3b
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403fac
mov ebx, dword [ebp - 0x38]
dec ebx
test ebx, ebx
jl 0x4a8e3b
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.00404308
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4a8e37
mov eax, dword [ebp - 0x14]
call fcn.00404308
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040407c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004a8d3c
inc esi
dec ebx
jne 0x4a8df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8e64
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a8af8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404308
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004a8ae4
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 0x4a8ead
lea eax, [ebp - 0x3c]
call fcn.00403ec8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403eec
ret