joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51dea0
Capabilities:
Terminate process

Disassembly:
test byte [0x5cc2e8], 0x20
jne 0x51debe
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x51df1e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x51df18
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x51df11
cvttss2si ebx, dword [0x532bec]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x51df37
test ecx, ecx
je 0x51dee8
call 0x51dee8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x51df3f
ja 0x51df3f
test eax, eax
je 0x51df47
cvttss2si ecx, dword [0x532be8]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x51e623
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x51e662
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51e662
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51e662
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x51e662
cmp dword [ecx + 0x74], 0xe
jbe 0x51e662
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x52adc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52aded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52aded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x12ce584f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, str._aLe
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4ced2507
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x60cb7299
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x37760b0b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013e5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp word [esi], bx
je 0x40151e
push esi
push str.GetDriverInfoReg__s_...
push 3
call fcn.0044c79b
push esi
lea eax, [ebp - 0x610]
push str.SYSTEMCurrentControlSetControlClass_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
test byte [0x4a35f8], 1
mov dword [ebp + 8], ebx
jne 0x40144a
or dword [0x4a35f8], 1
mov eax, dword [0x50872c]
neg eax
sbb eax, eax
and eax, 0x100
inc eax
mov dword [0x4a35f4], eax
jmp 0x40144f
mov eax, dword [0x4a35f4]
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
lea eax, [ebp - 0x610]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401509
cmp dword [ebp + 8], ebx
je 0x401509
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.InfPath
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x4014e1
push 0x5c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x4014cb
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4014e1
push 0x508830
push str._sinf_s
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push ebx
push str.DriverDate
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40151e
call fcn.00449d52
push eax
push str._err_S
push 2
call fcn.0044c79b
add esp, 0xc
pop esi
pop ebx
leave
ret 0xc
Function at 0x4020bb
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
je 0x4021e7
cmp dword [edi + 8], ebx
je 0x4021e7
cmp dword [0x509678], ebx
jne 0x4021e7
mov si, word [ebp + 8]
push 0x3a
pop eax
push 0x5c
mov word [ebp - 6], ax
pop eax
mov word [ebp - 4], ax
xor eax, eax
push 0x66
mov word [ebp - 2], ax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov word [ebp - 8], si
call fcn.00446b72
add esp, 0xc
push 0x34
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x40214a
call fcn.00449d30
push eax
lea eax, [ebp - 8]
push eax
movzx eax, si
push eax
push str.CheckNewDriveLetter__c___GetVolumeNameForVolumeMountPoint__s___err_s
push 4
call fcn.0044c79b
add esp, 0x14
jmp 0x4021e7
mov eax, dword [edi + 8]
push dword [eax]
lea eax, [ebp - 0x70]
push eax
movzx eax, si
push eax
push str.CheckNewDriveLetter__c_...____vn_s__c_i
push 4
call fcn.0044c79b
mov eax, dword [edi + 8]
add esp, 0x14
cmp dword [eax], ebx
jle 0x4021d9
mov esi, dword [eax + ebx*4 + 4]
test esi, esi
je 0x4021d1
cmp dword [0x515894], 4
jl 0x4021a8
lea eax, [esi + 0x930]
push eax
lea eax, [esi + 0x848]
push eax
push dword [esi + 0x840]
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
push str._Volumes__2i__used_i_present_i_devnum__2i_vn_s_mp_s
push 4
call fcn.0044c79b
add esp, 0x20
xor eax, eax
cmp dword [esi + 8], eax
je 0x4021d1
cmp dword [esi + 0xc], eax
je 0x4021d1
cmp dword [esi + 0x840], eax
je 0x4021d1
lea eax, [ebp - 0x70]
push eax
lea eax, [esi + 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4021f0
mov eax, dword [edi + 8]
inc ebx
cmp ebx, dword [eax]
jl 0x40216d
push str._not_found_in_list
push 4
call fcn.0044c79b
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov ecx, esi
call fcn.00406560
mov ecx, dword [0x50b36c]
push 1
push dword [esi + 0x14]
call fcn.00407e95
mov edi, eax
test edi, edi
je 0x40222a
push 1
mov ecx, edi
call fcn.0040b3b9
push edi
call fcn.00432d07
test eax, eax
jne 0x40222a
push str.cndl
call fcn.0043b6d2
cmp dword [0x4a0b18], 0
je 0x402250
mov ecx, dword [0x50b36c]
push 0
push dword [esi + 0x10]
call fcn.00407e95
test eax, eax
je 0x402250
push 1
mov ecx, eax
call fcn.0040b3b9
lea eax, [esi + 0x18]
jmp 0x4021e9
Function at 0x402948
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push dword [ebp + 8]
call fcn.00401d13
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x402a39
push ebx
push edi
lea edi, [esi + 0x10a8]
mov dword [ebp + 8], eax
cmp word [edi], ax
jne 0x4029e6
cmp word [esi + 0xc30], ax
je 0x4029e6
mov ebx, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x104
push edi
lea eax, [esi + 0xc38]
push eax
call ebx
test eax, eax
jne 0x4029e6
push 0x451374
lea eax, [esi + 0xc30]
push eax
call fcn.00428441
test eax, eax
je 0x4029e6
lea eax, [esi + 0xc30]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x451138
push 0x451374
lea eax, [ebp - 0x208]
push eax
call fcn.0042910f
push 0x104
push edi
lea eax, [ebp - 0x200]
push eax
call ebx
cmp word [edi], 0
mov ebx, dword [ebp + 0xc]
je 0x4029fe
push edi
call fcn.0042a955
mov dword [ebx], eax
mov dword [ebp + 8], 1
lea eax, [esi + 0x13b0]
cmp word [eax], 0
je 0x402a19
push eax
call fcn.0042a955
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
mov dword [ebx + ecx*4], eax
add esi, 0x1330
cmp word [esi], 0
je 0x402a34
push esi
call fcn.0042a955
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
mov dword [ebx + ecx*4], eax
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop esi
leave
ret 0xc
Function at 0x402e27
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa1c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 8], 0
push edi
je 0x402fe6
cmp dword [0x515894], 4
jl 0x402e66
lea eax, [esi + 0xc30]
push eax
lea eax, [esi + 0xfc8]
push eax
push str.CDevList::CheckForChangedComPort_ddn_s_devpath_s
push 4
call fcn.0044c79b
add esp, 0x10
push 0x451584
lea ebx, [esi + 0xfc8]
push ebx
call fcn.0042838f
test eax, eax
je 0x402fe6
lea edi, [esi + 0x13b0]
cmp word [edi], 0
je 0x402fe6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00446b72
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push edi
lea eax, [ebp - 0x20c]
push eax
push str.newkn_s_oldkn_s
push 4
call fcn.0044c79b
add esp, 0x10
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x402fe6
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
push dword [esi + 4]
push str.Devs__i__DosDeviceName_s_ComKernelName_s__now_ComKernelName_s_____re_check
push 3
call fcn.0044c79b
push str.Device_Parameters
lea eax, [esi + 0xe38]
push eax
push str.SystemCurrentControlSetEnum
lea eax, [ebp - 0x60c]
push 0x4514a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
push 0x40
push ebx
push str.PortName
lea eax, [ebp - 0x60c]
push eax
push 0x80000002
call fcn.00427c75
test eax, eax
je 0x402fe6
push ebx
push str.new_res_PortName_s
push 4
call fcn.0044c79b
add esp, 0xc
push 0x208
lea eax, [ebp - 0xa1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x402fe6
lea eax, [ebp - 0xa1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push ebx
push dword [esi + 4]
push str.Devs__i__new_DosDeviceName_s_ComKernelName_s
push 3
call fcn.0044c79b
add esp, 0x14
push 0
lea eax, [ebp + 8]
push eax
lea edi, [esi + 0x1738]
push edi
lea eax, [ebp - 4]
push eax
push 0xd
push dword [esi + 0x10]
mov dword [ebp + 8], 0x100
call dword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_Registry_PropertyW]
push 0x451448
push edi
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
mov ecx, dword [0x50b36c]
push 0
push dword [esi + 0x10]
call fcn.00407e95
test eax, eax
je 0x402fe1
push 1
mov ecx, eax
call fcn.0040b3b9
xor eax, eax
inc eax
jmp 0x402fe8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40501e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
push 0x1c
pop esi
mov dword [ebp - 0x14], ecx
push 6
pop ebx
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x60]
mov dword [ebp - 0x64], esi
rep stosd dword es:[edi], eax
mov ecx, ebx
mov edx, 0x478f48
mov dword [ebp - 0x464], ebx
lea edi, [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x4509dc
mov dword [ebp - 0x20], 0x478f58
mov dword [ebp - 0x1c], 0x478fa8
rep stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edx
push 0x12
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x4051ee
lea eax, [ebp - 0x48]
push eax
push ebx
jmp 0x4051d0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x400
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
je 0x4051c6
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
call fcn.00401afc
mov esi, eax
cmp esi, ebx
je 0x4051c6
lea eax, [ebp - 0x460]
push eax
lea edi, [esi + 0xc30]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jbe 0x405112
push 0x40
lea eax, [esi + 0x12b0]
push eax
lea eax, [esi + 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, dword [ebp - 4]
cmp edi, 3
jg 0x40516e
lea eax, [ebp - 0x460]
push eax
call fcn.0042dc15
cmp edi, ebx
mov dword [esi + 0x3a30], eax
jl 0x40514b
xor ecx, ecx
inc ecx
cmp edi, ecx
jle 0x405145
push 2
pop ecx
cmp edi, ecx
je 0x405145
push 3
pop ecx
cmp edi, ecx
jne 0x40514b
mov dword [esi + 0x3a34], ecx
push eax
mov eax, dword [esi + 0x3a34]
push dword [eax*4 + 0x4a0018]
lea eax, [esi + 0x1088]
push str._S_i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
cmp edi, ebx
jl 0x4051a4
cmp edi, 1
jle 0x405189
cmp edi, 2
jne 0x4051a4
push dword [esi + 0x3a30]
push str..CdRom_i
jmp 0x405194
push dword [esi + 0x3a30]
push str..PhysicalDrive_i
lea eax, [esi + 0x1048]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esi + 0x1048]
cmp word [eax], bx
je 0x4051bf
push 0x40
add esi, 0x1330
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x40509e
push dword [ebp - 0xc]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x405078
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40536b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push edi
push dword [ebp + 8]
mov edi, ecx
push str.FindNewChildDevices__i_...
xor ebx, ebx
push 4
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
call fcn.0044c79b
add esp, 0xc
cmp dword [edi + 0x400c], ebx
mov dword [ebp - 0x14], ebx
jle 0x40550a
lea eax, [edi + 0xc]
mov dword [ebp - 0xc], eax
push esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
cmp esi, ebx
je 0x4054f3
cmp dword [esi], ebx
je 0x4054f3
cmp dword [esi + 8], ebx
je 0x4054f3
cmp dword [0x50b3bc], ebx
jne 0x4053da
cmp dword [esi + 0x3a38], ebx
jne 0x4054f3
lea edi, [esi + 0xe38]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x24]
push eax
push edi
push dword [esi + 0x10]
push str._thinking_of__u___s____u
push 4
call fcn.0044c79b
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x24]
cmp eax, 0x2710
jae 0x4054f0
push edi
push dword [esi + 0x10]
push 0x4526d4
push 4
call fcn.0044c79b
add esp, 0x10
push ebx
push dword [esi + 0x10]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.CFGMGR32.dll_CM_Get_Child]
test eax, eax
jne 0x4054f0
push ebx
push 0xc8
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 4]
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_IDW]
test eax, eax
jne 0x4054dd
push dword [ebp - 4]
lea eax, [ebp - 0x1a4]
push eax
call fcn.00401354
test eax, eax
jne 0x4054dd
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00401afc
mov esi, eax
cmp esi, ebx
je 0x405492
cmp dword [esi + 8], ebx
je 0x40548b
mov eax, 0x4526d0
jmp 0x405497
mov eax, 0x4526cc
jmp 0x405497
mov eax, 0x4526c8
push eax
push esi
push dword [ebp - 4]
push str._DevInstChild_u_pDevChild0x_08Ix_pDevChild__IsPresent_S
push 4
call fcn.0044c79b
add esp, 0x14
cmp esi, ebx
je 0x4054b4
cmp dword [esi + 8], ebx
jne 0x4054dd
cmp dword [ebp + 8], ebx
je 0x4054ca
push ebx
push ebx
push dword [ebp - 4]
push 0x451138
call fcn.0043dc29
jmp 0x4054dd
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
push ebx
call fcn.00404506
test eax, eax
je 0x4054dd
inc dword [ebp - 0x10]
push ebx
push dword [ebp - 4]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.CFGMGR32.dll_CM_Get_Sibling]
jmp 0x405435
mov edi, dword [ebp - 8]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 4
cmp eax, dword [edi + 0x400c]
jl 0x4053a8
pop esi
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
Function at 0x405dc1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x405f54
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x200
lea eax, [ebp - 0xc08]
push eax
push dword [ebp + 0x14]
call fcn.0042aac9
push 0x7fe
lea eax, [ebp - 0x804]
push 0
push eax
mov dword [ebp - 0x808], 0x20
call fcn.00446b72
add esp, 0xc
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x806]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
inc eax
cmp eax, 0x124
jl 0x405e64
push str.CStatusText::PrintfStatusText
push 0x58
push str..CStatusText.cpp
push str.INT3_in__S_line__u__function__S
push 1
call fcn.0044c79b
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov word [ebp - 0x5c2], ax
cmp dword [0x515894], 4
jl 0x405e84
lea eax, [ebp - 0x808]
push eax
push ebx
push str.STATUS__u_:__s
push 4
call fcn.0044c79b
add esp, 0x10
push edi
lea eax, [ebp - 0x808]
push eax
push dword [esi + ebx*4 + 4]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp word [ebp - 0x808], 0
mov dword [esi + ebx*4 + 0x2c], eax
jne 0x405edc
or ebx, 0xffffffff
call edi
mov ecx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
test ecx, ecx
jle 0x405edc
lea edx, [esi + 0x2c]
mov edi, dword [edx - 0x28]
cmp word [edi], 0
je 0x405ed4
mov edi, dword [edx]
sub edi, dword [ebp + 8]
cmp edi, 0xffffffff
jae 0x405ed4
mov ebx, eax
inc eax
add edx, 4
cmp eax, ecx
jl 0x405ebf
and dword [ebp - 4], 0
pop edi
test ebx, ebx
jl 0x405f1b
cmp dword [0x515894], 5
jl 0x405f04
push dword [esi + ebx*4 + 4]
push dword [ebp + 0xc]
push str.SB_SETTEXT__i___s
push 5
call fcn.0044c79b
add esp, 0x10
push dword [esi + ebx*4 + 4]
push dword [ebp + 0xc]
push 0x40b
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x405f39
lea eax, [ebp - 4]
push eax
push 0x64
push 2
push 0x451138
push dword [ebp + 0xc]
push 0x40b
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp + 0x10], 0
pop ebx
je 0x405f54
push 0x405d51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
leave
ret

