joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100202f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 4]
push eax
push 0x103
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
mov dword [ebp - 8], 1
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test eax, eax
jne 0x10020353
mov ecx, dword [ebp - 4]
push 0xb
push str.about:blank
push 1
push 0
push str.Start_Page
push ecx
call edi
mov edx, dword [ebp - 4]
push edx
call ebx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
push ecx
push 0x103
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push 0x80000001
call esi
test eax, eax
jne 0x10020392
push 4
lea edx, [ebp - 8]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.HomePage
push eax
call edi
mov ecx, dword [ebp - 4]
push ecx
call ebx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020490
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
mov ecx, 9
mov esi, str.1234567890QWERTYUIOPASDFGHJKLZXCVBNM
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
push 0x104
lea eax, [ebp - 0x134]
push eax
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0xffaaff
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x134]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100204d0
push 0
push 0
push 0
push 0
mov byte [ebp - 0x131], cl
lea ecx, [ebp - 4]
push ecx
push 0
sub eax, edx
push 0
lea edx, [ebp - 0x134]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edi, dword [ebp - 4]
xor edi, esi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
mov ecx, edi
sub ecx, eax
mov dword [ebp - 4], edi
je 0x1002051d
not edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x30]
xor ebx, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10020525
sub eax, edx
mov dword [ebp - 8], eax
mov esi, 0x100567d8
jmp 0x1002053b
mov edi, dword [ebp - 4]
xor edx, edx
mov eax, ebx
div dword [ebp - 8]
mov ecx, 0x10046ee8
movsx eax, byte [ebp + edx - 0x30]
imul eax, ebx
xor eax, edi
test bl, 1
jne 0x1002055b
mov ecx, 0x10049658
push eax
push ecx
push 0x104
push esi
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea edi, [esi - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10020570
mov dx, word [0x10046adc]
add esi, 0x104
inc ebx
mov word [edi], dx
cmp esi, 0x10058650
jl 0x10020538
xor ebx, ebx
mov edi, 0x10058650
xor edx, edx
mov eax, ebx
div dword [ebp - 8]
mov ecx, 0x10046ee8
movsx eax, byte [ebp + edx - 0x30]
imul eax, ebx
xor eax, dword [ebp - 4]
xor eax, 0xffeeffaa
test bl, 1
jne 0x100205be
mov ecx, 0x10049658
push eax
push ecx
push 0x104
push edi
call dword [sym.imp.ntdll.dll__snprintf]
add edi, 0x104
add esp, 0x10
inc ebx
cmp edi, 0x1005a1bc
jl 0x10020598
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100222e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x100224fb
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x10022367
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100223a7
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x100223a7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x10022392
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.10022000
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x100223a7
mov ebx, eax
mov eax, dword [esi + 0x6af84]
push esi
cmp ebx, 3
jb 0x1002248b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.100217e0
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x10022454
cmp ecx, 3
jb 0x10022454
mov edi, 1
sub ebx, edi
jmp 0x100223f0
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x100223f0
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x100224a6
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x100224a6
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.100217e0
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x100224dd
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x100224bd
lea ecx, [eax + esi + 0x1af70]
jmp 0x100224bf
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 0
sub edi, eax
push ecx
mov eax, esi
call fcn.10021630
mov ecx, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x100224ee
call fcn.100221a0
cmp dword [esi + 0x6af90], 0
jne 0x10022310
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x1002250e
lea ecx, [eax + esi + 0x1af70]
jmp 0x10022510
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 1
sub edi, eax
push ecx
mov eax, esi
call fcn.10021630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100231b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100231c0
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x1002328f
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1004e040]
add ecx, 8
sub edx, 8
dec esi
jne 0x100231d2
pop edi
test edx, edx
je 0x100232ac
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1004e040]
inc ecx
dec edx
jne 0x10023293
not eax
pop esi
pop ebp
ret 4
Function at 0x100234e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x18], 0
je 0x100235b4
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
push ebx
push esi
mov esi, dword [ebp + 0xc]
add eax, esi
cmp eax, ecx
jb 0x10023592
lea ebx, [ecx + ecx]
cmp ebx, eax
jbe 0x10023514
mov dword [ebp - 4], ebx
jmp 0x10023519
mov dword [ebp - 4], eax
mov ebx, eax
push 0
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x1002354f
push ebx
push 0
push 0
push 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x1002355d
call fcn.10020150
pop esi
pop ebx
mov eax, 0x300
pop edi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
push ecx
push edx
push ebx
call sub.ntdll.dll_memcpy
mov eax, dword [edi + 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [edi + 4]
call fcn.10020150
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x20], ecx
mov dword [edi + 0x18], ebx
mov dword [edi + 4], edx
mov ecx, dword [edi + 0x1c]
mov eax, dword [ebp + 8]
add ecx, dword [edi + 0x18]
push esi
push eax
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
add dword [edi + 0x1c], esi
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
test eax, eax
je 0x100235e0
mov ecx, dword [ebp + 0xc]
push 0
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0xc], 0x1000000
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x10023910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x58]
push ebx
mov ebx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x1002395c
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jae 0x1002399b
sub edi, eax
cmp edi, edx
jbe 0x10023931
mov edi, edx
push edi
add eax, ecx
push eax
push ebx
call sub.ntdll.dll_memcpy
mov eax, dword [esi + 0x4c]
add dword [esi + 0x60], edi
add dword [esi + 0x48], edi
add esp, 0xc
push eax
mov edx, edi
mov ecx, ebx
call fcn.100231b0
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10023994
push 0
lea ecx, [ebp + 8]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002399b
mov edx, dword [esi + 0x4c]
mov edi, dword [ebp + 8]
add dword [esi + 0x48], edi
push edx
mov edx, edi
mov ecx, ebx
call fcn.100231b0
mov dword [esi + 0x4c], eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi + 0xc], 0x1000000
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x10024330
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0x10]
sub esp, 0x35c
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
cmp edx, esi
je 0x10024351
mov dword [esp + 0x10], edx
jmp 0x1002435b
lea eax, [edi + 0x800]
mov dword [esp + 0x10], eax
cmp edi, esi
je 0x10024373
mov eax, edi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10024364
sub eax, ebx
mov dword [esp + 0x18], eax
jmp 0x10024377
mov dword [esp + 0x18], esi
cmp edx, esi
je 0x1002438f
mov eax, edx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10024380
sub eax, edx
mov dword [esp + 0x14], eax
jmp 0x10024393
mov dword [esp + 0x14], esi
cmp edi, esi
je 0x10024542
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100243a0
sub eax, edx
add eax, 0x104
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x10024542
push edi
push str._s
push 0x104
push ebx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
push ebx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
je 0x1002453b
mov ebx, dword [ebp + 8]
cmp byte [esp + 0x4c], 0x2e
je 0x10024527
mov ecx, dword [ebp + 0x10]
mov eax, str._s_s
test ecx, ecx
jne 0x10024416
mov eax, 0x1004755c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
push edi
push str._s_s
push edi
call esi
add esp, 0x20
test byte [esp + 0x20], 0x10
je 0x100244a6
test ebx, ebx
jne 0x10024461
mov eax, dword [esp + 0x10]
push eax
push edi
push ebx
mov dword [0x1005a1e4], 0x10000
call fcn.10024330
jmp 0x1002450f
cmp dword [ebx], 2
je 0x10024481
mov eax, dword [esp + 0x10]
push eax
push edi
push ebx
mov dword [0x1005a1e4], 0x80000
call fcn.10024330
jmp 0x1002450f
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
push 4
push 0
push edx
push eax
call fcn.10023b90
mov dword [0x1005a1e4], eax
mov eax, dword [esp + 0x10]
push eax
push edi
push ebx
call fcn.10024330
jmp 0x1002450f
test ebx, ebx
jne 0x100244b6
mov dword [0x1005a1e4], 0x10000
jmp 0x1002450f
cmp dword [ebx], 2
je 0x100244c7
mov dword [0x1005a1e4], 0x80000
jmp 0x1002450f
mov esi, dword [ebx + 4]
push 0x208
lea ecx, [esp + 0x164]
push 0
push ecx
call sub.ntdll.dll_memset
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0x104
push edx
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 2
push edi
lea ecx, [esp + 0x168]
push ecx
push esi
call fcn.10023b90
mov dword [0x1005a1e4], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov byte [edx + edi], 0
mov byte [eax + ecx], 0
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100243fa
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100249f1
Capabilities:
Create thread
Get keyboard layout
Read file via mapping

