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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x200
mov dword [ebp - 0x20c], eax
mov edi, ecx
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], edi
push 0
push eax
call fcn.005c9220
add esp, 0xc
lea eax, [ebp - 0x204]
add edi, 4
mov ecx, edi
push 0xd9
push 0x190
push 0
push 0
push 0x80c800c0
push 0x200
push eax
call fcn.00518d30
push 0x64
push 0xa
push 0x32
push 0xa
push 0xa
push 0x644e2c
push 0
push 0x50000000
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 0x65
push 0xc
push 0x14a
push 0xa
push 0x3c
push 0x644e28
push 0x204
push 0x50010080
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 0x66
push 0xa
push 0x32
push 0x18
push 0xa
push 0x644e2c
push 0
push 0x50000000
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 0x69
push 0xa8
push 0x78
push 0x18
push 0x10e
push 0x644e30
push 0
push 0x40210103
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 0x5f6b00
mov ecx, edi
call fcn.00518e10
mov esi, eax
mov ebx, 0x26
test esi, esi
je 0x491467
push 0x67
push 0x84
push 0x17c
push ebx
push 0xa
push esi
push 0x20
push 0x10810801
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 2
push esi
call fcn.0058bb51
add esp, 8
mov ebx, 0xac
push 0x68
push 0xc
push 0x17c
push ebx
push 0xa
push 0x644e28
push 0x204
push 0x58010082
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
push 0x6a
push 0xa
push 0xc8
lea esi, [ebx + 0xe]
mov ecx, edi
push esi
push 0xb9
push 0x644e2c
push 0
push 0x50000002
push 0x200
lea eax, [ebp - 0x204]
push eax
call fcn.00518bb0
push 1
push 0xf
push 0x28
lea eax, [esi + 0xc]
mov ecx, edi
movzx esi, ax
lea eax, [ebp - 0x204]
push esi
push 0x9b
push 0x644e24
push 0
push 0x50010001
push 0x200
push eax
call fcn.00518bb0
push 2
push 0xf
push 0x28
push esi
push 0xcd
push 0x644e24
push 0
push 0x50010000
push 0x200
lea eax, [ebp - 0x204]
mov ecx, edi
push eax
call fcn.00518bb0
mov ebx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
mov esi, dword [ebp - 0x20c]
push ebx
push 0x493460
push esi
push eax
push 0
call dword [0x648e3c]
push eax
call dword [0x648eb0]
push dword [ebx + 0x14]
push dword [ebx + 0x34]
call dword [0x648f30]
push 0
push esi
call dword [0x648ed0]
push 5
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 8
Function at 0x4935f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.00493550
push 0x400
call fcn.00479f06
add esp, 4
test eax, eax
je 0x493617
mov ecx, eax
call fcn.00588720
jmp 0x493619
xor eax, eax
mov dword [esi + 0xd8], eax
test eax, eax
je 0x4937d9
push 0x40
push dword [ebp + 0x14]
add eax, 0x280
push eax
call fcn.005cc5f0
push dword [ebp + 0x18]
mov edi, dword [esi + 0xd8]
call fcn.00519670
mov ecx, dword [edi + 0x2fc]
add esp, 0x10
mov ebx, eax
test ecx, ecx
je 0x49365d
push ecx
call fcn.0058bb5f
add esp, 4
push 0
push dword [ebp + 8]
mov dword [edi + 0x2fc], ebx
push dword [0x644da8]
mov edi, dword [esi + 0xd8]
call fcn.0050f680
mov ecx, dword [edi + 0x2f8]
add esp, 0xc
mov ebx, eax
test ecx, ecx
je 0x493691
push ecx
call fcn.0058bb5f
add esp, 4
mov dword [edi + 0x2f8], ebx
mov eax, dword [esi + 0xd8]
lea ecx, [eax + 0x254]
mov al, byte [ebp + 0x20]
cmp al, 1
jne 0x4936b9
mov eax, 0x20000000
lock or dword [ecx], eax
mov eax, 0xefffffff
jmp 0x4936d1
cmp al, 2
jne 0x4936cc
mov eax, 0x10000000
lock or dword [ecx], eax
mov eax, 0xdfffffff
jmp 0x4936d1
mov eax, 0xcfffffff
lock and dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xdc], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xe4], eax
lea eax, [esi + 0xcc]
push eax
push 0
push 0x4937f0
call fcn.005d21c2
add esp, 0xc
cmp eax, 0xffffffff
je 0x4937bf
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov dword [esi + 0xd0], 1
mov eax, dword [esi + 0xd8]
cmp dword [eax + 0x378], 0
je 0x493738
cmp dword [eax + 0x374], 0
je 0x493758
push 0xfa
call ebx
inc edi
cmp edi, 8
jb 0x493720
mov ecx, esi
call fcn.00493550
pop edi
pop esi
mov eax, 0x47
pop ebx
pop ebp
ret 0x20
mov ecx, accept
add eax, 0x254
lock or dword [eax], ecx
cmp dword [ebp + 0x1c], 0
mov ecx, dword [esi + 0xd8]
je 0x493796
or dword [esi + 0xc8], 4
lea eax, [ecx + 0x254]
mov edx, 0x400
lock or dword [eax], edx
or dword [esi + 0xc8], 1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x20
call fcn.0058a2c0
or dword [esi + 0xc8], 8
push 0x217
call fcn.004ad880
or dword [esi + 0xc8], 1
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x20
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x4937cf
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0xd8], 0
mov ecx, esi
call fcn.00493550
pop edi
pop esi
mov eax, 0x47
pop ebx
pop ebp
ret 0x20
Function at 0x494200
Capabilities:
Check for time delay via gettickcount
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0048c4b0
mov eax, dword [0x64f410]
test eax, eax
je 0x494235
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x58], eax
test ecx, ecx
je 0x49433e
pop edi
pop esi
mov dword [ecx + 0x58], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x3d
call fcn.004ad7d0
mov eax, dword [ebp + 0xc]
add esp, 4
or edi, 0xffffffff
mov dword [ebx + 0x58], eax
cmp dword [ebx + 4], 0
mov dword [ebp - 4], eax
jne 0x49433e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov ecx, eax
mov esi, 0x2000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 8], ecx
nop dword [eax]
mov edx, dword [ebp - 4]
test ecx, ecx
mov eax, dword [ebx + 0x38]
mov ecx, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
je 0x494290
push 1
push 0
push 0
push eax
call fcn.00494980
jmp 0x494298
push 0
push eax
call fcn.00496cc0
test eax, eax
jne 0x494340
mov eax, dword [ebp + 0xc]
test esi, esi
je 0x4942ab
cmp esi, eax
jb 0x4942ad
mov esi, eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
cmp edi, eax
je 0x4942b8
xor edi, edi
nop word [eax + eax]
cmp dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
mov eax, dword [ebx + 0x14]
push 0
push ecx
push esi
push dword [ebp + 8]
push eax
je 0x4942ec
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4942f2
call dword [sym.imp.KERNEL32.dll_ReadFile]
add edi, esi
cmp edi, 0x80000
jb 0x4942d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov ecx, ebx
sub edi, dword [ebp - 0x10]
cmp edi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmova eax, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x14]
mov dword [ebp - 4], eax
call fcn.00494790
cmp esi, dword [ebp + 0xc]
je 0x49432e
mov ecx, dword [ebp - 8]
add esi, esi
jmp 0x494270
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [ebx + 0x58], edx
test eax, eax
je 0x49433e
mov dword [eax + 0x58], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ad630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x42d
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x42e
push ebx
call edi
push eax
call esi
push 0
push 0x4d3
push ebx
call edi
push eax
call esi
push 0
push 0x4d4
push ebx
call edi
push eax
call esi
push 0
push 0x434
push ebx
call edi
push eax
call esi
push 0
push 0x42f
push ebx
call edi
push eax
call esi
push 0
push 0x431
push ebx
call edi
push eax
call esi
push 0
push 0x430
push ebx
call edi
push eax
call esi
push 0
push 0x433
push ebx
call edi
push eax
call esi
push 0
push 0x432
push ebx
call edi
push eax
call esi
push 0
push 0x437
push ebx
call edi
push eax
call esi
push 0
push 0x435
push ebx
call edi
push eax
call esi
push 0
push 0x436
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ad9a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x64f424]
mov eax, ecx
and al, 0x7c
cmp al, 0x40
jne 0x4ad9db
mov dword [0x64f424], 0x100
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
test cl, 0x38
je 0x4ada08
test cl, 0x30
je 0x4ad9f0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004adc80
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
and ecx, 6
mov dword [0x64f424], 0x100
mov eax, 0
cmove eax, dword [ebp + 8]
test eax, eax
je 0x4ada7a
push 0
push 0x31
push 0x96
call fcn.004b84a0
add esp, 0xc
cmp eax, 1
je 0x4ada7a
nop dword [eax + eax]
test byte [0x64f338], 4
jne 0x4adb3e
push 0
push 0x34
push 0x7e
call fcn.004b84a0
add esp, 0xc
cmp eax, 6
je 0x4adb3e
push 0
push 0x31
push 0x96
call fcn.004b84a0
add esp, 0xc
cmp eax, 1
jne 0x4ada40
cmp dword [0x649190], 2
push ebx
push esi
push edi
jne 0x4adb9c
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4adad5
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [0x64d2f8]
mov esi, 5
test eax, eax
je 0x4adb4e
push accept
push 1
push 0
push 0
push 0
push 0
call eax
test eax, eax
jne 0x4adba9
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x15
jne 0x4adba9
push 0x1388
call edi
sub esi, 1
je 0x4adba9
push accept
push 1
push 0
push 0
push 0
push 0
call dword [0x64d2f8]
test eax, eax
je 0x4adb08
jmp 0x4adba9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
mov eax, dword [0x64d3a4]
test eax, eax
je 0x4adb9c
push 1
push 0
push 0
push 0
push 0
call eax
test eax, eax
jne 0x4adba9
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x15
jne 0x4adba9
push 0x1388
call edi
sub esi, 1
je 0x4adba9
push 1
push 0
push 0
push 0
push 0
call dword [0x64d3a4]
test eax, eax
je 0x4adb73
jmp 0x4adba9
push accept
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x4adc80
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x649190], 2
push ebx
push esi
push edi
jne 0x4ade88
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4adceb
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [0x64f424]
mov eax, ecx
and eax, 0xc000
mov dword [ebp - 0x1c], ecx
mov dword [0x64f424], 0x100
cmp eax, 0xc000
je 0x4adda8
test cl, 0x30
je 0x4adda8
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
push str.powrprof.dll
mov esi, eax
call dword [0x648e68]
push esi
mov ebx, eax
call edi
test ebx, ebx
je 0x4adda8
push str.SetSuspendState
push ebx
call dword [0x648e40]
mov esi, eax
test esi, esi
je 0x4adda1
call fcn.004853a0
test byte [ebp - 0x1c], 0x10
je 0x4add7d
test al, 1
je 0x4add7d
push 0
push 0
push 0
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
test al, 2
je 0x4adda1
push 0
push 0
push 1
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x64d2f8]
mov esi, 5
test eax, eax
je 0x4ade25
push accept
push 0
push 0
push 0
push 0
push 0
call eax
test eax, eax
jne 0x4ade95
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
call ebx
cmp eax, 0x15
jne 0x4ade95
push 0x1388
call edi
sub esi, 1
je 0x4ade95
push accept
push 0
push 0
push 0
push 0
push 0
call dword [0x64d2f8]
test eax, eax
je 0x4adde0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
mov eax, dword [0x64d3a4]
test eax, eax
je 0x4ade88
push 0
push 0
push 0
push 0
push 0
call eax
test eax, eax
jne 0x4ade95
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
call ebx
cmp eax, 0x15
jne 0x4ade95
push 0x1388
call edi
sub esi, 1
je 0x4ade95
push 0
push 0
push 0
push 0
push 0
call dword [0x64d3a4]
test eax, eax
je 0x4ade50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
push accept
push 0x18
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret
Function at 0x4b5820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [0x648f2c]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
ret
Function at 0x4c1aa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [ebp + 8], 0
je 0x4c1ae7
xorps xmm0, xmm0
movlpd qword [0x64def0], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 1
push 0x800b
push 0x4e2
push dword [0x6492a8]
mov dword [0x64def8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [0x648f20]
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x650ce8]
mov eax, dword [0x650cec]
or ecx, eax
je 0x4c1bb2
push ebx
push esi
mov esi, dword [0x650cf0]
mov eax, dword [0x650cf4]
push edi
mov dword [ebp - 4], esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x650cf8]
mov ebx, eax
sub ebx, dword [0x64def8]
mov edi, esi
sub edi, dword [0x64def0]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
sbb eax, dword [0x64def4]
mul ecx
mov esi, eax
mov eax, edi
mul ecx
add edx, esi
mov ecx, eax
call fcn.0058c1d0
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
shr ebx, 0x1f
mov eax, dword [ebp - 4]
mov dword [0x64def0], eax
mov eax, dword [ebp + 8]
mov dword [0x64def4], eax
mov eax, dword [ebp - 8]
addsd xmm1, qword [ebx*8 + 0x5efc60]
mov dword [0x64def8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x800b
divsd xmm1, qword [0x5f8f10]
push 0x4e2
push dword [0x6492a8]
divsd xmm0, xmm1
divsd xmm0, qword [0x5f8f18]
movsd qword [ebp - 0x10], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [0x648f20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c1ec0
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 1
lock xadd dword [0x64de20], eax
inc eax
cmp eax, 1
jne 0x4c1eed
push 0x7f02
push 0
call dword [0x648ef4]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push esi
push edi
push dword [ebp + 8]
xor edi, edi
call fcn.0050e9a0
mov esi, eax
add esp, 4
test esi, esi
je 0x4c1f70
push 0x5c
push esi
mov dword [ebp - 4], esi
call fcn.005c9ea5
add esp, 8
test eax, eax
je 0x4c1f23
xor edx, edx
mov ecx, esi
mov word [eax], dx
add eax, 2
mov dword [ebp - 4], eax
jmp 0x4c1f3a
push 0x40
push esi
call fcn.005c9ea5
add esp, 8
mov ecx, 0x5efbdc
test eax, eax
mov eax, edi
cmovne ecx, eax
lea eax, [ebp - 8]
push eax
movzx eax, byte [ebp + 0x10]
push 0
add eax, 2
push eax
push dword [ebp + 0xc]
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x4c1f67
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
push esi
call fcn.0058bb5f
add esp, 4
or ecx, 0xffffffff
lock xadd dword [0x64de20], ecx
jne 0x4c1f91
push 0x7f00
push 0
call dword [0x648ef4]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d3500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push 0x30
push 0
lea edi, [esi + 0x950]
push edi
call fcn.005c9220
add esp, 0xc
cmp dword [0x649170], 2
jae 0x4d352e
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
push 0
push ebx
call fcn.00486320
add esp, 8
mov dword [esi + 0x96c], eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push 4
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x958], eax
test eax, eax
je 0x4d3632
push 0
push 0
push 1
push 0
mov dword [esi + 0x974], ebx
call dword [0x648dd8]
mov dword [edi], eax
test eax, eax
je 0x4d3615
push 0
push 0
push 1
push 0
call dword [0x648dd8]
mov dword [esi + 0x954], eax
test eax, eax
je 0x4d3607
push esi
push 0
push 0x4d0530
call fcn.005d21c2
add esp, 0xc
cmp eax, 0xffffffff
je 0x4d35f1
mov eax, dword [esi + 0x974]
mov ebx, dword [ebp + 0xc]
add eax, ebx
push eax
push dword [esi + 0x958]
call dword [sym.imp.KERNEL32.dll_VirtualLock]
test eax, eax
je 0x4d35db
mov eax, dword [esi + 0x974]
add eax, ebx
mov dword [esi + 0x970], eax
pop ebx
pop edi
mov dword [esi + 0x978], 1
mov eax, 1
pop esi
pop ebp
ret 8
push dword [esi + 0x954]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x954], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
push 0x8000
push 0
push dword [esi + 0x958]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 0x958], 0
cmp dword [esi + 0x96c], 0
je 0x4d3650
push 0
push ebx
call fcn.00484d50
add esp, 8
mov dword [esi + 0x96c], 0
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x4dfbd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0x20]
mov dword [ebp - 4], 1
test esi, esi
je 0x4dfc82
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jne 0x4dfc74
test ebx, ebx
je 0x4dfc03
cmp dword [esi + 0x14], ebx
jne 0x4dfc74
cmp dword [esi], 0xffffffff
jne 0x4dfc0f
mov ecx, 1
jmp 0x4dfc4a
cmp edi, 3
jne 0x4dfc1c
push esi
call fcn.005333e0
jmp 0x4dfc45
cmp edi, 1
jne 0x4dfc29
push esi
call fcn.00533460
jmp 0x4dfc45
cmp edi, 2
jne 0x4dfc3f
push 0
push esi
call fcn.005338b0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x4dfc4a
push esi
call fcn.00533b60
mov ecx, eax
add esp, 4
xor eax, eax
test ecx, ecx
cmovne eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4dfc71
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], 0xffffffff
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [esi + 0x4c]
test esi, esi
jne 0x4dfbf5
mov ebx, dword [ebp + 8]
cmp edi, 2
jne 0x4dfc8d
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [ebx + 0x20]
xor ebx, ebx
test esi, esi
je 0x4dfcf1
cmp dword [ebp + 0x14], 0
jne 0x4dfca1
cmp dword [esi], 0xffffffff
jne 0x4dfce8
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 0x20]
jne 0x4dfce8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4dfcb5
cmp dword [esi + 0x14], eax
jne 0x4dfce8
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x4c]
test eax, eax
je 0x4dfcca
push 2
push eax
call fcn.0058bb51
add esp, 8
push 0x50
push esi
call fcn.0058bb51
add esp, 8
mov esi, edi
test ebx, ebx
je 0x4dfce0
mov dword [ebx + 0x4c], edi
jmp 0x4dfced
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], edi
jmp 0x4dfced
mov ebx, esi
mov esi, dword [esi + 0x4c]
test esi, esi
jne 0x4dfc96
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e4800
Capabilities:
Create thread

