joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483b56
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
jne 0x483c88
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x483b7e
mov ecx, edi
call fcn.00484f70
mov eax, ebx
jmp 0x483c91
cmp eax, 2
jne 0x483b9d
lea ecx, [edi + 0x602]
xor eax, eax
cmp byte [ecx], al
jne 0x483b91
mov byte [ecx], bl
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x483b77
cmp eax, 0x65
jne 0x483ba9
call fcn.0048506c
jmp 0x483b77
cmp eax, 0x66
jne 0x483bc3
xor eax, eax
cmp dword [edi + 0x594], eax
mov esi, edi
sete al
push eax
call fcn.00486014
jmp 0x483b77
cmp eax, 0x191
jne 0x483bfe
xor ecx, ecx
mov eax, edi
call fcn.0040cbae
call fcn.0047efa1
test eax, eax
je 0x483b77
xor eax, eax
push eax
push eax
push 2
push 2
push 0x4e70f0
push eax
push eax
push 0x4e7100
push eax
call fcn.0040aace
add esp, 0x24
jmp 0x483b77
cmp eax, 0x96
jne 0x483c26
push dword [edi + 0x5c0]
push dword [edi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
push edi
call fcn.00484b19
jmp 0x483b77
cmp eax, 0x1f5
jne 0x483c37
call fcn.0048515a
jmp 0x483b77
cmp eax, 0xa0
jne 0x483c67
push ebx
xor eax, eax
push eax
push eax
push str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x483b77
call fcn.0048524a
jmp 0x483b77
cmp eax, 0x68
jne 0x483c77
push edi
call fcn.00485d55
jmp 0x483b77
cmp eax, 0x2bf
jne 0x483c88
call fcn.0040b461
jmp 0x483b77
and dword [edi + 0x5c4], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x48426e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d1334
call fcn.004cc790
sub esp, 0x408
push esi
push edi
xor esi, esi
push 0x3fe
lea eax, [ebp - 0x412]
push esi
mov dword [ebp - 0x14], esi
push eax
mov edi, str.https:__wpa1.qq.com_5ciKQjBf__typewpaqidiantrue
mov dword [ebp - 0x14], str.MarketQQLink
mov word [ebp - 0x414], si
call fcn.004954a0
add esp, 0xc
test byte [0x510bec], 1
jne 0x4842d4
or dword [0x510bec], 1
mov dword [ebp - 4], esi
call fcn.004840e7
push 0x4d322e
call fcn.00494fb4
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x510b30]
cmp eax, esi
je 0x4842f3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test al, al
je 0x4842f3
mov edi, str.https:__wpa1.qq.com_FDdK6y0s__typewpaqidiantrue
mov dword [ebp - 0x14], str.VipMarketQQLink
push esi
lea ecx, [ebp - 0x10]
call fcn.0047c286
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.004914d7
pop ecx
pop ecx
push str.dataoperation_contact.dat
lea eax, [ebp - 0x10]
push eax
call fcn.004325c9
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 0x200
push eax
push edi
push dword [ebp - 0x14]
push str.FeedBack
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call fcn.0043288d
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x48511d
Capabilities:
Hide graphical window

Disassembly:
dec eax
push esi
mov esi, ecx
je 0x485153
dec eax
je 0x48514c
dec eax
je 0x485134
dec eax
jne 0x485158
push esi
call fcn.004871b2
pop esi
ret
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
ret
call fcn.00485b84
pop esi
ret
call fcn.00485535
pop esi
ret

