joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482ad0
Capabilities:
Hide graphical window
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x54f25c], 0
je 0x482aee
push dword [0x54fea0]
call fcn.0047baa0
add esp, 4
xor eax, eax
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [0x54fea0]
call fcn.00473ce0
add esp, 8
mov esi, 1
push esi
push edi
call fcn.0047c9b0
inc esi
add esp, 8
cmp esi, 8
jl 0x482b11
pop edi
pop esi
push dword [0x5503c0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
mov ecx, 0x54aa30
call fcn.0047fc70
push 0
push dword [0x5503bc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebp
ret

Function at 0x482b90
Capabilities:
Hide graphical window
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [0x54fea0]
call fcn.00473ce0
add esp, 8
mov esi, 1
push esi
push edi
call fcn.0047c9b0
inc esi
add esp, 8
cmp esi, 8
jl 0x482bb6
pop edi
pop esi
push dword [0x5503c0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
mov ecx, 0x54aa30
call fcn.0047fc70
push 0
push dword [0x5503bc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebp
ret
Function at 0x483970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x2c
push eax
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
xor eax, eax
cmp dword [ebp - 0x28], 2
sete al
lea eax, [eax*4 + 5]
push eax
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [0x54fea0]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
mov byte [0x54fefa], 1
mov byte [0x54fc8d], 0
call fcn.004c34b7
mov esp, ebp
pop ebp
ret

Function at 0x486c70
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x54feb8]
test eax, eax
je 0x486c9d
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x54feb8]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [0x54feb8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
ret
push esi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push 0
push 0x48aae0
mov esi, eax
call fcn.004d6098
add esp, 0xc
push 0xffffffffffffffff
push dword [0x5503b8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.USER32.dll_SetCursor]
pop esi
xor eax, eax
ret
Function at 0x488220
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6655
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.0042db70
mov ecx, eax
test ecx, ecx
je 0x4883b1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp + 8]
lea esi, [edi + 4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], 1
imul ecx, eax, 0x1000193
movzx eax, dh
mov dword [ebp - 0x10], esi
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00445ce0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4882c6
mov eax, dword [esi + 4]
mov edx, dword [ebp + 0xc]
or esi, 0xffffffff
cmp eax, dword [edi + 8]
je 0x48830e
lea edi, [eax + 0xc]
test edx, edx
jne 0x4882e8
xor eax, eax
mov ecx, edi
push eax
push edx
call fcn.0042f450
jmp 0x488388
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4882f0
sub eax, dword [ebp + 8]
mov ecx, edi
sar eax, 1
push eax
push edx
call fcn.0042f450
jmp 0x488388
test edx, edx
jne 0x488316
xor ecx, ecx
jmp 0x48832f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488320
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042f450
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebx - 0x10]
push eax
call fcn.00440d70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
call fcn.00466310
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x488388
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48839d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0042d270
int3
Function at 0x48b130
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 4
push 0x54f48e
push str.srv
mov dword [ebp - 4], 0
call fcn.004c95b0
mov edi, dword [sym.imp.USER32.dll_DialogBoxParamW]
add esp, 0xc
test eax, eax
jne 0x48b1c0
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 0x54f284
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.004c8d7a
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push 0x54f284
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48b1b5
cmp dword [ebx + 0x30], 0x60000
jae 0x48b1b5
cmp dword [ebp + 8], 0
push 0
push 0x453060
push 0
jne 0x48b1a8
push str.SYMBOLCONFIGWARNING
jmp 0x48b1ad
push 0x50f934
push dword [0x54a9b8]
call edi
push ebx
call fcn.004c8d5f
add esp, 4
pop esi
pop ebx
cmp byte [0x54f48c], 0
jne 0x48b209
cmp dword [0x555138], 0
je 0x48b1dc
cmp word [0x54f48e], 0
jne 0x48b209
push 0
push 0x453060
push 0
push str.SYMBOLCONFIGWARNING
push dword [0x54a9b8]
call edi
push 1
push dword [0x54fea0]
mov byte [0x54f48c], 1
call fcn.00473ce0
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48d020
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, 1
movzx ebx, ax
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1d], cl
cmp ebx, 1
jbe 0x48d069
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
mov cl, byte [ebp - 0x1d]
xor eax, eax
xor edi, edi
nop dword [eax + eax]
cmp di, bx
jae 0x48d0ed
cmp ebx, 1
jbe 0x48d0a4
cmp eax, dword [0x54ff34]
jge 0x48d0f2
xor eax, eax
mov dword [ebp - 0x10], 0xffffffff
push eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0xc], di
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
push edi
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov esi, eax
push 0
lea eax, [esi + esi*2]
shl eax, 4
push eax
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ebp - 0x28]
push eax
push 8
call sub.ntdll.dll_NtQuerySystemInformation
movzx ecx, byte [ebp - 0x1d]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x24]
cmove edx, ecx
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, dl
inc edi
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], eax
test cl, cl
jne 0x48d070
cmp ebx, 1
jbe 0x48d115
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov al, byte [ebp - 0x1d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x48d130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, 1
movzx ebx, ax
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1d], cl
cmp ebx, 1
jbe 0x48d179
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
mov cl, byte [ebp - 0x1d]
xor eax, eax
xor edi, edi
nop dword [eax + eax]
cmp di, bx
jae 0x48d1fd
cmp ebx, 1
jbe 0x48d1b4
cmp eax, dword [0x54ff34]
jge 0x48d202
xor eax, eax
mov dword [ebp - 0x10], 0xffffffff
push eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0xc], di
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
push edi
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov ecx, dword [ebp - 0x28]
mov esi, eax
push 0
lea eax, [esi + esi*2]
shl eax, 3
push eax
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
push eax
push 0x17
call sub.ntdll.dll_NtQuerySystemInformation
movzx ecx, byte [ebp - 0x1d]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x24]
cmove edx, ecx
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, dl
inc edi
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], eax
test cl, cl
jne 0x48d180
cmp ebx, 1
jbe 0x48d225
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov al, byte [ebp - 0x1d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x48d240
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, 1
movzx ebx, ax
xor eax, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x1d], cl
cmp ebx, 1
jbe 0x48d289
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
mov cl, byte [ebp - 0x1d]
xor eax, eax
xor edi, edi
nop dword [eax + eax]
cmp di, bx
jae 0x48d30b
cmp ebx, 1
jbe 0x48d2c4
cmp eax, dword [0x54ff34]
jge 0x48d310
xor eax, eax
mov dword [ebp - 0x10], 0xffffffff
push eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0xc], di
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
push edi
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
mov ecx, dword [ebp - 0x28]
mov esi, eax
push 0
lea eax, [esi*8]
push eax
mov eax, dword [ebp - 0x24]
lea eax, [ecx + eax*8]
push eax
push 0x6c
call sub.ntdll.dll_NtQuerySystemInformation
movzx ecx, byte [ebp - 0x1d]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x24]
cmove edx, ecx
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov cl, dl
inc edi
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], eax
test cl, cl
jne 0x48d290
cmp ebx, 1
jbe 0x48d333
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov al, byte [ebp - 0x1d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x48db60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f67dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x535a40]
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, ecx
mov dword [ebp - 0x24], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CResizer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x43
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x34], 1
test edi, edi
je 0x48dc78
push esi
push str.ResizerClass
push edi
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_SetPropW]
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x458410
push 0xfffffffffffffffc
push edi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
test eax, eax
je 0x48dc14
push eax
call dword [0x53a8b8]
mov dword [esi + 4], 0
mov eax, dword [0x53a8ac]
test eax, eax
je 0x48dc4d
call eax
test eax, eax
je 0x48dc4d
mov eax, dword [esi]
mov edi, dword [0x53a8b0]
mov eax, dword [eax]
cmp eax, method.CResizer.virtual_0
jne 0x48dc42
mov eax, 0x50ac10
jmp 0x48dc46
mov ecx, esi
call eax
push eax
push ebx
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, esi
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.004c34b7
mov esp, ebp
pop ebp
ret 4
Function at 0x48f380
Capabilities:
Delete file
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5355f4
push str.PROCEXP152
call fcn.0045b040
add esp, 8
test eax, eax
jne 0x48f4c9
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.PROCEXP152.SYS
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._sDrivers_s
push eax
call fcn.0042fa30
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 0x18
test al, al
jne 0x48f489
push str.PROCEXP152.SYS
lea eax, [ebp - 0x414]
push str.__TEMP___s
push eax
call fcn.0042fa30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 8
test al, al
jne 0x48f489
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.PROCEXP152.SYS
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4ff628
push eax
call fcn.0042fa30
lea eax, [ebp - 0x20c]
push eax
push 0x96
call fcn.0045ad30
add esp, 0x18
test al, al
je 0x48f4b3
push 0x5355f4
lea eax, [ebp - 0x20c]
push eax
push str.PROCEXP152
call fcn.0045adb0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x20c]
push eax
jne 0x48f4c3
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x491140
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x535a40]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2dc], 0
test esi, esi
je 0x49124c
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x491244
push esi
lea ecx, [ebp - 0x28]
call fcn.0043f770
mov eax, 0x5507c8
mov dword [ebp - 4], 0
cmp edi, 1
mov ebx, 0x5507c0
cmovne ebx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2e0]
mov ecx, ebx
push eax
call fcn.004a76c0
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x49121f
or edi, 0x100
lea eax, [ebp - 0x2dc]
push edi
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [ebx + 4], 0x3e8
jae 0x49123c
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0048d400
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x28], eax
lea ecx, [ebp - 0x28]
call fcn.00404c10
mov eax, dword [ebp - 0x2dc]
jmp 0x49124e
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0048d400
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x2dc], eax
lea ecx, [ebp - 0x28]
call fcn.00404c10
mov eax, dword [ebp - 0x2dc]
jmp 0x49124e
xor eax, eax
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.004c34b7
mov esp, ebp
pop ebp
ret

