joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
call fcn.0041880a
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x114]
and eax, 0xffff
push 0xa
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [esp + 0x11c]
lea ecx, [esp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x118]
push ecx
push edx
push eax
call fcn.00402220
lea ecx, [esp + 0x18]
push 0x42122c
push ecx
call fcn.00404da8
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4023ff
lea edx, [esp + 0xc]
push edx
push 0x421218
push 2
call fcn.00401280
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push ebp
call fcn.0041880a
mov ebp, dword [eax + 0xc]
push esi
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.00404c3e
push esi
call fcn.00404bc1
add esp, 0x14
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret

Function at 0x402440
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x11c
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push esi
lea eax, [esp + 0x1c]
push edi
push eax
push ecx
push edx
xor edi, edi
call fcn.00402220
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x1e]
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x22]
push eax
lea edx, [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x14c]
lea eax, [esp + 0x24]
push edx
push eax
push str._hd__hd__hd__hd:_hd:_hd
push ecx
call fcn.00405216
lea edx, [esp + 0x34]
push edx
call fcn.00402140
add esp, 0x30
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push edi
push 0x80
push 4
push edi
push 1
lea edx, [esp + 0x34]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4024f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x11c
ret
lea eax, [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x402513
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x11c
ret

Function at 0x402530
Capabilities:
Copy file

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x208
lea eax, [esp + 0x104]
push eax
push ecx
push edx
call fcn.00402220
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
call fcn.00402220
mov edx, dword [esp + 0x234]
add esp, 0x18
xor eax, eax
lea ecx, [esp]
test edx, edx
sete al
push eax
lea edx, [esp + 0x108]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40259d
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x208
ret
xor eax, eax
add esp, 0x208
ret
Function at 0x4025b0
Capabilities:
Create service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b938
push 0x405254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
push 2
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, esi
je 0x40265f
push esi
push esi
push esi
push esi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp + 0x14]
push edx
push 1
push 0x30
mov edi, dword [ebp + 0xc]
push edi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x40264c
push 0x30
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40265f
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40265f
test esi, esi
je 0x40265f
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x402668
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040268e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4026b0
Capabilities:
Delete file

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x104
lea eax, [esp]
push eax
push ecx
push edx
call fcn.00402220
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4026e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x104
ret
xor eax, eax
add esp, 0x104
ret

Function at 0x402700
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b948
push 0x405254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push 1
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x40276a
push 0x10000
mov eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, ebx
je 0x40276a
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x402773
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040279b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4027c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x108
push ebp
mov ebp, dword [esp + 0x114]
test ebp, ebp
je 0x402898
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x402898
mov ecx, dword [esp + 0x110]
lea eax, [esp + 4]
push eax
push 0x10008
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40289d
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x100
call edi
mov esi, eax
cmp esi, 0x103
je 0x402870
test esi, esi
jne 0x402881
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004027c0
mov esi, eax
add esp, 8
test esi, esi
je 0x402810
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x108
ret
mov ecx, dword [esp + 0x118]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x108
ret
mov eax, 0x3f2
pop ebp
add esp, 0x108
ret

