joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459400
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.0045934f
mov eax, dword [eax]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x4594cd
push 0x4f9bc0
lea ecx, [ebp - 4]
call fcn.0040b040
call fcn.0045934f
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 4]
push str._s_d._s
push eax
call fcn.0040e7a0
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4594c2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
je 0x4594bb
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0xa]
push eax
mov dword [ebp - 8], edi
call fcn.0040b520
push edi
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4594b2
cmp dword [ebp - 8], esi
jne 0x4594b2
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00409d80
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
xor eax, eax
inc eax
jmp 0x4594de
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040b570
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00459386
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x459aa1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x4a8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [edi], ebx
je 0x459ac6
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [edi], ebx
mov eax, dword [esi + 0x4b0]
test eax, eax
je 0x459b56
push eax
call fcn.00452f8a
mov ebx, eax
xor edi, edi
pop ecx
cmp ebx, edi
je 0x459b50
push 2
push edi
push ebx
mov ecx, esi
call fcn.00459809
mov eax, dword [esi + 0x4b0]
cmp eax, dword [esi + 0x4ac]
jne 0x459b50
cmp ebx, esi
je 0x459b1d
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0045125b
mov eax, dword [ebx + 0x98]
cmp eax, edi
je 0x459b3f
cmp word [eax], di
je 0x459b3f
push 1
push edi
push edi
push eax
push 0x4c94ac
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x459b50
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x459b50
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [esi + 0x4b0], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x10c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004698cb
cmp dword [ebp - 4], 0
je 0x459ba9
mov eax, dword [esi + 0xc]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 0x4e
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45b8dc
Capabilities:
Hide graphical window

Disassembly:
push esi
push dword [ecx + 0x10]
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x45b903
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45b903
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x45cb9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x394]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [edi], ebx
je 0x45cbc1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x388]
cmp eax, ebx
je 0x45cc98
push eax
call fcn.00452f8a
mov edi, eax
pop ecx
cmp edi, ebx
je 0x45cc4d
push 2
push ebx
push edi
mov ecx, esi
call fcn.0045c6a8
mov eax, dword [esi + 0x388]
cmp eax, dword [esi + 0x384]
je 0x45cbfd
cmp dword [edi + 0xa4], ebx
je 0x45cc4d
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0045125b
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x45cc3c
cmp word [eax], bx
je 0x45cc3c
push 1
push ebx
push ebx
push eax
push 0x4c94ac
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45cc4d
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x45cc4d
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
mov dword [esi + 0x388], ebx
cmp dword [ebp - 4], ebx
je 0x45cc98
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45cc9f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov dword [ebp - 4], ecx
xor edi, edi
call esi
mov bl, 0x80
test bl, al
jne 0x45ccc6
push 0xa1
call esi
test bl, al
je 0x45ccc9
push 4
pop edi
push 0x11
call esi
test bl, al
jne 0x45ccd9
push 0x11
call esi
test bl, al
je 0x45ccdc
or edi, 8
push 1
call esi
test bl, al
jne 0x45ccec
push 1
call esi
test bl, al
je 0x45ccef
or edi, 1
push 2
call esi
test bl, al
jne 0x45ccff
push 2
call esi
test bl, al
je 0x45cd02
or edi, 2
push 4
call esi
test bl, al
jne 0x45cd12
push 0x10
call esi
test bl, al
je 0x45cd15
or edi, 0x10
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp + 8]
push edi
call fcn.0045cb9c
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0xc
Function at 0x45ce38
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x440]
lea ebx, [esi + 0x414]
mov dword [esi], vtable.CMainDlg.4.0
mov dword [esi + 0x410], 0x4c97b0
mov dword [ebx], vtable.CMainDlg.2.0
mov dword [esi + 0x430], 0x4c9798
mov dword [esi + 0x438], 0x4c9790
test ecx, ecx
je 0x45ce7f
mov eax, dword [ecx]
call dword [eax + 0x18]
push edi
push dword [esi + 0x454]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 0x44c]
mov ecx, dword [edi]
test ecx, ecx
je 0x45cea1
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [edi], 0
mov edi, dword [esi + 0x440]
test edi, edi
je 0x45cec0
mov ecx, edi
call fcn.00424cb0
push edi
call fcn.0046d0e6
and dword [esi + 0x440], 0
pop ecx
lea eax, [ebp - 4]
push 0x4c9768
push eax
call fcn.004684be
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
je 0x45cee7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [esi + 0x448]
sub ecx, 0x10
call fcn.004085f0
mov ecx, dword [esi + 0x444]
sub ecx, 0x10
call fcn.004085f0
lea ecx, [esi + 0x430]
call fcn.004bc990
mov ecx, ebx
call fcn.0045064f
mov ecx, esi
call fcn.00467ab5
pop esi
pop ebx
leave
ret