Function at 0x48524a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ce6e5
call fcn.004cc790
push ecx
push ecx
push esi
push 1
push 0
mov esi, str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push esi
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x48529c
lea eax, [ebp - 0x10]
push eax
call fcn.0047ea69
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.0047e148
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4852a9
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x4ce5a5
call fcn.004cc790
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov esi, ecx
and dword [ebp - 4], 0
push 0x66
push dword [0x50ec48]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0x650], eax
lea eax, [ebp - 0x14]
push 0x4ee250
lea edi, [esi + 0x64c]
lea ecx, [esi + 0x62c]
push eax
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x660], ebx
mov dword [edi], 0x3b8
mov dword [esi + 0x658], 7
mov dword [esi + 0x65c], 0x468
mov dword [esi + 0x96c], 3
mov dword [esi + 0x654], 2
call fcn.0041c556
push dword [eax]
add esi, 0x664
push 0x80
push esi
call fcn.0049542c
mov eax, dword [ebp - 0x14]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
push edi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x485362
mov dword [ebp - 0x10], 1
test ebx, ebx
je 0x48536d
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x485c8d
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.0047e65a
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x485d4e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485cd0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x485d4e
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004326e7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.004011c0
test bl, bl
je 0x485cfd
push 2
pop eax
jmp 0x485d51
push edi
call fcn.00485c01
test eax, eax
pop ecx
je 0x485d0c
mov eax, esi
jmp 0x485d51
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004326e7
push dword [eax]
call fcn.0043492e
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004011c0
test bl, bl
je 0x485d3b
push 4
jmp 0x485cfa
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x485d4a
push 5
jmp 0x485cfa
xor eax, eax
jmp 0x485d51
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x485d55
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4d12db
call fcn.004cc790
sub esp, 0x444
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x44e]
push edi
push eax
mov word [ebp - 0x450], di
call fcn.004954a0
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push 0x11
push dword [eax + 4]
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.004011f9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
jge 0x485de2
push 0x80070057
call fcn.0040131e
mov esi, 0x4ee534
mov dword [eax - 0xc], edi
push esi
mov word [eax], di
call fcn.004953a9
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.0040140a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.0044edbe
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0x4ee540
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, edi
je 0x485f02
push 0x206
lea eax, [ebp - 0x246]
push edi
push eax
mov word [ebp - 0x248], di
call fcn.004954a0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x248]
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0047e65a
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004325ec
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
push str.kingsoft_antivirus_
lea eax, [ebp - 0x14]
push eax
call fcn.004325c9
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00485c8d
mov esi, dword [ebp + 8]
push 0
push eax
push 0x46c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [esi + 0x5c8], 2
lea eax, [ebx - 0x10]
call fcn.004011c0
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4860ad
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
push edi
push 0
mov esi, eax
push 0x26
add esi, 0x5c0
push 0x104
call fcn.004011f9
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4860dd
push eax
call fcn.004953a9
pop ecx
mov edx, esi
call fcn.004011d8
test edi, edi
jne 0x4860f3
push str.c:program_files
push esi
call fcn.00432867
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.004325c9
pop edi
pop esi
ret

