joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45171b
Capabilities:
Get disk information
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x519a54]
push esi
mov ecx, 0x519a54
xor esi, esi
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.00451505
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], esi
je 0x4517cf
push ebx
push 3
pop ecx
lea edx, [ebp + 8]
lea eax, [ebp - 4]
call fcn.00401ad2
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
mov eax, dword [ebp + 8]
setne bl
add eax, 0xfffffff0
call fcn.0040153b
test bl, bl
pop ebx
jne 0x4517cf
lea eax, [ebp - 4]
call fcn.004053c9
push str.kingsoft_antivirus
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.0041e76b
cmp eax, 0xffffffff
jne 0x4517be
call fcn.00423728
mov eax, 0x51b6d8
call fcn.0043f50d
test eax, eax
mov eax, esi
je 0x4517b3
push str.kingsoft_
jmp 0x4517b8
push str.kingsoft_antivirus_
push eax
call fcn.0040554e
mov ecx, dword [edi + 0x38c]
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
call dword [eax]
xor esi, esi
inc esi
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, esi
pop esi
leave
ret 4

Function at 0x4517ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [edi + 0x3a0]
mov eax, dword [eax - 0xc]
push ebx
push esi
mov dword [ebp - 4], eax
lea esi, [edi + 0x50]
lea eax, [esi - 0x24]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ebp + 8]
add eax, 0x32
push eax
call fcn.00406630
mov ebx, eax
push 0x4f6898
lea eax, [ebp + 8]
call fcn.004019de
test ebx, ebx
je 0x451849
push 1
push ebx
push esi
call fcn.0040b006
push dword [ebx + 0x28]
lea eax, [ebp + 8]
push eax
call fcn.00401b70
push 1
push ebx
push esi
call fcn.0040b006
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
mov eax, ebx
call fcn.00401667
mov esi, eax
add esi, 0x10
mov eax, ebx
mov dword [ebp + 8], esi
call fcn.0040153b
mov eax, dword [edi + 0x38c]
mov ebx, dword [eax]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
dec ecx
lea eax, [edi + 0x3a0]
call fcn.004054b7
xor ecx, ecx
push eax
inc ecx
lea edx, [ebp - 0xc]
lea eax, [ebp + 8]
call fcn.00401ad2
lea ecx, [ebp - 8]
call fcn.0041e6f7
pop ecx
mov ecx, dword [edi + 0x38c]
push eax
call dword [ebx]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040153b
lea eax, [esi - 0x10]
call fcn.0040153b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040153b
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
leave
ret 4
Function at 0x451914
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
xor esi, esi
inc esi
cmp dword [ebp + 0xc], 0x86
push edi
mov ebx, eax
mov edi, ecx
jne 0x45195a
cmp dword [ebp + 0x10], 0
mov dword [edi + 0x388], esi
jne 0x451945
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
cmp dword [edi + 0x388], 0
je 0x4519a9
mov eax, esi
jmp 0x451a19
cmp dword [ebp + 0xc], 0x4e
jne 0x4519a9
cmp dword [ebx + 4], 0x3e8
jne 0x4519a9
mov dword [edi + 0x388], esi
cmp dword [ebx + 8], esi
jne 0x45199a
mov eax, dword [ebx + 0xc]
cmp eax, 0xc8
jne 0x451988
push edi
call fcn.004515d2
mov eax, esi
jmp 0x4519a2
cmp eax, 0x64
jb 0x45199a
cmp eax, 0x69
ja 0x45199a
push eax
call fcn.004517ec
jmp 0x451984
xor eax, eax
mov dword [edi + 0x388], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x45194a
push 0
push dword [ebp + 0x14]
mov ecx, edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044123b
test eax, eax
jne 0x451953
cmp dword [ebp + 0xc], 5
lea edx, [edi + 0x380]
jne 0x4519eb
movsx eax, bx
shr ebx, 0x10
movsx ecx, bx
push ecx
push eax
push dword [ebp + 0x10]
push edx
call fcn.00459695
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x451a17
cmp dword [ebp + 0xc], 2
jne 0x4519f8
and dword [edx], 0
and dword [edx + 4], 0
cmp dword [ebp + 0xc], 0x110
jne 0x451a17
mov eax, dword [ebp + 0x14]
add edi, 0x388
mov dword [edi], esi
mov dword [eax], esi
cmp dword [edi], 0
jne 0x451953
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4529e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xec]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x452b1d
push eax
call fcn.0041e2dd
mov ebx, eax
test ebx, ebx
pop ecx
je 0x452aea
mov eax, dword [ebx + 0x10]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x452a5e
lea eax, [ebx + 0x14]
push eax
call fcn.00415d6f
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0041e51f
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xec], eax
jne 0x452ab4
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x452aa6
cmp word [ecx], ax
je 0x452aa6
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x452aea
cmp dword [ebx + 0x10], eax
je 0x452aea
mov dword [ebp - 4], 1
jmp 0x452aea
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x452ad3
lea eax, [ebx + 0x14]
push eax
call fcn.00415d6f
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0041e51f
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xec], ecx
je 0x452afb
push 0x67
jmp 0x452b16
cmp dword [ebp - 8], ecx
je 0x452b1d
cmp dword [ebp - 0xc], ecx
je 0x452b1d
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xe8]
cmp edx, dword [eax]
jne 0x452b14
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00452645
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4544fb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea eax, [ebp + 8]
call fcn.004019de
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00401e1d
mov esi, dword [ebp + 8]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea eax, [esi - 0x10]
call fcn.0040153b
pop esi
leave
ret 4
Function at 0x455ea7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, eax
jne 0x455f8d
cmp dword [ebp + 0xc], 3
jne 0x455f0c
push dword [esi + 0x79c]
xor ebx, ebx
inc ebx
mov dword [esi + 0x390], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x455ef6
lea edi, [esp + 0x10]
mov eax, esi
call fcn.004589cd
push ebx
lea ecx, [esi + 0x79c]
push ecx
call fcn.0041e5a3
mov edi, dword [ebp + 0x18]
and dword [edi], 0
cmp dword [esi + 0x390], 0
je 0x455f43
mov eax, ebx
jmp 0x455f8f
cmp dword [ebp + 0xc], 0x4e
jne 0x455f3d
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0xffffffff
jne 0x455f3d
lea edi, [esi + 0x390]
mov ecx, esi
mov dword [edi], 1
call fcn.00455ddd
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi], 0
je 0x455f3d
xor eax, eax
inc eax
jmp 0x455f8f
mov edi, dword [ebp + 0x18]
xor ebx, ebx
inc ebx
push 0
push edi
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00459283
test eax, eax
jne 0x455f05
mov eax, dword [ebp + 0xc]
cmp eax, 0x113
jne 0x455f98
lea eax, [esi + 0x390]
mov dword [esp + 0xc], eax
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.004573e4
and dword [edi], 0
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
jne 0x455f05
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x110
jne 0x455fbe
lea eax, [esi + 0x390]
mov dword [eax], ebx
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, esp
mov dword [eax], ecx
mov eax, esi
call fcn.00457252
mov dword [edi], eax
jmp 0x455f80
cmp eax, 0x83
jne 0x455fe7
xor eax, eax
cmp dword [ebp + 0x10], eax
mov dword [esi + 0x390], ebx
je 0x455fdc
push dword [ebp + 0x14]
mov eax, esi
call fcn.00459151
mov dword [edi], eax
cmp dword [esi + 0x390], 0
jmp 0x455f87
cmp eax, 0x112
jne 0x45600f
mov eax, dword [ebp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [esi + 0x390], ebx
call fcn.00457953
and dword [edi], 0
jmp 0x455fde
cmp eax, 0x403
jne 0x45602a
lea eax, [esi + 0x390]
push esi
mov dword [esp + 0x10], eax
mov dword [eax], ebx
call fcn.00457e1d
jmp 0x455fba
cmp eax, 0x406
jne 0x45604f
lea eax, [esi + 0x390]
mov edi, esi
mov dword [esp + 0xc], eax
mov dword [eax], ebx
call fcn.004575c3
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x455f80
cmp eax, 0x408
jne 0x456078
lea edi, [esi + 0x390]
mov dword [edi], ebx
mov ebx, esi
call fcn.004584d1
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [edi], 0
je 0x455f8d
jmp 0x455f38
cmp eax, 0x409
jne 0x4560a7
push 0
push dword [esi + 4]
mov dword [esi + 0x390], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x403
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x45600a
cmp eax, 0x40a
jne 0x455f8d
cmp dword [esi + 0x8fc], 0
lea eax, [esi + 0x390]
mov dword [esp + 0xc], eax
mov dword [eax], ebx
je 0x4560d5
mov edi, esi
call fcn.004575c3
mov edi, dword [ebp + 0x18]
mov eax, dword [esp + 0xc]
and dword [edi], 0
jmp 0x455f84
Function at 0x4566c2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
and word [ebp - 0x400], 0
push 0x3fe
lea eax, [ebp - 0x3fe]
push 0
push eax
call fcn.004923b0
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x400]
push 0x200
push eax
push str.http:__wpa.b.qq.com_cgi_wpa.php_ln1keyXzgwMDA0MjEwMF8yMzc1NzlfODAwMDQyMTAwXzJf
push str.MarketQQLink
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
lea eax, [ebp - 0x400]
push eax
mov eax, dword [ebp + 8]
call fcn.004019de
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x456e1f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
xor eax, eax
push edi
push 0x208
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004923b0
add esp, 0xc
push 0x20019
push str.SOFTWAREliebao
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
call fcn.00411832
test eax, eax
jne 0x456f17
push str.Install_Path_Dir
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x218]
call fcn.004117cb
test eax, eax
jne 0x456f17
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, edi
push eax
lea eax, [ebp - 8]
call fcn.004019de
push str.liebao.exe
lea eax, [ebp - 8]
push eax
call fcn.0040554e
push dword [ebp - 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x456ee9
mov eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401b70
push str.LBBrowserliebao.exe
lea eax, [ebp - 8]
push eax
call fcn.0040554e
push dword [ebp - 8]
call esi
test eax, eax
je 0x456ef0
mov dword [ebp - 0xc], 1
xor esi, esi
cmp dword [ebp - 4], esi
je 0x456f03
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
cmp dword [ebp - 0xc], esi
jne 0x456fa4
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004923b0
add esp, 0xc
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallliebao
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
call fcn.00411832
test eax, eax
jne 0x456fa4
push str.UninstallString
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 8]
lea edi, [ebp - 0x218]
call fcn.004117cb
test eax, eax
jne 0x456fa4
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.liebao.exe
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456f91
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x456fb3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x456fb3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456fbb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x212]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x214], bx
call fcn.004923b0
add esp, 0xc
push 0x20019
push str.SOFTWAREBaiduBaiduPlayer
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0x104
call fcn.00411832
test eax, eax
jne 0x457042
push esi
push edi
push str.InstallExe
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x214]
call fcn.004117cb
test eax, eax
pop edi
pop esi
jne 0x457042
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457042
mov dword [ebp - 8], 1
cmp dword [ebp - 4], ebx
pop ebx
je 0x457051
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x457252
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
and dword [esp + 4], 0
push ebx
mov ebx, dword [0x5199e8]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov esi, eax
call edi
push eax
push 0xb
call edi
push eax
push 1
mov edi, 0x80
push edi
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push ebp
push 1
push edi
push dword [esi + 4]
call ebx
push ebp
xor ebp, ebp
push ebp
push edi
push dword [esi + 4]
call ebx
push str.1509
mov edi, 0x51b7e8
push edi
call fcn.0040cfc8
test eax, eax
je 0x4572c4
push str.1335
push edi
call fcn.0040cfc8
test eax, eax
jne 0x457300
push 0x19
call fcn.0042663f
test eax, eax
pop ecx
jne 0x4572f8
push 0x10
call fcn.0042663f
test eax, eax
pop ecx
jne 0x4572f8
push ecx
call fcn.0043c2d4
mov edi, esp
call fcn.0044bcd5
call fcn.0042676e
test eax, eax
pop ecx
je 0x4572f8
xor eax, eax
inc eax
jmp 0x4572fa
xor eax, eax
mov dword [esi + 0x7f8], eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 3
push ebp
push ebp
push ebp
push ebp
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esi + 0x7fc]
push eax
lea edi, [esi + 0x24]
push 0x12d
mov eax, edi
call fcn.0045950a
lea eax, [esi + 0x38c]
push eax
push 0x67
mov eax, edi
call fcn.0045950a
cmp dword [esi + 0x8fc], ebp
jne 0x45736a
push ebp
push 0x1e
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, esi
call fcn.004570ca
test eax, eax
je 0x45738d
push ebp
push ebp
push 0x40a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x14], 1
push 0xc
call fcn.00470e64
cmp eax, ebp
pop ecx
jne 0x45739d
xor esi, esi
jmp 0x4573c1
push ebp
push ebp
push eax
push 0x41e95e
push ebp
push ebp
mov dword [eax], vtable.KAvVirusDetect.0
mov dword [eax + 8], ebp
mov dword [eax + 4], 0x41e8ca
call fcn.00494c82
add esp, 0x18
mov esi, eax
mov eax, dword [0x515f1c]
cmp eax, ebp
je 0x4573d1
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
mov dword [0x515f1c], esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x458195
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.initInfoc...
mov esi, 0x51b95c
call fcn.0044cc8c
pop ecx
push 0x32
call fcn.00470e64
mov edi, eax
test edi, edi
pop ecx
je 0x4581c3
call fcn.004816e8
mov dword [edi], vtable.KDubaPacket::KInstallBlock.0
jmp 0x4581c5
xor edi, edi
call fcn.00425eb7
test edi, edi
mov dword [0x51b84c], eax
je 0x458221
push 0xc
call fcn.00470e64
test eax, eax
pop ecx
jne 0x4581e3
xor edi, edi
jmp 0x45820b
push 0
push 0
push eax
push 0x41e95e
push 0
push 0
mov dword [eax], vtable.KEvent.0
mov dword [eax + 8], edi
mov dword [eax + 4], 0x456159
call fcn.00494c82
add esp, 0x18
mov edi, eax
mov eax, dword [0x515f30]
test eax, eax
je 0x45821b
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [0x515f30], edi
push str.initInfoc_end
call fcn.0044cc8c
pop ecx
pop edi
pop esi
pop ecx
ret