Function at 0x45dab1
Capabilities:
Check if file exists
Delete file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 4]
mov ecx, 0x4f99b0
call fcn.0045df80
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 4
and eax, 0x3ff
pop ecx
cmp cx, ax
jne 0x45dadf
push 0x4c9808
jmp 0x45dae4
push 0x4c97ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x64
push 0x400000
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
mov ebp, 0x80
push ebp
push dword [esi + 4]
call ebx
push 0x65
push 0x400000
call edi
push eax
xor edi, edi
push edi
push ebp
push dword [esi + 4]
call ebx
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x8c
call fcn.0046d5f3
pop ecx
cmp eax, edi
je 0x45db4b
mov ecx, eax
call fcn.00466c28
jmp 0x45db4d
xor eax, eax
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
push edi
push 0x64
push 0x3e9
push dword [esi + 4]
mov dword [esi + 0x44c], eax
call ebx
lea eax, [esp + 0x10]
push 0x4c9768
push eax
call fcn.004684be
pop ecx
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45db8f
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0045260a
test eax, eax
jne 0x45dbb2
push edi
push edi
push esi
push 0x4526f6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x454], eax
jmp 0x45dbbb
push 1
mov ecx, esi
call fcn.0045d665
push edi
push 0x5dc
push 0x3ec
push dword [esi + 4]
call ebx
push edi
push 0x32
push 0x3eb
push dword [esi + 4]
call ebx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004085f0
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret 8
Function at 0x45dab4
Capabilities:
Check if file exists
Create thread
Delete file

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 4]
mov ecx, 0x4f99b0
call fcn.0045df80
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 4
and eax, 0x3ff
pop ecx
cmp cx, ax
jne 0x45dadf
push 0x4c9808
jmp 0x45dae4
push 0x4c97ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x64
push 0x400000
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
mov ebp, 0x80
push ebp
push dword [esi + 4]
call ebx
push 0x65
push 0x400000
call edi
push eax
xor edi, edi
push edi
push ebp
push dword [esi + 4]
call ebx
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x8c
call fcn.0046d5f3
pop ecx
cmp eax, edi
je 0x45db4b
mov ecx, eax
call fcn.00466c28
jmp 0x45db4d
xor eax, eax
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
push edi
push 0x64
push 0x3e9
push dword [esi + 4]
mov dword [esi + 0x44c], eax
call ebx
lea eax, [esp + 0x10]
push 0x4c9768
push eax
call fcn.004684be
pop ecx
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45db8f
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0045260a
test eax, eax
jne 0x45dbb2
push edi
push edi
push esi
push 0x4526f6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x454], eax
jmp 0x45dbbb
push 1
mov ecx, esi
call fcn.0045d665
push edi
push 0x5dc
push 0x3ec
push dword [esi + 4]
call ebx
push edi
push 0x32
push 0x3eb
push dword [esi + 4]
call ebx
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004085f0
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
pop ecx
ret 8

Function at 0x45e241
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.0040b330
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.004498c0
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x45f581
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x45f5d2
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x45f5e3
push 0xd
pop eax
jmp 0x45f610
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x45f5e6
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x45fb42
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0045f54c
mov ebx, eax
cmp ebx, edi
je 0x45fbb2
lea ecx, [ebp - 0x70]
call fcn.0045f4e3
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046da8a
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x45fbca
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0045fb42
cmp eax, edi
jne 0x45fbfd
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x45fbba
lea ecx, [ebp - 0x70]
call fcn.0045f4e3
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0045f4e3
mov eax, esi
jmp 0x45fb98
Function at 0x4623ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x462449
call fcn.0045ddf4
mov esi, eax
jmp 0x46250f
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x462462
call fcn.0045ddf4
jmp 0x462504
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x462458
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4624be
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x462495
lea ecx, [ebp - 0x70]
call fcn.0045faf3
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.0045fa58
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046da8a
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.004608b6
cmp dword [ebp - 0x70], edi
jne 0x4624d3
mov esi, 0x8007000e
jmp 0x462506
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x462458
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.004617d6
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x46249a
lea ecx, [ebp - 0x70]
call fcn.0045faf3
jmp 0x46249a

