joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
sub esp, 0x18
mov edi, ecx
push 0x6c
push dword [0x5bdd00]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
mov eax, dword [edi]
sub esp, 8
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push eax
push dword [0x5bdd00]
mov ecx, 0x5bdde0
call fcn.004a84e0
mov eax, dword [0x5be360]
mov ecx, 0x5bdde0
and eax, 2
or eax, 0
je 0x4871d0
call fcn.004a8860
jmp 0x4871d5
call fcn.004a8800
mov ecx, dword [0x5be360]
mov eax, ecx
and eax, 2
or eax, 0
je 0x487257
and ecx, 4
or ecx, 0
je 0x487257
push str.Show_Main_Window
push 0
lea ecx, [edi + 0x1bc]
call fcn.004d3910
push 0x5ae198
mov dword [edi + 0x658], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [0x5ae194], eax
push 0x5ae198
sete al
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x4872eb
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x4dc
push 0x111
mov eax, dword [eax + 0x3c]
call eax
jmp 0x4872e8
push str.Hide_Main_Window
push 0
lea ecx, [edi + 0x1bc]
call fcn.004d3910
mov eax, dword [edi]
mov ecx, edi
push 5
mov eax, dword [eax + 0x3c]
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0xb0]
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x4d5
push 0x111
mov eax, dword [eax + 0x3c]
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5ae198
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [0x5ae194], eax
push 0x5ae198
sete al
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 4], 0
mov ecx, edi
push 0
jne 0x487305
mov eax, dword [edi]
push 0x4dc
push 0x111
mov eax, dword [eax + 0x3c]
call eax
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
call esi
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x4da
push 0x111
mov eax, dword [eax + 0x3c]
call eax
push eax
call esi
jmp 0x487333
mov eax, dword [0x5be360]
and eax, 0x2000
or eax, 0
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
je 0x487320
push 0x4d9
jmp 0x487325
push 0x4da
push 0x111
call eax
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x3e8
push 0x889233
mov eax, dword [eax + 0x3c]
call eax
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493dc0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1a], 0x3a
mov ax, word [edi + 0x18c]
add ax, 0x41
mov word [ebp - 0x1c], ax
mov eax, 0
mov word [ebp - 0x16], ax
jne 0x493dfd
xor ecx, ecx
jmp 0x493e12
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493e03
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x98]
call fcn.00401f10
mov eax, 0x5c
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x43c]
push 0x209
push eax
call fcn.0051b090
lea eax, [ebp - 0x22c]
push 0x209
push eax
call fcn.0051b090
mov ecx, dword [ebp + 8]
lea edx, [edi + 0xb0]
add esp, 0x10
call fcn.004859c0
push 0x105
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push 0
push 0x105
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x493f46
lea ebx, [edi + 0x140]
xor eax, eax
push ebx
lea esi, [edi + 0x138]
mov word [ebp - 0x18], ax
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x493f46
mov esi, dword [esi]
mov ecx, esi
sub ecx, dword [ebx]
mov edx, dword [edi + 0x13c]
mov eax, edx
sbb eax, dword [ebx + 4]
push edx
mov dword [edi + 0x130], ecx
lea ecx, [edi + 0xc8]
push esi
mov dword [edi + 0x134], eax
call fcn.00485640
push dword [ebx + 4]
lea ecx, [edi + 0xe0]
push dword [ebx]
call fcn.00485640
push dword [edi + 0x134]
lea ecx, [edi + 0xf8]
push dword [edi + 0x130]
call fcn.00485640
mov edx, dword [ebx + 4]
add esp, 0x18
mov ecx, dword [ebx]
call fcn.0053912e
mov edx, dword [edi + 0x13c]
mov ecx, dword [edi + 0x138]
movsd qword [ebp - 0x1c], xmm0
call fcn.0053912e
movsd xmm2, qword [ebp - 0x1c]
divsd xmm2, xmm0
movsd xmm1, qword [0x587148]
subsd xmm1, xmm2
movsd qword [edi + 0x110], xmm1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 4
Function at 0x499940
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, 0xf
push edi
mov edi, ecx
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x210], edi
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x22c], 0
mov dword [edi + 0x210], 0
mov eax, dword [edx]
push ecx
push edx
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0xffffffff
mov dword [ebp - 0x220], 1
call dword [eax + 0xc]
test eax, eax
jne 0x499a70
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x499a68
push ebx
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x499a1e
jmp 0x4999f0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x499a19
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x499a56
inc esi
cmp esi, ebx
jb 0x4999f0
mov esi, dword [ebp - 0x210]
pop ebx
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [esi + 0x210]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp - 0x210]
mov dword [esi + 0x210], 1
jmp 0x499a24
mov esi, dword [ebp - 0x210]
jmp 0x499a25
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x210]
xor ecx, ebp
pop edi
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 0x14
Function at 0x499ab0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54899b
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
cmp dword [edi + 0x210], 0
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
je 0x499c63
lea eax, [edi + 0x208]
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.00484730
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
push ecx
mov eax, 0xf
mov dword [esp + 0x3c], 1
mov word [esp + 0x34], ax
lea ecx, [esp + 0x34]
mov eax, dword [esi]
push ecx
push esi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 1
call dword [eax + 0xc]
test eax, eax
jne 0x499c33
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x499c1a
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor esi, esi
test eax, eax
je 0x499c1a
mov edi, eax
lea ecx, [ecx]
push 0x104
lea eax, [esp + 0x60]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x499c0d
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x499c0d
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.00421630
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00499d40
mov dword [esp + 0x278], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x499bf6
push dword [esp + 0x44]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
inc esi
cmp esi, edi
jb 0x499b90
mov edi, dword [esp + 0x18]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov ebx, dword [esp + 0x14]
cmp dword [edi + 0x20c], 0
je 0x499c56
mov eax, dword [edi]
mov ecx, edi
push 0
push 0x4e3
push 0x111
call dword [eax + 0x3c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebx], 3
mov eax, 1
jmp 0x499c65
xor eax, eax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4a5dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x4a5ec6
mov esi, dword [ebp + 8]
test esi, esi
je 0x4a5ec6
mov ecx, esi
call fcn.0040dce0
test eax, eax
je 0x4a5df1
mov ecx, esi
call fcn.0040dc40
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
push 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
push 0x4a5900
push 0
push 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xa
push eax
mov dword [ebp - 0x4c], eax
call ebx
cmp eax, 0x102
jne 0x4a5e8c
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
lea ebx, [ebx]
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
push 0xa
push dword [ebp - 0x4c]
call ebx
cmp eax, 0x102
je 0x4a5e70
cmp dword [ebp - 0x48], 0
pop ebx
jne 0x4a5eac
mov ecx, esi
call fcn.0040dd80
test eax, eax
je 0x4a5ea5
mov ecx, esi
call fcn.0040db80
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4a5ec8
push 0x8c
mov ecx, 0x5bdde0
call fcn.004a88e0
mov eax, dword [ebp - 0x48]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x28
Function at 0x4a83c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x3b8
push 0
mov dword [0x5bd958], esi
lea eax, [esi + 8]
push eax
call fcn.005032d0
push 0x110
lea eax, [ebp - 0x114]
mov dword [esi + 0x3d0], 0
push 0
push eax
mov dword [esi + 0x3d4], 1
mov dword [esi + 0x3d8], 1
mov dword [esi + 0x3dc], 1
mov dword [esi + 0x410], 0
mov dword [esi + 0x414], 1
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3f4], 0
mov dword [esi + 0x40c], 0
mov dword [esi + 0x3c8], 0
mov dword [esi + 0x418], 0
mov dword [esi + 0x41c], 0
mov dword [esi + 0x3cc], 0
mov dword [ebp - 0x118], 0x114
call fcn.005032d0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4a84c6
cmp dword [ebp - 0x114], 5
jb 0x4a84c6
mov dword [esi + 0x3e4], 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x3e4], 0
xor ecx, ebp
pop esi
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4adb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5be230]
mov ecx, dword [eax + 0xbc]
test byte [ecx + 0x17d0], 0x40
je 0x4adb6c
add ecx, 0x176c
cmp dword [ecx + 0xf4], 0xffffffff
je 0x4adc28
mov edx, dword [ecx + 0xf0]
cmp edx, 0xffffffff
je 0x4adc28
push dword [ecx + 0xf4]
mov eax, dword [ecx]
push edx
call dword [eax + 0xb4]
test eax, eax
je 0x4adc28
cmp dword [eax + 8], 6
je 0x4adc28
mov eax, dword [eax + 0x10]
jmp 0x4adbb6
test byte [ecx + 0xa20], 0x40
je 0x4adc28
mov edx, dword [ecx + 0xba0]
test edx, edx
js 0x4adc28
mov eax, dword [ecx + 0xb94]
sub eax, dword [ecx + 0xb90]
sar eax, 2
cmp edx, eax
jae 0x4adba8
mov eax, dword [ecx + 0xb90]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0x1c]
jmp 0x4adbaa
xor eax, eax
test eax, eax
je 0x4adc28
cmp dword [eax], 0
je 0x4adc28
mov eax, dword [eax + 0x24]
cmp eax, 0xffffffff
je 0x4adc28
add eax, 0x41
push eax
lea eax, [ebp - 0x18]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x38
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.005032d0
mov eax, dword [0x5bdd04]
add esp, 0x18
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5bdd00]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x50c
mov dword [ebp - 0x48], str.properties
mov dword [ebp - 0x40], 0x56c344
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4b0a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54a540
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov ecx, 0x5bdd14
push eax
push str.Version.xml
call fcn.004d3120
test eax, eax
je 0x4b0bd2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4b0bd2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4b0bd2
push 0x969
push str.Tasks.cpp
lea eax, [esi + 1]
push 1
push eax
call fcn.00500b6a
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4b0bc9
push esi
push ebx
push edi
call fcn.00502510
add esp, 0xc
mov byte [esi + edi], 0
mov dword [esp + 0x1c], vtable.cafxXML.0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x1c]
push esi
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call fcn.004c1f20
test eax, eax
je 0x4b0baf
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov byte [esp + 0x50], 1
lea eax, [esp + 0x14]
push str.ONLINE_HELP
push eax
push str.Hyperlink
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
call fcn.004c24a0
test eax, eax
je 0x4b0ba1
cmp dword [esp + 0x20], 0
je 0x4b0ba1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.004c3410
test eax, eax
je 0x4b0ba1
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
push 1
cmovae eax, dword [esp + 0x2c]
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x28]
call fcn.00402220
push edi
call fcn.0051d3d0
add esp, 4
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004c1c40
push ebx
call fcn.0051d3d0
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4b9830
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54afbb
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov dword [esp + 0x30], edx
mov edi, ecx
mov dword [esp + 0x3c], edi
mov ebx, dword [ebp + 8]
push 0x5830f4
mov dword [esp + 0x44], ebx
call fcn.0051e8f0
imul eax, eax, 0x68
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x5bbfd4]
call eax
mov dword [ebx], 0
add esp, 8
xor ebx, ebx
cmp edi, 0xffffffff
je 0x4b99f9
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
push edi
movlpd qword [esp + 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x5830f8
call fcn.0041d940
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x168], ebx
lea ecx, [esp + 0x18]
push 0x1000000
call fcn.0043a4e0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x10]
push ebx
push eax
push 0x1000000
push esi
xorps xmm0, xmm0
mov dword [esp + 0x20], ebx
push edi
movlpd qword [esp + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b998a
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b99ca
push eax
add edi, eax
lea eax, [esp + 0x48]
push esi
push eax
mov eax, dword [esp + 0x20]
adc ecx, 0
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x5bbfd8]
call eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax], 0
jne 0x4b99c6
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x1000000
push esi
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4b9930
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp + 0x168], 0xffffffff
test esi, esi
je 0x4b99c2
push esi
call fcn.0051d3d0
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov eax, ebx
jmp 0x4b99fe
xor ebx, ebx
jmp 0x4b9992
or edi, ecx
je 0x4b99f2
push dword [esp + 0x30]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x5bbfdc]
call eax
mov eax, dword [esp + 0x48]
add esp, 8
mov dword [eax], 0x10
jmp 0x4b9992
mov ebx, 0x26
jmp 0x4b9992
mov eax, 6
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4bd060
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x47c], 0
jne 0x4bd0eb
push 0x18
call fcn.004ffcfe
add esp, 4
mov dword [esi + 0x47c], eax
test eax, eax
je 0x4bd0eb
mov dword [eax], esi
lea ecx, [esi + 0x100]
mov eax, dword [esi + 0x47c]
push 0
push 0
push 0
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x47c]
push 0
mov dword [eax + 8], 0xbb8
mov eax, dword [esi + 0x47c]
mov dword [eax + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esi + 0x47c]
push 0
push 0
mov dword [ecx + 0x10], eax
push dword [esi + 0x47c]
push 0x4bd150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x47c]
pop esi
mov dword [ecx + 0xc], eax
mov eax, 1
ret
xor eax, eax
pop esi
ret
Function at 0x4c0fb0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b807
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x21c], esi
mov ebx, ecx
xor edi, edi
test ebx, ebx
je 0x4c10f9
push str._AllUsersProfile_
push ebx
call fcn.00500c00
add esp, 8
test eax, eax
jne 0x4c1055
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005032d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.ALLUSERSPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4c10f9
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401fc0
lea eax, [edi + 1]
jmp 0x4c10fb
lea ecx, [ebp - 0x224]
call fcn.004c0690
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x224]
mov esi, dword [eax]
mov dword [ebp - 0x228], esi
cmp esi, eax
je 0x4c10c2
lea esp, [esp]
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x4c108b
mov eax, dword [eax]
push ebx
push eax
call fcn.00500c00
add esp, 8
test eax, eax
jne 0x4c10a9
mov edx, dword [ebp - 0x21c]
mov ecx, dword [esi + 0x10]
call fcn.004c0ca0
mov edi, eax
lea ecx, [ebp - 0x228]
call fcn.0040f810
mov esi, dword [ebp - 0x228]
cmp esi, dword [ebp - 0x224]
jne 0x4c1080
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x224]
push eax
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call fcn.0045d8c0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x224]
call fcn.0051d3d0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4c1480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x5ac020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x100
lea eax, [ebp - 0x40c]
mov ebx, edx
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x614]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.00501d6b
add esp, 0x24
test eax, eax
jne 0x4c15ba
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4c15ba
lea eax, [ebp - 0x618]
mov dword [ebp - 0x618], 0
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
cmp eax, 0xea
jne 0x4c15ba
mov eax, dword [ebp - 0x618]
test eax, eax
je 0x4c15ba
xor ecx, ecx
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je 0x4c1559
lea eax, [ebp - 0x618]
push eax
push esi
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
push esi
test eax, eax
je 0x4c156b
call fcn.00500843
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00401fc0
lea eax, [ebp - 0x614]
mov ecx, ebx
push eax
call fcn.0040e370
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040e370
lea eax, [ebp - 0x40c]
mov ecx, ebx
push eax
call fcn.0040e370
push esi
call fcn.00500843
add esp, 4
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
Function at 0x4c3aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0xc], 0
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x4c3ac1
jmp dword [eax*4 + 0x4c3bbc]
mov edi, 0x40
jmp 0x4c3adb
mov edi, 0x10
jmp 0x4c3adb
mov edi, 0x20
push edi
call fcn.004ffbb1
mov esi, eax
add esp, 4
test esi, esi
je case.default.0x4c3ac1
push edi
push esi
call fcn.0051b090
add esp, 8
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c3710
test eax, eax
je 0x4c3ba5
cmp edi, 0x10
jne 0x4c3b2b
mov ecx, dword [ebp + 0x14]
movdqu xmm0, xmmword [esi]
lea eax, [ecx + 0x10]
push eax
push edi
push ecx
push ebx
movdqu xmmword [ecx], xmm0
call fcn.004c3710
jmp 0x4c3b9d
cmp edi, 0x40
jne 0x4c3b88
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0x3f]
lea ecx, [edx + 0x1f]
cmp edx, eax
ja 0x4c3b62
cmp ecx, esi
jb 0x4c3b62
mov ecx, esi
sub edx, esi
mov edi, 0x20
lea ebx, [ebx]
mov al, byte [ecx + 0x20]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edx + ecx - 1], al
dec edi
jne 0x4c3b50
jmp 0x4c3b9d
movdqu xmm0, xmmword [esi]
movdqu xmm1, xmmword [esi + 0x20]
pxor xmm1, xmm0
movdqu xmmword [edx], xmm1
movdqu xmm1, xmmword [esi + 0x30]
movdqu xmm0, xmmword [esi + 0x10]
pxor xmm1, xmm0
movdqu xmmword [edx + 0x10], xmm1
jmp 0x4c3b9d
movdqu xmm0, xmmword [esi]
mov eax, dword [ebp + 0x14]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [eax + 0x10], xmm0
mov dword [esp + 0xc], 1
push esi
call fcn.0051d3d0
add esp, 4
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10