Function at 0x458230
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push edi
push 0
push 0xcc
lea eax, [esi + 0x24]
call fcn.0045946f
push dword [esi + 0x740]
push dword [esi + 0x7c4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esp + 8]
mov eax, esi
call fcn.004589cd
push 1
lea edi, [esi + 0x79c]
push edi
call fcn.0041e5a3
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x7c4]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
add esp, 0x18
ret
Function at 0x458301
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, eax
xor eax, eax
mov dword [ebp - 0xc], eax
push edi
push dword [esi + 0x7c4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x458389
mov eax, dword [0x519a54]
mov ecx, 0x519a54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea edi, [esi + 0x798]
lea eax, [ebp - 8]
call fcn.00451d44
lea ecx, [esi + 0x388]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax]
test eax, eax
jne 0x458370
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
jmp 0x4584ba
lea edi, [esi + 0x740]
lea eax, [ebp - 8]
call fcn.0040208c
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
lea edi, [esi + 0x740]
mov eax, dword [edi]
push 3
pop ebx
cmp dword [eax - 0xc], ebx
jle 0x4583bc
mov ecx, ebx
lea edx, [ebp - 8]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.00401ad2
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, ebx
mov byte [ebp - 1], 0
je 0x4583c0
mov byte [ebp - 1], 1
test byte [ebp - 0xc], 1
je 0x4583d1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
cmp byte [ebp - 1], 0
je 0x458413
mov eax, 0xe0000021
call fcn.004256a0
push 2
push 2
push 0x4ed1fc
push 0
push 0x4fd798
call fcn.00403216
add esp, 0x14
mov eax, esi
call fcn.00458ca1
push dword [esi + 4]
lea edi, [esi + 0x39c]
call fcn.0045171b
jmp 0x4584ba
mov ecx, ebx
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.00401ad2
push dword [eax]
call fcn.0041f946
mov ebx, eax
mov eax, dword [ebp - 0xc]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.0040153b
test bl, bl
je 0x45847a
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00458289
mov eax, dword [eax]
push 2
push 3
push 0x4fd7b8
push 0x4ed244
push eax
call fcn.00403216
mov ebx, eax
mov eax, dword [ebp - 0xc]
add esp, 0x14
add eax, 0xfffffff0
call fcn.0040153b
test bl, 1
jne 0x45847a
call fcn.00458230
jmp 0x4584ba
push edi
lea ebx, [ebp - 0x20]
call fcn.0041f820
push dword [edi]
call fcn.00423928
test eax, eax
pop ecx
jne 0x4584b3
mov eax, 0xe0000021
call fcn.004256a0
push 2
push 2
push 0x4ed1fc
push 0
push 0x4fd798
call fcn.00403216
add esp, 0x14
jmp 0x4584ba
mov dword [ebp - 0x10], 1
mov eax, esi
call fcn.00458ca1
lea esi, [ebp - 0x20]
call fcn.00405f01
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4584d1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x519a54]
push esi
push edi
mov ecx, 0x519a54
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea edi, [ebx + 0x798]
lea eax, [ebp - 4]
call fcn.00451d44
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
je 0x45856c
lea edi, [ebx + 0x740]
lea eax, [ebp - 4]
call fcn.0040208c
mov eax, edi
call fcn.004053c9
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [ebp - 8]
mov eax, edi
call fcn.00401ad2
push dword [eax]
lea ecx, [ebx + 0x24]
mov esi, 0xcc
push esi
mov eax, ecx
call fcn.004592b4
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040153b
push dword [edi]
lea edi, [ebx + 0x24]
push 0x4edec0
push esi
push edi
call fcn.0045935a
push 0
push dword [ebx + 0x79c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push esi
mov eax, edi
call fcn.0045946f
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040153b
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x459534
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x51a990]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], ebp
je 0x459551
mov esi, dword [eax + 4]
jmp 0x459553
xor esi, esi
cmp esi, ebp
jne 0x459563
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebp
je 0x459588
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x459588
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x459588
push ebp
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], ebp
push esi
mov ebx, edi
mov dword [eax], ebp
call fcn.0045a19a
mov ebx, eax
cmp ebx, ebp
jne 0x4595b1
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x45968d
mov edx, ebx
call fcn.0040b203
mov dword [esp + 0x20], eax
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0040b0b6
cmp dword [edi + 0x36c], ebp
je 0x45963b
push ebp
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push ebp
push ebp
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push ebp
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x45961e
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x14]
je 0x45963b
push ebp
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.00488ed6
push 0x97
push ebp
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x378], ebp
call fcn.0041e79c
cmp dword [esp + 0x1c], ebp
je 0x459679
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebp
je 0x459679
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x459679
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0040b203
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret