joyce8/EMBER2024-capa huggingface dataset:
Function at 0xcf60b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00cf6200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcf60d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf60c2
add dl, dl
jne 0xcf60e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf6134
xor eax, eax
add dl, dl
jne 0xcf60ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcf61d5
add dl, dl
jne 0xcf60fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf6108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf6113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf611e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcf612a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcf60cd
mov eax, 1
add dl, dl
jne 0xcf6142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcf614d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf6139
sub eax, ebx
mov ebx, 1
jne 0xcf6180
mov ecx, 1
add dl, dl
jne 0xcf6166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf6171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf615d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf60cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcf6197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcf61a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcf618e
cmp eax, 0x7d00
jae 0xcf61c5
cmp eax, 0x500
jb 0xcf61c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf60cd
cmp eax, 0x7f
ja 0xcf61c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcf60cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcf61f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcf60cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x409360
Capabilities:
Connect pipe
Enumerate gui resources
Read pipe
Write pipe

Disassembly:
sub esp, 0xc2c
mov eax, dword [esp + 0xc30]
mov edx, dword [0x2b18514]
push ebx
mov ebx, dword [esp + 0xc38]
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebx]
mov dword [esp + 0x14], esi
mov ebp, 0xc6ef3720
mov dword [esp + 0x1c], eax
cmp edx, 0x13f7
jne 0x4093c1
push 0
push 0
push 0x4013a0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov esi, dword [esp + 0x14]
mov edx, dword [0x2b18514]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
cmp edx, 0x60b
jne 0x409437
push 0
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x48]
push eax
push 0
push 0
push 0x4013b0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
push 0
lea ecx, [esp + 0x440]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov esi, dword [esp + 0x14]
mov edx, dword [0x2b18514]
mov dword [esp + 0x18], 0x20
jmp 0x409445
mov esi, dword [esp + 0x14]
mov eax, esi
shl eax, 4
mov dword [esp + 0x10], eax
cmp edx, 5
jne 0x40948c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
lea ecx, [esp + 0x30]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov esi, dword [esp + 0x14]
mov edx, dword [0x2b18514]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00409300
lea ebx, [esi + ebp]
shr esi, 5
add esi, dword [esp + 0x24]
mov dword [0x2afb974], 0xffcf03fc
cmp edx, 0x1b
jne 0x4094cb
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
xor esi, ebx
xor esi, dword [esp + 0x10]
mov dword [0x2afb974], 0
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
add dword [0x2afb974], eax
sub edi, esi
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x1c]
lea ecx, [edi + ebp]
mov dword [esp + 0x10], eax
mov edx, edi
push ecx
lea eax, [esp + 0x14]
shr edx, 5
add edx, dword [esp + 0x2c]
push eax
mov dword [0x2afb978], 0xc5e121b4
mov dword [0x2afb97c], 0xffffffff
call fcn.004092e0
push edx
lea ecx, [esp + 0x14]
push ecx
call fcn.004092e0
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov edx, dword [0x2b18514]
cmp edx, 0x417
je 0x40954a
add ebp, 0x61c88647
sub dword [esp + 0x18], 1
jne 0x409441
mov eax, dword [esp + 0xc40]
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0xc2c
ret 8
Function at 0x409580
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14c
cmp dword [0x2b18514], 0x516
jne 0x4095bf
push 0x30
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.0040a550
add esp, 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 8]
push edx
push 0x4013d0
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
mov eax, dword [esp + 0x154]
shr eax, 3
test eax, eax
jbe 0x40963a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
mov esi, dword [esp + 0x15c]
push edi
mov edi, dword [esp + 0x168]
mov dword [esp + 0x10], eax
nop
cmp dword [0x2b18514], 0x29
jne 0x409601
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
cmp dword [0x2b18514], 0x1c
jne 0x409625
call ebx
lea eax, [esp + 0x48]
push eax
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
push esi
call fcn.00409360
add esi, 8
sub dword [esp + 0x10], 1
jne 0x4095f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 0xc