Function at 0x4033a0
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x408
lea eax, [esp + 8]
push eax
push 0x400
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40340b
lea edx, [esp + 4]
lea eax, [esp]
push edx
push eax
lea ecx, [esp + 0x10]
push 0x421214
push ecx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
mov eax, ecx
and eax, 0xffff
shr ecx, 0x10
push eax
push ecx
push 0x4214f0
push 0
call fcn.00401280
add esp, 0x18
xor eax, eax
add esp, 0x408
ret
Function at 0x409c5d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4224d0
cmp edx, dword [eax]
je 0x409c7f
add eax, 8
inc ecx
cmp eax, 0x422560
jl 0x409c70
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4224d0]
jne 0x409dad
mov eax, dword [0x424d90]
cmp eax, 1
je 0x409d87
test eax, eax
jne 0x409cb0
cmp dword [0x421e24], 1
je 0x409d87
cmp edx, 0xfc
je 0x409dad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409ce7
lea eax, [ebp - 0x1a4]
push 0x41d4f4
push eax
call fcn.0040b4b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004091a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409d2a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004091a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41d4f0
push edi
call fcn.0040c520
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x41d4d4
push eax
call fcn.0040b4b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b4c0
lea eax, [ebp - 0xa0]
push 0x41d4d0
push eax
call fcn.0040b4c0
push dword [esi + 0x4224d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b4c0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x41d4a8
push eax
call fcn.0040c48b
add esp, 0x2c
pop edi
jmp 0x409dad
lea eax, [ebp + 8]
lea esi, [esi + 0x4224d4]
push 0
push eax
push dword [esi]
call fcn.004091a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x410530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00404dc0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4105fb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4105fb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4105ae
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4105b9
or bh, 8
and edi, 0x8000000
je 0x4105d4
mov eax, dword [0x42655c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4105fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4109d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4109fb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x410a1f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x410a3a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4116e2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x411704
cmp dword [edi + 0x3c], 0
jne 0x411704
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0041880a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00411731
pop edi
pop esi
pop ebx
ret 8

Function at 0x411a7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x419f64
call fcn.00405668
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041880a
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x411abb
call fcn.0041880a
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411ac9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x411ad7
or eax, 0xffffffff
jmp 0x411bbf
mov ecx, esi
call fcn.004119f2
mov dword [ebp - 0x14], eax
call fcn.0041286d
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x411b0e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x411b0e
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00412821
push dword [ebp - 0x14]
call fcn.0041236f
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041177f
cmp eax, edi
je 0x411b81
test byte [esi + 0x24], 0x10
je 0x411b4f
push 4
mov ecx, esi
pop ebx
call fcn.004149dd
test ah, 1
je 0x411b47
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00414378
cmp dword [esi + 0x1c], edi
je 0x411b81
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00414a92
jmp 0x411b81
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x411b95
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x411bae
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x411bae
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00411a2c
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x414226
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x414268
call fcn.0041880a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x414268
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41425f
xor eax, eax
jmp 0x414270
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00414276
pop edi
pop esi
pop ebx
ret 4

Function at 0x41922b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x419259
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x419277
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00419191
jmp 0x419277
mov eax, dword [esi + 0x14]
test eax, eax
je 0x419277
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00419191
test edi, edi
mov eax, edi
jne 0x419261
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401290
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412171
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x4170e0]
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
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x830], str.miniflt
mov dword [ebp - 0x82c], str.deviceflt
mov dword [ebp - 0x828], str.procmon
mov dword [ebp - 0x824], str.prtdrv
call fcn.00402f68
xor ebx, ebx
push 0xf003f
push ebx
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], ebx
call fcn.00402fbd
test eax, eax
je 0x40137e
lea ecx, [ebp - 0x818]
call fcn.00402f68
mov byte [ebp - 4], 1
xor esi, esi
lea esp, [esp]
mov eax, dword [ebp + esi*4 - 0x830]
push 0xf01ff
push eax
lea ecx, [ebp - 0x814]
call fcn.00402f6e
cmp eax, 0xffffffff
je 0x40136a
cmp eax, ebx
je 0x40136a
push eax
lea ecx, [ebp - 0x818]
call fcn.00402fa8
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x814]
call fcn.00402f91
lea ecx, [ebp - 0x818]
call fcn.00402f02
inc esi
cmp esi, 4
jb 0x401320
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], bl
call fcn.00402fa3
push 0x3ff
lea edx, [ebp - 0x40f]
push ebx
push edx
mov dword [ebp - 0x830], str.DeviceFlt.sys
mov dword [ebp - 0x82c], str.MiniFlt.sys
mov dword [ebp - 0x828], str.PrtDrv.sys
mov dword [ebp - 0x824], str.ProcMon.sys
mov byte [ebp - 0x410], bl
call fcn.00404e10
push 0x3ff
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.00404e10
lea ecx, [ebp - 0x410]
push 0x400
push ecx
call fcn.004031a3
lea edi, [ebp - 0x410]
add esp, 0x20
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4013f1
mov dx, word [0x413238]
mov word [edi], dx
xor esi, esi
jmp 0x401410
mov eax, dword [ebp + esi*4 - 0x830]
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x810]
push 0x4132b0
push edx
call fcn.00404d80
push ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004028b2
inc esi
add esp, 0x1c
cmp esi, 4
jb 0x401410
lea ecx, [ebp - 0x820]
call fcn.00402fed
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 2
call fcn.0040311d
test eax, eax
je 0x40148f
push str.RzxTray.exe
lea ecx, [ebp - 0x820]
call fcn.004030e7
push str.RzxMon
lea ecx, [ebp - 0x820]
call fcn.004030e7
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], bl
call fcn.00403118
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
call fcn.00402fa3
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.00404d71
mov esp, ebp
pop ebp
ret
Function at 0x401ca0
Capabilities:
Get common file path

Disassembly:
push esi
push 0x400
mov esi, ecx
push 0
push esi
call fcn.00404e10
add esp, 0xc
push esi
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, esi
pop esi
ret

Function at 0x401ce0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41223b
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x4170e0]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x410]
push str._s.
push eax
mov dword [ebp - 0x954], ecx
call fcn.00404d80
add esp, 0xc
lea ecx, [ebp - 0x950]
push ecx
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e88
test esi, esi
je 0x401e88
mov dword [ebp - 0x958], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x924]
push eax
push edi
lea ecx, [ebp - 0x410]
push str._s_s
push ecx
call fcn.00404d80
lea edx, [ebp - 0x924]
push edx
push ebx
lea eax, [ebp - 0x810]
push str._s_s
push eax
call fcn.00404d80
add esp, 0x20
test byte [ebp - 0x950], 0x10
je 0x401e4e
mov ecx, 0x413424
lea eax, [ebp - 0x924]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401dd0
test dl, dl
je 0x401dcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401dd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x401db0
xor eax, eax
jmp 0x401dd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401e6b
mov ecx, 0x413420
lea eax, [ebp - 0x924]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401e08
test dl, dl
je 0x401e04
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401e08
add eax, 2
add ecx, 2
test dl, dl
jne 0x401de8
xor eax, eax
jmp 0x401e0d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401e6b
lea ecx, [ebp - 0x810]
push ecx
call fcn.004027ad
add esp, 4
test eax, eax
jne 0x401e33
lea edx, [ebp - 0x810]
push edx
call fcn.0040275a
add esp, 4
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp - 0x954]
call fcn.00401ce0
jmp 0x401e6b
mov edx, dword [ebp - 0x954]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x410]
push ecx
call fcn.004028b2
add esp, 0xc
lea edx, [ebp - 0x950]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401d63
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
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.00404d71
mov esp, ebp
pop ebp
ret 8