Disassembly:
push esi
push 0
mov esi, ecx
xorps xmm0, xmm0
push 0
push 1
push 0
movq qword [esi + 0x1d0], xmm0
mov dword [esi + 0x1d8], 0
call dword [0x648dd8]
mov dword [esi + 0x1d0], eax
test eax, eax
je 0x4e486c
push esi
push 0
push 0x4e4760
call fcn.005d21c2
add esp, 0xc
cmp eax, 0xffffffff
je 0x4e4856
mov dword [esi + 0x1d8], 1
mov eax, 1
pop esi
ret
push dword [esi + 0x1d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1d0], 0
xor eax, eax
pop esi
ret

Function at 0x4e4e80
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
test byte [esi + 4], 8
je 0x4e4f5f
mov eax, dword [esi + 0xc]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x4e4f94
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.004e4a70
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp - 0xc]
call fcn.004e5380
mov edi, eax
add esp, 0x14
test edi, edi
js 0x4e4f4e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.0047a140
mov edx, dword [eax]
test edx, edx
je 0x4e4eea
mov edx, dword [edx]
jmp 0x4e4eec
xor edx, edx
mov eax, dword [ebp - 4]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, dword [ebp - 0x10]
mov edi, eax
test esi, esi
je 0x4e4f45
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x4e4f45
test esi, esi
je 0x4e4f45
mov eax, dword [esi]
test eax, eax
je 0x4e4f23
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4e4f3a
push eax
call fcn.0058bb5f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0058bb51
add esp, 8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x5fc2e4
push 0x15
push 0
push 0x5fc304
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e4f94
mov eax, dword [ebp - 8]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 8]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret