joyce8/EMBER2024-capa huggingface dataset:
Function at 0x640840
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058ae90
add esp, 4
mov ebx, eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x640880
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.00447250
push ebx
call fcn.0058ac7a
add esp, 4
pop esi
pop ebx
pop ebp
ret 8

Function at 0x642390
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 8
lea eax, [edi + 0x2c]
jb 0x6423a0
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3ed
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi + 0x58], 8
lea ecx, [edi + 0x44]
jb 0x6423c3
mov ecx, dword [ecx]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi + 0x70], 8
lea ecx, [edi + 0x5c]
jb 0x6423e1
mov ecx, dword [ecx]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi + 0x88], 8
lea ecx, [edi + 0x74]
jb 0x642402
mov ecx, dword [ecx]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
cmp dword [edi + 0x8c], eax
setne al
inc eax
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push 1
or eax, 1
push eax
push 0xf4
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0x3ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x24], eax
cmp byte [edi + 0xa8], 0
jne 0x64246e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x6424b1
cmp dword [edi + 0x28], 0
jne 0x64248c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.006422c0
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x28]
mov ecx, edi
call fcn.006422f0
push 0
push 0x3e8
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x30
push 0x30
push 1
push 0x8b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push 0x3ef
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push esi
push 0x170
push eax
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push 0
push 0
push 0xd
push 0xd
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
lea ecx, [edi + 4]
call fcn.00473980
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x64b800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689838
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x78a6d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x10]
mov dword [ebx], vtable.CDownloaderCLI.0
push ecx
mov dword [ebx + 4], vtable.CAppReturnCode.0
mov byte [ebx + 8], 0
mov dword [ebx + 0xc], 1
call fcn.006290f0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
push 0x38
mov byte [ebp - 4], 3
call fcn.0058a8a1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
sub esp, 8
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.005ff930
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0x30]
mov dword [ebx + 0x30], eax
test edi, edi
je 0x64b8ab
mov eax, dword [edi]
push 1
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6926b4]
mov ecx, edi
call esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x64b8c4
push 0
push 0
push eax
push str.CCEvent
push 0x45
push 0x21
jmp 0x64b8f8
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 4]
lea eax, [ebp - 0xd]
push eax
lea eax, [ebx + 0x34]
mov ecx, esi
push eax
push ebx
call dword [0x6926b4]
mov ecx, edi
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x64b90a
push 0
push 0
push eax
push str.IDownloaderActorTaskFactory::createDownloaderActorTask
push 0x45
push 0x2b
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnDownloaderDownloaderCLI.cpp
push str.CDownloaderCLI::CDownloaderCLI
call fcn.00612830
add esp, 0x20
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x64c9e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68996c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x78a6d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea ebx, [esi + 0x20]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.IDownloaderActorTaskSyncCB.0
mov dword [esi], vtable.CDownloaderDlg.0
lea ecx, [esi + 0x40]
mov dword [ebx], vtable.CDownloaderDlg.1.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
push ecx
mov dword [esi + 0x34], vtable.CAppReturnCode.0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 1
call fcn.006290f0
lea edx, [esi + 0x64]
mov word [esi + 0x60], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
mov eax, dword [ebp - 0x10]
add eax, 0x62
push eax
push edx
push ebx
call dword [0x6926b4]
mov ecx, edi
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x64cada
push 0
push 0
push eax
push str.IDownloaderActorTaskFactory::createDownloaderActorTask
push 0x45
push 0x2e
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnDownloaderDownloaderDlg.cpp
push str.CDownloaderDlg::CDownloaderDlg
call fcn.00612830
add esp, 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x65cf30
Capabilities:
Shutdown system