Function at 0x409650
Capabilities:
Get disk information
Manipulate console buffer
Set thread local storage value

Disassembly:
sub esp, 0x84
cmp dword [0x2b18514], 0x37
jne 0x409728
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x6c]
push ecx
push 0x4013f0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0x401404
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x401420
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0x30
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esp + 0x28], 0
call fcn.0040a550
add esp, 0xc
push 0
lea edx, [esp + 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
mov dword [esp], 0
mov eax, dword [0x2b18518]
add dword [esp], eax
mov eax, 0x38d6
add dword [esp], eax
mov ecx, dword [esp]
mov eax, dword [esp + 0x88]
mov dl, byte [ecx + eax]
mov ecx, dword [0x2afb970]
mov byte [ecx + eax], dl
add esp, 0x84
ret 4
Function at 0x409870
Capabilities:
Create pipe
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a40
call fcn.0040a5d0
mov dword [ebp - 4], 0
jmp 0x40988f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x409976
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x2b18514], 0x16
jne 0x4098e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x858]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x2b18514], 0x9e
jne 0x409966
push 0
lea eax, [ebp - 0xc58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0x11d0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0xdd0]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xcac], 0
push 0
push 0
lea eax, [ebp - 0xcac]
push eax
lea ecx, [ebp - 0xc5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
lea edx, [ebp - 0xca8]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCompact]
cmp dword [ebp - 4], 0x3775ee
jle 0x409971
jmp 0x409976
jmp 0x409886
push 0x428010
mov eax, dword [0x2b18514]
push eax
mov ecx, dword [0x2afb970]
push ecx
call fcn.00409580
mov dword [ebp - 0x11d4], 0
jmp 0x4099a8
mov edx, dword [ebp - 0x11d4]
add edx, 1
mov dword [ebp - 0x11d4], edx
cmp dword [ebp - 0x11d4], 0x3e79e
jge 0x4099e2
cmp dword [0x2b18514], 0x10
jne 0x4099ca
lea eax, [ebp - 0x11f4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnfix]
cmp dword [ebp - 0x11d4], 0x1e673
jne 0x4099e0
add dword [0x2afb970], 0
jmp 0x409999
mov dword [ebp - 0x11f8], 0
jmp 0x4099fd
mov ecx, dword [ebp - 0x11f8]
add ecx, 1
mov dword [ebp - 0x11f8], ecx
cmp dword [ebp - 0x11f8], 0xdd9a7
jge 0x409a43
cmp dword [0x2b18514], 0xc01
jne 0x409a41
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
jmp 0x4099ee
call fcn.00408460
jmp dword [0x2afb970]
Function at 0x40aab0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40aacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40aad6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40aaed
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040f5e0
add esp, 4
or eax, 0xffffffff
jmp 0x40aaef
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x410450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453064]
jne 0x41045a
repz ret
jmp fcn.0041acb0
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48a004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x4067a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040261d
and dword [ebp - 4], 0
cmp dword [0x48bcdc], 0
mov ebx, eax
jne 0x406859
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40690a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40690a
push eax
call fcn.004025ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48bcdc], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48bce0], eax
call esi
push eax
call fcn.004025ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48bce4], eax
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x48bcec], eax
test eax, eax
je 0x406859
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004025ab
pop ecx
mov dword [0x48bce8], eax
mov eax, dword [0x48bce8]
cmp eax, ebx
je 0x4068b1
cmp dword [0x48bcec], ebx
je 0x4068b1
push eax
call fcn.00402626
push dword [0x48bcec]
mov esi, eax
call fcn.00402626
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4068b1
test edi, edi
je 0x4068b1
call esi
test eax, eax
je 0x4068a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4068a8
test byte [ebp - 0xc], 1
jne 0x4068b1
or dword [ebp + 0x10], 0x200000
jmp 0x4068ea
mov eax, dword [0x48bce0]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068ea
mov eax, dword [0x48bce4]
cmp eax, ebx
je 0x4068ea
push eax
call fcn.00402626
pop ecx
test eax, eax
je 0x4068ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48bcdc]
call fcn.00402626
pop ecx
test eax, eax
je 0x40690a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40690c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x485c30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
cmp edi, 0x19f
jne 0x485c49
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
test edi, edi
jle 0x485c91
nop
lea ecx, [esp + 8]
mov dword [esp], 5
mov dword [esp + 8], 0
call fcn.00485c20
mov eax, dword [esp + 8]
add eax, 0x46
mov dword [esp], eax
sub dword [esp], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor dword [esp + 4], eax
mov cl, byte [esp + 4]
mov byte [edx + esi], cl
inc edx
cmp edx, edi
jl 0x485c50
cmp edi, 0x2d
jne 0x485caa
mov dword [0x2b89ef8], 0xa62e7790
mov dword [0x2b89efc], 0xffffffff
add esp, 0xc
ret
Function at 0xdc0214
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc021e
add al, ah
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
pushal
call 0xdc0224
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0214
jmp 0xdc023a
mov eax, 0x9c0214
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e0
mov edx, 0xa9294116
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0251
jmp 0xdc0264
popfd
fistp dword [ebp + 0x16162a9f]
push ss
xchg edi, eax
xlatb
out dx, al
push ss
push ss
push ss
adc eax, 0x1612aedb
scasb al, byte es:[edi]
adc dl, byte [esi]
push ss
push ss
lodsb al, byte [esi]
push ss
push ss
push ss
loope 0xdc0274
adc eax, 0x1a979dde
push ss
push ss
push ss
adc eax, 0x729b46d3
xor ch, dl
lahf
adc dh, byte [edx]
jle 0xdc0216
invalid
Function at 0x4ee540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
or ebp, 0xffffffff
jmp 0x4ee562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ee569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee558
mov eax, 1
add ebx, ebx
jne 0x4ee57b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ee58c
jne 0x4ee5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee5ab
dec eax
add ebx, ebx
jne 0x4ee598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ee570
add ebx, ebx
jne 0x4ee5a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ee5fd
xor ecx, ecx
sub eax, 3
jb 0x4ee5c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ee632
sar eax, 1
mov ebp, eax
jmp 0x4ee5ce
add ebx, ebx
jne 0x4ee5ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee59c
inc ecx
add ebx, ebx
jne 0x4ee5dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee59c
add ebx, ebx
jne 0x4ee5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ee5de
jne 0x4ee5fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ee5de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ee61c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ee60e
jmp 0x4ee55e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ee61c
add edi, ecx
jmp 0x4ee55e
pop esi
mov edi, esi
mov ecx, 0x4c7b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ee63a
cmp byte [edi], 0x12
jne 0x4ee63a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ee63f
lea edi, [esi + 0xe6000]
mov eax, dword [edi]
or eax, eax
je 0x4ee6b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeec54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeed80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ee66c
mov ecx, edi
jns 0x4ee69b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeed84]
or eax, eax
je 0x4ee6b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4ee689
call dword [esi + 0xeed94]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ee6e8
cmp al, 0xef
ja 0x4ee6db
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ee6bd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ee6ca
mov ebp, dword [esi + 0xeed88]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ee71c
sub esp, 0xffffff80
jmp 0x456812
Function at 0x1001c48
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x14]
push 0xfffffffffffffff0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
jne 0x1001c95
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov esi, eax
call edi
mov edi, eax
jmp 0x1001cbb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1001ca8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x24]
push ecx
push eax
call esi
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x20]
mov eax, esi
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
push 3
pop esi
mov eax, edi
sub eax, dword [ebp - 4]
push 5
cdq
idiv esi
jmp 0x103eebc

Function at 0x1002229
Capabilities:
Accept command line arguments
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
xor ebx, ebx
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 8], 1
mov edi, eax
jle 0x1002256
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.01012189
mov esi, eax
push 1
push esi
push edi
call fcn.01005bde
test eax, eax
jmp loc.010400e8

Function at 0x1002570
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp dword [ebp + 0xc], eax
je fcn.0100259e
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 0
push dword [ebp + 8]
jmp loc.0103e972

Function at 0x10025a2
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
cmp dword [esp + 0xc], 0
je 0x10025bd
or eax, 0x1000000
push 0x32
push dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
ret 0xc
Function at 0x1002b7f
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
movzx eax, word [esp + 0x10]
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push eax
push 0x32
push dword [0x1014a0c]
xor edi, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [0x1014a10]
call ebp
mov ebx, eax
test ebx, ebx
je 0x1002c05
push 4
push ebx
call ebp
test eax, eax
jne 0x1002bf4
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov esi, dword [edi + 0xc]
jmp 0x1002bdf
jmp 0x103b27d
test esi, esi
jne 0x1002bd4
jmp 0x1002bed
cmp dword [esp + 0x10], 0
jne 0x1002c0c
push 2
push ebx
call ebp
mov ebx, eax
test ebx, ebx
jne 0x1002bbc
cmp dword [esp + 0x10], eax
jne 0x1002c0c
xor eax, eax
jmp 0x103c430
push esi
push dword [edi + 4]
call fcn.010062ba
push eax
push dword [0x1015774]
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
mov ebx, eax
test ebx, ebx
je 0x1002c50
push 0xfffffffffffffff2
push dword [0x1014a0c]
call dword [sym.imp.USER32.dll_GetClassLongW]
test eax, eax
je 0x1002c41
push eax
jmp 0x103cd5e
push ebx
push 0xfffffffffffffff2
push dword [0x1014a0c]
jmp 0x1040459
push dword [0x1014a0c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1002c68
mov dword [esp + 0x14], 1
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x1002cb9
mov ecx, dword [esi + 4]
mov ecx, dword [eax + ecx*4 + 0x38]
mov ecx, dword [ecx + eax + 0x14]
add ecx, eax
push ecx
push dword [0x1014a0c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x8103
push esi
push edi
call fcn.0100c9d3
test ax, ax
je 0x1002cb0
push 7
push dword [0x1014a0c]
call ebx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x14], 0
je 0x1002cd4
push 0
push dword [0x1014a0c]
call ebx
push 5
push dword [0x1014a0c]
call ebx
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8

Function at 0x100381f
Capabilities:
Get disk information
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10016b4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10016b8]
mov dword [ebp - 8], eax
push edi
jmp loc.0103fd33