Function at 0x486101
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ce6e5
call fcn.004cc790
push ecx
mov eax, dword [0x50ec24]
push esi
push edi
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.004011f9
push 0x104
push eax
push dword [ebx + 0x598]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x48614f
xor eax, eax
jmp 0x486156
push esi
call fcn.004953a9
pop ecx
lea edx, [ebp - 0x10]
call fcn.004011d8
lea edi, [ebp - 0x10]
call fcn.00485c8d
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x486510
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x4ce6e5
call fcn.004cc790
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x10]
push str.installconfig.ini
add ecx, 0x634
push eax
xor esi, esi
call fcn.0041c556
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4865f0
mov eax, dword [ebp - 0x10]
push ebx
push edi
add eax, 0xfffffff0
call fcn.00401367
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
add ebx, 0x10
push ebx
push 1
push str.imagecounts
mov edi, 0x4e6c34
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5d8], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, eax
add ebx, 0x10
push ebx
push 0
push str.autoclose
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x604], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, eax
add ebx, 0x10
push ebx
push 2
push str.delaytime
push edi
call esi
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [eax + 0x5d0], esi
xor esi, esi
pop edi
inc esi
pop ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x48665e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d08d3
call fcn.004cc790
sub esp, 0xc
push esi
push edi
push 0x192
push 0x25a
push ebx
call fcn.0048660c
cmp dword [ebx + 0x5e4], 0
jne 0x48678b
push str.mainbg_new
mov esi, str.skin
push esi
lea edi, [ebx + 0x28]
push 3
mov ecx, edi
call fcn.0040e2fd
push 1
mov eax, ebx
call fcn.00486c8b
push str.0__105__0__15
push 0x4e3664
push 0xc8
mov ecx, edi
call fcn.0040e2fd
call fcn.00401062
cmp dword [eax + 4], 0
je 0x4866da
push str.aladdin_mainbg_new
push esi
push 3
mov ecx, edi
call fcn.0040e2fd
lea eax, [ebp - 0x14]
push str.softtemprory.png
lea ecx, [ebx + 0x630]
push eax
call fcn.0041c556
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48671a
push dword [ebp - 0x14]
mov esi, 0x25c
push str.filepath
push esi
push edi
call fcn.0040ccc3
push 1
push esi
jmp 0x486721
push 1
push 0x25d
mov eax, edi
call fcn.0040cd23
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.00486a19
push dword [ebp - 0x10]
mov esi, 0x25e
push esi
mov eax, edi
call fcn.0040cc7c
push 1
push esi
mov eax, edi
call fcn.0040cd23
cmp dword [0x5109a4], 1
jne 0x486775
mov eax, ebx
call fcn.00486c26
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x486799
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cef3a
call fcn.004cc790
sub esp, 0x10
push ebx
push esi
push edi
push 0x208
mov edi, ecx
push 0x199
push edi
call fcn.0048660c
xor eax, eax
cmp dword [edi + 0x5e4], eax
sete al
push eax
mov eax, edi
call fcn.00486c8b
call fcn.00486906
push str.soguo_mainbg_new
lea esi, [edi + 0x28]
push str.skin
push 3
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0040e2fd
push str.0_0__0__0
mov ebx, 0x4e3664
push ebx
push 3
mov ecx, esi
call fcn.0040e2fd
cmp dword [edi + 0x5e4], 0
jne 0x4868f7
push str.15__153__15__63
push ebx
push 0xc8
mov ecx, esi
call fcn.0040e2fd
lea eax, [ebp - 0x14]
push str.softtemprory.png
lea ecx, [edi + 0x630]
push eax
call fcn.0041c556
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486861
push dword [ebp - 0x14]
mov edi, 0x25c
push str.filepath
push edi
push esi
call fcn.0040ccc3
push str._36_103_36_175
jmp 0x48686b
push str._30_103_30_163
mov edi, 0x25d
push ebx
push edi
mov ecx, esi
call fcn.0040e2fd
push 1
push edi
mov eax, esi
call fcn.0040cd23
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.00401062
add eax, 0xc
lea edi, [ebp - 0x18]
call fcn.004013c9
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push edi
mov esi, 0x25e
push esi
call fcn.0040cc7c
mov ecx, dword [ebp - 0x10]
push str.30_190__30_234
push ebx
push esi
call fcn.0040e2fd
push str.sogou_aladdin_titlt
push str.class
push esi
push dword [ebp - 0x10]
call fcn.0040ccc3
mov eax, dword [ebp - 0x10]
push 1
push esi
call fcn.0040cd23
lea eax, [edi - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x486a6d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d12b9
call fcn.004cc790
sub esp, 0xc
push ebx
push esi
push 0x1b8
push 0x258
push edi
call fcn.0048660c
push 1
mov eax, edi
call fcn.00486c8b
push str.scene5_logo
push str.skin
lea esi, [edi + 0x28]
mov ebx, 0x25a
push ebx
mov ecx, esi
call fcn.0040e2fd
push str.16_0
push 0x4e3664
push ebx
mov ecx, esi
call fcn.0040e2fd
push 1
push ebx
mov eax, esi
call fcn.0040cd23
push str.scene5_bg
push str.skin
push 3
mov ecx, esi
call fcn.0040e2fd
push str.0_0__0__0
mov ebx, 0x4e3664
push ebx
push 3
mov ecx, esi
call fcn.0040e2fd
push str.0__105__0__15
push ebx
push 0xc8
mov ecx, esi
call fcn.0040e2fd
push 1
push 0x262
mov eax, esi
call fcn.0040cd23
lea eax, [ebp - 0x10]
push str.softtemprory.png
lea ecx, [edi + 0x634]
push eax
call fcn.0041c556
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486b52
push dword [ebp - 0x10]
mov ebx, 0x264
push str.filepath
push ebx
push esi
call fcn.0040ccc3
push 1
push ebx
jmp 0x486b59
push 1
push 0x265
mov eax, esi
call fcn.0040cd23
push 1
push 0x263
mov eax, esi
call fcn.0040cd23
push 0x64
lea eax, [ebp - 0x14]
push eax
call fcn.00487012
mov byte [ebp - 4], 1
push dword [eax]
mov eax, esi
push 0x266
call fcn.0040cc7c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
push 0x65
lea eax, [ebp - 0x14]
push eax
call fcn.00487012
mov byte [ebp - 4], 2
push dword [eax]
push esi
call fcn.004872f4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, edi
call fcn.00487096
xor eax, eax
lea ebx, [edi + 0x5e4]
cmp dword [ebx], eax
sete al
push eax
push 0x267
mov eax, esi
call fcn.0040cd23
cmp dword [ebx], 0
jne 0x486bf7
push 0
push 0x53
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x486c0d
push str.0_268__0_300
push 0x4e3664
push 0x1fb
mov ecx, esi
call fcn.0040e2fd
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x487550
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x10]
test eax, eax
je 0x487581
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x487574
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
ret 4
Function at 0x487aff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x4e
push edi
jne 0x487b3f
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x487c08
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00487a5e
mov dword [ebx], eax
cmp dword [esi + 0x590], 0
je 0x487c08
mov eax, edi
jmp 0x487c24
cmp eax, 0x113
jne 0x487b8d
xor edi, edi
inc edi
mov eax, 0x2711
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x590], edi
jne 0x487b88
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x59c]
push 0x3ed
push 0x476
push dword [esi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx], 0
jmp 0x487b2b
cmp eax, 0x110
jne 0x487bb1
push 0
push 0
xor edi, edi
push 0x473
push dword [esi + 4]
inc edi
mov dword [esi + 0x590], edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x487b88
cmp eax, 0x473
jne 0x487bd0
call fcn.00487e24
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
xor eax, eax
inc eax
jmp 0x487c24
cmp eax, 0x477
jne 0x487bee
push dword [ebp + 0x10]
xor edi, edi
inc edi
push esi
mov dword [esi + 0x590], edi
call fcn.00487c96
jmp 0x487b29
cmp eax, 0x478
jne 0x487c08
xor edi, edi
inc edi
mov dword [esi + 0x590], edi
call fcn.00487cf8
jmp 0x487b29
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cc4b
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x487eba
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x487f2c
push edi
xor eax, eax
mov dword [ebp - 8], esi
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
pop edi
je 0x487f2c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
fild qword [ebp - 0x10]
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x4ef988]
fnstsw ax
test ah, 1
jne 0x487f2c
inc esi
mov eax, esi
pop esi
leave
ret
Function at 0x487f65
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
xor edx, edx
cmp dword [ebp + 0x18], edx
push edi
mov edi, eax
je 0x487fca
cmp dword [ebp + 0x18], 0x12d
jne 0x488154
cmp dword [ebp + 0xc], 0x100
jne 0x488154
movzx esi, word [ebp + 0x10]
push 0x11
mov dword [edi + 0x590], edx
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x61
movzx eax, ax
je 0x487fac
cmp esi, 0x41
jne 0x487fbb
test al, al
jns 0x487fbb
lea esi, [edi + 0x598]
call fcn.004872d1
and dword [ebx], 0
cmp dword [edi + 0x590], 0
jmp 0x48814e
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x4e
jne 0x48801d
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x488136
xor esi, esi
inc esi
mov dword [edi + 0x590], esi
cmp dword [eax + 8], esi
jne 0x487fff
cmp dword [eax + 0xc], 0x12e
jne 0x487fff
call fcn.004882dc
mov eax, esi
jmp 0x488007
mov dword [edi + 0x590], edx
xor eax, eax
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
je 0x488136
mov eax, esi
jmp 0x488156
cmp ecx, 0x110
jne 0x488056
lea esi, [edi + 0x590]
push edi
mov dword [esi], 1
call fcn.00488472
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
cmp dword [esi], 0
je 0x488136
xor eax, eax
inc eax
jmp 0x488156
cmp ecx, 0x465
jne 0x48807d
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.00488238
mov dword [ebx], eax
cmp dword [edi + 0x590], 0
jmp 0x488048
cmp ecx, 0x466
jne 0x488098
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.00488283
jmp 0x488072
mov eax, 0x46c
cmp ecx, eax
jne 0x4880b4
mov esi, edi
mov dword [edi + 0x590], 1
call fcn.00488723
jmp 0x488072
cmp ecx, 0x46f
jne 0x4880df
push dword [edi + 0x5c0]
lea esi, [edi + 0x590]
push dword [edi + 0x598]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x488042
cmp ecx, 0x10
jne 0x488107
push 0
push 2
push 0x111
push dword [edi + 4]
lea esi, [edi + 0x590]
mov dword [esi], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x488042
cmp ecx, 0x111
jne 0x488136
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
cmp cx, 0x300
mov dword [edi + 0x590], edx
jne 0x48812e
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
and dword [ebx], 0
jmp 0x488074
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cc4b
test eax, eax
jne 0x48804e
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14