Function at 0x462cd7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push 0x4f9bc0
lea ecx, [ebp - 4]
call fcn.0040b040
lea eax, [ebp - 8]
push 0x4c9e70
push eax
call fcn.00468568
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040b0f0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 4]
push eax
push 0xda
call fcn.00468327
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
mov bl, al
call fcn.004085f0
mov al, bl
pop ebx
leave
ret
Function at 0x462d39
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x4f9bc0
lea ecx, [ebp - 4]
call fcn.0040b040
lea eax, [ebp - 8]
push str.SonyUnlocker.zip
push eax
call fcn.00468568
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.0040b0f0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 4]
push eax
push 0xd9
call fcn.00468327
mov bl, al
pop ecx
pop ecx
test bl, bl
je 0x462dba
push ecx
mov eax, esp
push 0x4da280
push eax
call fcn.00468568
pop ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.0040b090
call fcn.004b8c50
pop ecx
pop ecx
push dword [ebp - 4]
mov bl, al
call esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x462dcb
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x4c9f58
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
fild qword [ebp - 0x1c]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fld qword [0x4c9f50]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [0x4deab0]
fnstsw ax
test ah, 5
jp 0x462e58
mov eax, dword [ebp + 8]
push 4
pop ecx
and eax, 0x3ff
push 0x30
cmp cx, ax
jne 0x462e46
push 0x4c9f48
push 0x4c9f24
jmp 0x462e50
push str.Warning
push str.C_disk_space_will_cause_the_software_can_not_be_used_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 1], 1
call fcn.00462cd7
test al, al
jne 0x462e6a
mov byte [ebp - 1], al
jmp 0x462e9a
lea eax, [ebp - 8]
push 0x4c9e70
push eax
call fcn.00468568
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 1]
leave
ret
Function at 0x463fc8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push 0x66
call fcn.0046377c
pop ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x463fea
push 2
jmp 0x463fec
push 1
call fcn.00452a43
pop ecx
push ebx
push 0xfffffffffffffff4
push eax
call fcn.00463919
push 0x65
call fcn.00463f7f
push 0x64
call fcn.00463f36
push dword [ebp + 8]
xor ebx, ebx
mov dword [0x4f9990], ebx
mov byte [0x4f998e], 1
mov byte [0x4f998d], bl
mov byte [0x4f998f], bl
mov byte [0x4f9988], bl
call fcn.0046324a
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4f99b0
mov dword [ebp - 0x3c], 0x4c9a3c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00461410
call fcn.0045d63c
cmp eax, ebx
je 0x46406f
add eax, 0x410
mov dword [ebp - 4], eax
jmp 0x464072
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.0046090a
push ebx
push ebx
call fcn.0045d63c
mov ecx, eax
call fcn.00463d46
call fcn.0045d63c
cmp eax, ebx
je 0x46409f
add eax, 0x410
mov dword [ebp - 4], eax
jmp 0x4640a2
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.0046097c
call fcn.00450ba3
lea ecx, [ebp - 0x2c]
call fcn.0045e608
lea ecx, [ebp - 0x38]
call fcn.0045e608
xor eax, eax
pop ebx
leave
ret
Function at 0x4640c8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], esi
call fcn.00468411
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.0045e88d
pop ecx
push esi
push dword [ebp + 8]
mov ebx, 0x4f99b0
push esi
mov ecx, ebx
call fcn.0045ebd5
mov ecx, ebx
call fcn.0045dee2
test eax, eax
je 0x46427a
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp + 8], esi
call fcn.00462dcb
pop ecx
pop ecx
test al, al
jne 0x464145
cmp dword [ebp + 8], esi
je 0x46413e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x46428a
lea eax, [ebp - 8]
push 0x4c8a44
push eax
call fcn.004684be
lea eax, [ebp - 4]
push 0x4c9768
push eax
call fcn.004684be
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4641a7
lea eax, [ebp - 4]
push eax
push 0xd6
call fcn.00468327
pop ecx
pop ecx
test al, al
je 0x46418f
lea eax, [ebp - 4]
push eax
call fcn.004683c0
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
jmp 0x46413e
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call sub.gdiplus.dll_GdiplusStartup
push 4
call fcn.0046d5f3
pop ecx
cmp eax, esi
je 0x4641da
mov ecx, eax
call fcn.004687b2
jmp 0x4641dc
xor eax, eax
push eax
call fcn.0046c827
mov ecx, eax
call fcn.0046c7fd
push edi
call fcn.00462e9f
pop ecx
test al, al
jne 0x46420c
push dword [ebp - 0xc]
call sub.gdiplus.dll_GdiplusShutdown
cmp dword [ebp + 8], esi
je 0x46418f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x46418f
lea eax, [ebp - 0x18]
push 0x4ca068
push eax
call fcn.00468568
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.004085f0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00463fc8
pop ecx
pop ecx
push dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call sub.gdiplus.dll_GdiplusShutdown
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp + 8], esi
je 0x46425a
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x10], esi
je 0x464264
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004085f0
mov ecx, ebx
call fcn.004618fd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x464bf3
Capabilities:
Create thread

Disassembly:
cmp byte [ecx + 0x78], 0
je 0x464c08
mov byte [ecx + 0x78], 0
mov ecx, dword [ecx + 0x84]
jmp fcn.0042af10
ret

Function at 0x464cc4
Capabilities:
Create thread

Disassembly:
mov byte [ecx + 0x78], 0
mov ecx, dword [ecx + 0x84]
jmp fcn.0042b720