Function at 0x100385e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10016b4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10016b8]
mov dword [ebp - 8], eax
push edi
xor eax, eax
lea edi, [ebp - 4]
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
add eax, 0x41
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop edi
leave
ret 4
Function at 0x100389c
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ebp, ebp
push edi
xor edi, edi
cmp word [esi], 0x22
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
jne 0x10038db
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
cmp word [esi + eax*2 - 2], 0x22
jne 0x10038db
push esi
mov dword [esp + 0x18], 1
call ebx
mov word [esi + eax*2 - 2], bp
inc esi
inc esi
xor ecx, ecx
mov cx, word [esi]
cmp cx, bp
mov ebx, esi
mov eax, esi
je 0x100390f
cmp cx, 0x5c
jne 0x10038f4
lea ebx, [eax + 2]
jmp 0x10038fc
cmp cx, 0x2e
jne 0x10038fc
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
cmp cx, bp
jne 0x10038e9
cmp edi, ebp
jne 0x1003911
mov edi, eax
mov bp, word [edi]
and word [edi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x28
jle 0x1003932
mov ax, word [ebx + 0x50]
and word [ebx + 0x50], 0
mov word [esp + 0x10], ax
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esp + 0x10]
test ax, ax
mov word [edi], bp
je 0x100394d
mov word [ebx + 0x50], ax
cmp dword [esp + 0x14], 0
je 0x1003961
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x103e124
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_CharUpperW]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_CharNextW]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8