Function at 0x491df0
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 4]
cmovne esi, eax
mov dword [ebp - 4], 0x3e8
cmp dword [edi], 0
jne 0x491e25
mov dword [esi], 0x3e8
push dword [ebp - 4]
call fcn.004c8d7a
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp + 0xc]
push eax
push dword [esi]
push dword [edi]
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
je 0x491e77
push dword [edi]
call fcn.004c8d5f
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
add eax, 0x2710
cmp eax, ecx
cmova ecx, eax
push ecx
mov dword [esi], ecx
call fcn.004c8d7a
add esp, 8
mov dword [edi], eax
lea ecx, [ebp + 0xc]
push ecx
push dword [esi]
push eax
push 5
call sub.ntdll.dll_NtQuerySystemInformation
test eax, eax
jne 0x491e42
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x491e90
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x561838
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
lea eax, [ebp - 4]
push 0
push eax
push 0x561854
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push dword [0x5551f4]
push dword [0x561850]
push 1
push 0x30
push 0
push dword [0x550aa0]
call edi
test eax, eax
jne 0x491f4b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xea
jne 0x491f4a
mov eax, dword [0x561850]
mov dword [ebp - 4], 0
test eax, eax
je 0x491f05
push eax
call fcn.004c8d5f
add esp, 4
mov eax, dword [0x5551f4]
add eax, 0x4000
push eax
mov dword [0x5551f4], eax
call fcn.004c8d7a
add esp, 4
mov dword [0x561850], eax
lea ecx, [ebp - 4]
push 0
push ecx
push 0x561854
lea ecx, [ebp - 8]
push ecx
push dword [0x5551f4]
push eax
push 1
push 0x30
push 0
push dword [0x550aa0]
call edi
test eax, eax
je 0x491ee3
pop esi
push 0x561838
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x493530
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x4906e0
push 0
push 0
call fcn.004d6126
add esp, 0x18
mov esi, eax
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x493593
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x20
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493fd0
Capabilities:
Enumerate process modules
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp + 0x18]
push 8
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x440], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x438], ebx
cmp ebx, 0xffffffff
jne 0x49402e
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4941b9
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push 4
push 0x4fa4f4
push eax
call fcn.004c936a
add esp, 0xc
test eax, eax
jne 0x494077
lea eax, [ebp - 0x204]
jmp 0x4940ed
push 0xc
lea eax, [ebp - 0x20c]
push str.Systemroot_
push eax
call fcn.004c95b0
add esp, 0xc
test eax, eax
jne 0x4940e7
lea esi, [ebp - 0x20c]
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4940a0
push 0
push 0
sub esi, ecx
push str._SystemRoot_
sar esi, 1
call ebx
inc eax
add esi, eax
lea eax, [esi + esi]
push eax
call fcn.004c8d7a
add esp, 4
mov edi, eax
push esi
push edi
push str._SystemRoot_
call ebx
lea eax, [ebp - 0x1f6]
push eax
push esi
push edi
call fcn.004d6355
add esp, 0xc
jmp 0x4940f8
lea eax, [ebp - 0x20c]
push eax
call fcn.004c8d00
mov edi, eax
add esp, 4
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
test ebx, ebx
je 0x49413b
lea ecx, [ebx*2 + 2]
push ecx
call fcn.004c8d7a
add esp, 4
mov esi, eax
lea eax, [ebx + 1]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push edi
call fcn.004c8d5f
push 2
push 0
mov edi, esi
call fcn.004c34a9
add esp, 0xc
mov eax, dword [ebp - 0x430]
cmp dword [ebp - 0x424], eax
jne 0x49415c
push edi
push dword [ebp - 0x434]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x49417f
push 2
push edi
call fcn.004c34a9
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x42c]
add esp, 8
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
jmp 0x494047
mov ecx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
push 2
push edi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x414]
mov dword [ecx], eax
call fcn.004c34a9
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x4a8350
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lock inc dword [eax + 0x20]
push eax
push 0
push 0x49a000
call fcn.004d6098
add esp, 0xc
pop ebp
ret