Disassembly:
sub esp, 0x114
push ebx
xor ebx, ebx
cmp byte [0x1005a1e8], bl
jne 0x10024bb4
push ebp
push esi
push edi
push 0x8006
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.1002d7a2
push 0x100543e0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 5
pop eax
cmp eax, dword [esp + 0x14]
push 0x10000000
push ebx
sbb al, al
push ebx
inc al
push 0x1004e5a4
mov byte [0x100544a0], al
call dword [sym.imp.USER32.dll_OpenDesktopW]
push 4
mov dword [0x100544a4], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x1005334c
push 1
push 1
push 8
push 8
mov dword [0x100544c8], eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x100544cc], eax
call esi
call fcn.10028b5f
call fcn.10029c03
push str.MessageBoxTimeoutW
push str.user32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100544c4], eax
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x10054400
push 0x28
mov dword [0x100544a8], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push 0x7f00
push ebx
mov dword [0x100543fc], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x100544b0
push eax
mov dword [0x100544ac], eax
call dword [sym.imp.USER32.dll_GetIconInfo]
push dword [0x100544bc]
call esi
push dword [0x100544c0]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str..NET_CLR_Networking_Perf_Library_Lock_PID_0
push ebx
push 1
push ebx
call esi
push str.RemoteAccess_Perf_Library_Lock_PID_0
push ebx
push ebx
mov dword [0x100543c4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push str.AtlDebugAllocator_FileMappingNameStatic3_0
push 0x4b0
push ebx
mov dword [0x100543c0], eax
push 4
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push 0xffffffffffffffff
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push ebx
push ebx
push 0xf001f
push eax
mov dword [0x100543cc], eax
call ebp
push str..NET_Data_Provider_for_SqlServer_Perf_Library_Lock_PID_0
push 0xd
push ebx
push 4
push ebx
push 0xffffffffffffffff
mov dword [0x100543d0], eax
call edi
push ebx
push ebx
push ebx
push 0xf001f
push eax
mov dword [0x100543dc], eax
call ebp
push str.ASP.NET_2.0.50727_Perf_Library_Lock_PID_0
push ebx
push ebx
push ebx
mov dword [0x100543d4], eax
call esi
push ebx
push ebx
push ebx
push 0x100247aa
push ebx
push ebx
mov dword [0x100542b4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call fcn.1002d67f
pop ecx
pop edi
pop esi
mov byte [0x1005a1e8], 1
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x10024bc8
Capabilities:
Create thread

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x1005a1e8], bl
je 0x10024cd6
push esi
push edi
push dword [0x100543c4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, 0x100543e0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x100543f8]
jmp 0x10024c17
push ebx
push ebx
push dword [esi]
push 0x10024bbc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call fcn.1002d67f
mov esi, dword [esi + 0xec]
pop ecx
cmp esi, ebx
jne 0x10024bf9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10024c2c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x100543f8], ebx
jne 0x10024c24
push dword [0x100544c8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [0x100544cc]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0x100544ac]
call dword [sym.imp.USER32.dll_DestroyCursor]
push 1
call fcn.100271a4
push dword [0x100543c0]
call fcn.1002d67f
mov esi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop ecx
pop ecx
push dword [0x100543d0]
call esi
push dword [0x100543cc]
call fcn.1002d67f
pop ecx
push dword [0x100543d4]
call esi
push dword [0x100543dc]
call fcn.1002d67f
push dword [0x100543d8]
call fcn.1002d67f
push dword [0x100543c4]
call fcn.1002d67f
push dword [0x100542b4]
call fcn.1002d67f
add esp, 0x10
push dword [0x100543c8]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
mov byte [0x1005a1e8], bl
pop esi
pop ebx
ret
Function at 0x1002556d
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ecx
cmp byte [0x1005a1e8], 0
push edi
mov edi, dword [0x10055ae4]
mov dword [esp + 8], edi
mov byte [esp + 7], 0
je 0x100256a5
push ebx
call fcn.1002485b
mov ebx, eax
test ebx, ebx
je 0x100256a4
push ebp
mov ebp, dword [ebx + 4]
cmp byte [ebp + 0xc], 0
jne 0x100256a3
push esi
mov esi, dword [esp + 0x1c]
push 0x37
lea edi, [ebx + 0xc]
pop ecx
rep movsd dword es:[edi], dword [esi]
test byte [ebp + 0x28], 4
jne 0x100255c4
mov esi, ebp
call fcn.1002944b
test byte [ebp + 0x28], 2
jne 0x100255fc
lea eax, [ebp + 0x8d4]
push eax
push dword [ebp + 0x788]
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor ecx, ecx
push ecx
push ecx
push ecx
push 0xf001f
push eax
mov dword [ebp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x770]
push eax
mov esi, ebp
call fcn.1002952e
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
pop ecx
push dword [ebp + 0x7c0]
call esi
push dword [ebp + 0x7cc]
call esi
push dword [ebp + 0x7b8]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call esi
push dword [ebp + 0x7bc]
call esi
push dword [ebp + 0x7c4]
call esi
push dword [ebp + 0x7c8]
call esi
xor edi, edi
push edi
push edi
push 1
push edi
mov byte [ebp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 1
push dword [esp + 0x18]
mov esi, ebp
push 0x1002527a
mov dword [ebx + 8], eax
call fcn.10029ae8
add esp, 0xc
push 0xffffffffffffffff
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx + 8]
call fcn.1002d67f
cmp byte [ebp + 0xc], 0
pop ecx
je 0x1002569f
push 1
push ebp
push 0x10024f3f
call fcn.10029ae8
add esp, 0xc
mov byte [esp + 0x13], 1
mov dword [ebx + 8], edi
pop esi
pop ebp
pop ebx
mov al, byte [esp + 7]
pop edi
pop ecx
pop ecx
ret
Function at 0x10026465
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push ebp
push esi
push 0xffffffffffffffff
push dword [edi + 0x7b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
cmp byte [edi + 0x9f], bl
je 0x100264eb
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x100264e2
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
cmp ebp, ebx
je 0x100264da
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x100264da
push eax
mov eax, dword [edi + 0x1c]
mov esi, 0x1a99
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [edi + 0x1c]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi + 0x1c]
push ebp
mov dword [ecx + 0x6a99], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100264eb
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x6a99], ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x6a99]
cmp ecx, ebx
jbe 0x1002653e
call fcn.1000e7e0
push ebx
push ebx
mov esi, eax
mov eax, dword [edi + 0x1c]
push dword [eax + 0x6a99]
add eax, 0x1a99
push esi
push 0xffffffffffffffff
push eax
push 0x200
push 0x4e3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [edi + 0x1c]
push dword [eax + 0x6a99]
push esi
push dword [edi]
call fcn.100314c6
add esp, 0xc
call fcn.1000e820
jmp 0x1002654a
push ebx
push ebx
push dword [edi]
call fcn.100314c6
add esp, 0xc
push dword [edi + 0x7b8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
pop ebp
pop ebx
ret

Function at 0x100268ce
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], bl
cmp dword [0x100543fc], ebx
jle 0x10026953
push esi
push edi
push dword [ebx*4 + 0x10054400]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx edi, ax
cmp edi, 0xffffffff
je 0x10026948
xor esi, esi
cmp dword [0x100543fc], esi
jle 0x10026942
push dword [esi*4 + 0x10054400]
push dword [ebp + 8]
push edi
call fcn.10026878
add esp, 0xc
test al, al
jne 0x1002692a
inc esi
cmp esi, dword [0x100543fc]
jl 0x10026908
jmp 0x10026942
mov eax, dword [ebp + 0xc]
mov byte [ebp - 1], 1
test eax, eax
je 0x10026938
mov word [eax], di
mov eax, dword [esi*4 + 0x10054400]
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x10026951
inc ebx
cmp ebx, dword [0x100543fc]
jl 0x100268e6
pop edi
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x10026c2f
Capabilities:
Log keystrokes

Disassembly:
movzx eax, byte [esp + 4]
push 0
push dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_keybd_event]
ret

Function at 0x10026c4f
Capabilities:
Log keystrokes via polling

Disassembly:
movzx eax, byte [esp + 4]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10026c72
push 2
push dword [esp + 8]
call fcn.10026c2f
pop ecx
pop ecx
ret

Function at 0x10026d1a
Capabilities:
Log keystrokes via polling

Disassembly:
xor edx, edx
xor al, al
movzx ecx, al
cmp dword [ecx*8 + 0x1004dbe0], esi
je 0x10026d58
inc al
cmp al, 0x58
jb 0x10026d1e
cmp dword [esp + 4], 0
jne 0x10026d3a
or edx, 2
push edx
push esi
call fcn.10026705
movzx eax, ax
pop ecx
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, al
push eax
call fcn.10026c2f
pop ecx
pop ecx
ret
movzx eax, al
mov cl, byte [eax*8 + 0x1004dbe4]
cmp byte [eax*8 + 0x1004dbe5], dl
je 0x10026d6e
xor edx, edx
inc edx
test cl, cl
je 0x10026d30
movzx eax, cl
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cmp dword [esp + 4], 0
movzx eax, ax
setne cl
movzx ecx, cl
push ecx
mov ecx, eax
shr ecx, 8
push ecx
push eax
call fcn.10026c97
add esp, 0xc
ret