Function at 0x40646d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
dec eax
je 0x406496
dec eax
je 0x406491
dec eax
dec eax
jne 0x406491
push 2
pop eax
jmp 0x4064da
xor eax, eax
inc eax
jmp 0x4064da
add esi, 8
push esi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [ebp - 0x10], ax
push 0x104
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0x4529dc
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
neg eax
sbb eax, eax
and eax, 2
inc eax
pop esi
leave
ret 4
Function at 0x4064df
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x452be0]
mov dword [ebp - 8], eax
mov eax, dword [0x452be4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
xor eax, eax
push 0x41
mov word [esi], ax
pop eax
mov word [ebp - 8], ax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jb 0x406543
cmp eax, 3
jbe 0x40651e
cmp eax, 5
jne 0x406543
push 0x34
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x406543
push dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x406550
inc word [ebp - 8]
cmp word [ebp - 8], 0x5a
jbe 0x406505
jmp 0x40655b
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop esi
leave
ret 8
Function at 0x406560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
cmp dword [esi + 0xc], edi
jne 0x40659a
cmp dword [esi + 0x840], 0xffffffff
jne 0x40659a
add esi, 0x930
xor eax, eax
cmp word [esi], di
je 0x4066c0
mov word [esi], ax
inc eax
jmp 0x4066c0
push ebx
mov ebx, 0x28a0
push ebx
call fcn.00446ca6
push ebx
push edi
push eax
mov dword [ebp - 4], eax
call fcn.00446b72
lea edi, [esi + 0x848]
xor eax, eax
add esp, 0x10
cmp word [edi], ax
je 0x4066c4
cmp dword [0x4a6600], eax
je 0x406678
push edi
push str.GetVolumePathNamesForVolumeName__s_...
push 3
mov dword [ebp - 0x10], eax
call fcn.0044c79b
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x1450
push dword [ebp - 4]
push edi
call dword [0x4a6600]
test eax, eax
je 0x406653
cmp dword [0x515894], 3
jl 0x40663e
push dword [ebp - 4]
call fcn.004279aa
mov edi, eax
test edi, edi
je 0x40662a
push edi
push str._OK__mp_s
push 3
call fcn.0044c79b
push edi
call fcn.00446ce1
add esp, 0x10
jmp 0x40663e
push 0x451068
push str._OK__mp_s
push 3
call fcn.0044c79b
add esp, 0xc
push ebx
add esi, 0x930
push esi
push dword [ebp - 4]
call fcn.00446b2f
add esp, 0xc
jmp 0x4066a3
call fcn.00449d52
push eax
push str._err_S
push 3
call fcn.0044c79b
add esp, 0xc
xor eax, eax
mov word [esi + 0x930], ax
xor esi, esi
jmp 0x40677e
push dword [ebp - 4]
push edi
call fcn.004064df
push dword [ebp - 4]
push str.Letter_s
push 3
call fcn.0044c79b
push ebx
add esi, 0x930
push esi
push dword [ebp - 4]
call fcn.00446b2f
add esp, 0x18
test eax, eax
je 0x406671
push ebx
push dword [ebp - 4]
push esi
call fcn.00446bdc
push dword [ebp - 4]
call fcn.00446ce1
xor eax, eax
add esp, 0x10
inc eax
pop ebx
pop edi
pop esi
leave
ret
lea eax, [esi + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jbe 0x406671
mov esi, 0x452bf0
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push 0x41
pop eax
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x406758
mov eax, dword [ebp - 0x10]
add eax, 0x428
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x406758
lea eax, [ebp - 0xc]
push eax
push str.Letter_s
push 3
call fcn.0044c79b
lea eax, [ebp - 0xc]
push eax
push 0x452be8
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp - 0x10]
push ebx
lea eax, [esi + 0x930]
push eax
push dword [ebp - 4]
call fcn.00446b2f
add esp, 0x24
test eax, eax
jne 0x406768
inc word [ebp - 0xc]
cmp word [ebp - 0xc], 0x5a
jbe 0x4066e8
jmp 0x406671
push ebx
push dword [ebp - 4]
add esi, 0x930
push esi
call fcn.00446bdc
xor esi, esi
add esp, 0xc
inc esi
push dword [ebp - 4]
call fcn.00446ce1
pop ecx
mov eax, esi
jmp 0x4066bf