Disassembly:
mov ecx, str.SeShutdownPrivilege
call fcn.0060a3a0
test al, al
jne 0x65cf5c
push str.CWinsecApiUtil::GetNamedPriv_failed
push 0x45
push 0xa8
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnDownloaderDownloaderUtl.cpp
push str.PerformReboot
call fcn.006129f0
add esp, 0x14
push 0x40002
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x65cf94
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::ExitWindowsEx
push 0x45
push 0xaf
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnDownloaderDownloaderUtl.cpp
push str.PerformReboot
call fcn.00612830
add esp, 0x20
ret
Function at 0x660730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b8f4
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x78a6d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareCiscoCisco_Secure_ClientUpgrades
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x660798
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
test eax, eax
je 0x6607b3
push 0
push 0
push eax
push str.CRegKey::Create
push 0x57
push 0x419
jmp 0x6607e1
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push 4
push 0
push str.UpdateComplete
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x6607f3
push 0
push 0
push eax
push str.CRegKey::SetDWORDValue
push 0x57
push 0x423
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnDownloaderInstallTask.cpp
push str.CInstallTask::setUpgradesRegKey
call fcn.00612830
add esp, 0x20
test esi, esi
je 0x6607fe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x678860
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
push dword [ebx + 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push dword [ebx + 0x84]
lea edi, [eax + 1]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov ebx, 2
lea esi, [eax + 1]
mov eax, edi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058ae90
mov dword [ebp - 8], eax
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058ae90
add esp, 8
mov ebx, eax
mov eax, dword [ebp - 4]
push edi
push dword [ebp - 8]
push dword [eax + 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x6788fe
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6788e1
sub ecx, dword [ebp - 0xc]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 4]
push edx
lea ecx, [ecx + 0x50]
call fcn.00447250
mov eax, dword [ebp - 4]
push esi
push ebx
push dword [eax + 0x84]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x67893c
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x678920
mov ecx, dword [ebp - 4]
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ecx + 0x68]
call fcn.00447250
mov ecx, dword [ebp - 8]
mov eax, ecx
test edi, edi
je 0x678950
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x678945
push ecx
call fcn.0058ac7a
add esp, 4
mov eax, ebx
test esi, esi
je 0x67896b
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub esi, 1
jne 0x678960
push ebx
call fcn.0058ac7a
mov eax, dword [ebp - 4]
add esp, 4
push 0x3f6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ed60
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x465940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
call dword [0x429858]
lea ebx, [edi + 0x20]
mov dword [ebp - 4], 0
push 0
mov ecx, ebx
mov dword [edi], vtable.ShakeDialog.0
mov dword [edi + 8], vtable.ShakeDialog.1.0
mov dword [ebp - 0x1c], ebx
call dword [0x4293b4]
push 8
mov byte [ebp - 4], 1
mov dword [ebx], vtable.ShakeWorker.0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call fcn.0041eb0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push ebx
mov ecx, esi
mov byte [ebp - 4], 2
call dword [0x429334]
mov dword [esi], vtable.QThread.0
mov ecx, ebx
push esi
mov byte [ebp - 4], 1
mov dword [ebx + 8], esi
call dword [0x429340]
mov ecx, dword [ebx + 8]
push 7
call dword [0x42932c]
push edi
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov byte [edi + 0x30], 0
call fcn.0040f480
mov esi, dword [0x42987c]
mov ecx, edi
push 0xb
call esi
push 2
mov ecx, edi
call esi
push 7
mov ecx, edi
call dword [0x429880]
push 0x40812
mov ecx, edi
call dword [0x429868]
push 1
push 0x78
mov ecx, edi
call dword [0x429864]
push 0xc
mov dword [ebp - 0x14], fcn.0040f2f0
mov dword [ebp - 0x24], fcn.0041caa0
mov dword [ebp - 0x20], 0
call fcn.0041eb0d
push 0x464e60
push 0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
push 0
push eax
mov dword [eax], 1
mov dword [eax + 4], 0x402ec0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
mov edi, dword [0x42933c]
call edi
mov esi, dword [0x4293dc]
lea ecx, [ebp - 0x18]
add esp, 0x28
call esi
push 0x10
mov dword [ebp - 0x24], fcn.0040f370
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], fcn.0041cac0
call fcn.0041eb0d
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push 0x464e48
push 0
mov dword [eax], 1
push 0
push eax
mov dword [eax + 4], 0x40b7f0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call edi
add esp, 0x28
lea ecx, [ebp - 0x14]
call esi
push 0x10
mov dword [ebp - 0x24], 0x40f2e0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x41ca80
call fcn.0041eb0d
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
push 0x464e48
push 0
mov dword [eax], 1
push 0
push eax
mov dword [eax + 4], 0x4050c0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
call edi
add esp, 0x28
lea ecx, [ebp - 0x14]
call esi
mov ebx, dword [ebp - 0x10]
push ecx
mov eax, esp
mov dword [eax], 0x84
mov ecx, dword [ebx + 0x1c]
call dword [0x429840]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411b50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4264a6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push edi
mov eax, dword [0x465940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
call dword [0x429858]
lea ecx, [edi + 0x34]
mov dword [ebp - 4], 0
mov dword [edi], vtable.VersionDialog.0
mov dword [edi + 8], vtable.VersionDialog.1.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call dword [0x4293cc]
push 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 1
call dword [0x429290]
push edi
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
call fcn.00412e50
push 0xb
mov ecx, edi
call dword [0x42987c]
push 2
mov ecx, edi
call dword [0x42987c]
push 7
mov ecx, edi
call dword [0x429880]
push 0x812
mov ecx, edi
call dword [0x429868]
push 1
push 0x78
mov ecx, edi
call dword [0x429864]
lea eax, [ebp - 0x18]
push eax
call fcn.00405130
mov ecx, eax
call fcn.00418be0
mov ecx, eax
call dword [0x429894]
mov eax, dword [ebp - 0x14]
mov ecx, edi
push 0x104
add eax, 0xbe
push 0x122
push eax
mov eax, dword [ebp - 0x18]
add eax, 0xa0
push eax
call dword [0x429870]
mov ecx, edi
call fcn.00411da0
mov ecx, edi
call fcn.004122f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x415e70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push 0
push 0
push 0
push 0
push str.VsyDownload_1.0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 0
call dword [0x429974]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x415fbd
push esi
push edi
push 0
push 0x84000002
push 0
push 0
push dword [ebp + 8]
push ebx
call dword [0x429970]
mov esi, eax
test esi, esi
je 0x415ee3
mov edi, dword [0x42996c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 0x20000013
push esi
call edi
test eax, eax
jne 0x415ef5
mov dword [ebp + 8], eax
push ebx
call dword [0x429964]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 8], 0xc8
jne 0x415ee3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push esi
call edi
test eax, eax
jne 0x415f1b
mov dword [ebp - 4], eax
jmp 0x415f1e
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.0041eeb2
mov ecx, dword [ebp - 4]
mov edi, eax
inc ecx
mov dword [ebp - 0x14], edi
push ecx
push 0
push edi
call fcn.00423ce8
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
je 0x415f43
mov dword [eax], edi
mov ebx, dword [ebp - 0x14]
xor edi, edi
nop dword [eax + eax]
push 0
mov dword [ebp - 0x10], 0
call dword [0x429038]
mov eax, dword [ebp - 4]
mov ecx, 0x400
sub eax, edi
cmp eax, 0x400
cmovae eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [edi + ebx]
push eax
push esi
call dword [0x429968]
mov eax, dword [ebp - 0x10]
add edi, eax
test eax, eax
jne 0x415f50
push esi
mov esi, dword [0x429964]
call esi
mov ebx, dword [ebp - 0x18]
push ebx
call esi
cmp dword [ebp + 0xc], 0
jne 0x415faa
push dword [ebp - 0x14]
call fcn.0041eebb
add esp, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426f70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x465940]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x417751
mov byte [ebp - 0x11], 1
test eax, eax
jne 0x417755
mov byte [ebp - 0x11], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [ebp + 8]
push 8
push 0x20
call dword [0x4292c4]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x41777e
call dword [0x4292cc]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
shl ebx, 5
add ebx, eax
lea edx, [eax + ecx]
add ebx, ecx
mov eax, dword [edi + 0xc]
add eax, edi
cmp byte [ebp - 0x11], 0
je 0x417829
cmp edx, ebx
je 0x41783b
nop
mov edi, eax
mov esi, edx
add eax, 0x20
add edx, 0x20
push esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call dword [0x429354]
mov edx, dword [esi + 4]
xor edx, dword [edi + 4]
and edx, 1
xor edx, dword [edi + 4]
mov dword [edi + 4], edx
mov ecx, dword [esi + 4]
xor ecx, edx
and ecx, 2
xor ecx, edx
mov dword [edi + 4], ecx
mov eax, dword [esi + 4]
xor eax, ecx
and eax, 4
xor eax, ecx
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x18]
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x18]
push eax
call dword [0x429138]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp edx, ebx
jne 0x4177b0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
jmp 0x417839
sub ebx, edx
and ebx, 0xffffffe0
push ebx
push edx
push eax
call fcn.00423cd6
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [edi + 8]
xor eax, dword [ecx + 8]
and eax, 0x7fffffff
xor eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi]
mov eax, dword [ecx]
test eax, eax
je 0x417868
cmp eax, 0xffffffff
je 0x41788e
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x41788e
cmp dword [ebp + 8], 0
je 0x417885
cmp byte [ebp - 0x11], 0
jne 0x417885
push 8
push 0x20
push dword [esi]
call dword [0x4292c0]
add esp, 0xc
jmp 0x41788e
push dword [esi]
mov ecx, esi
call fcn.00417680
mov dword [esi], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f599
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x42906c]
test eax, eax
je 0x41f5d8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5d8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5d8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5d8
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5d8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219