joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4231a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x2f
mov ecx, esi
mov dword [ebp - 0x68], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x740068
mov dword [ebp - 0x60], 0x700074
mov dword [ebp - 0x5c], 0x2f003a
mov dword [ebp - 0x58], 0x73002f
mov dword [ebp - 0x54], 0x610065
mov dword [ebp - 0x50], 0x630072
mov dword [ebp - 0x4c], 0x2e0068
mov dword [ebp - 0x48], 0x320035
mov dword [ebp - 0x44], 0x6f0074
mov dword [ebp - 0x40], 0x6c006f
mov dword [ebp - 0x3c], 0x6f0062
mov dword [ebp - 0x38], 0x2e0078
mov dword [ebp - 0x34], 0x6f0063
mov dword [ebp - 0x30], 0x2f006d
mov dword [ebp - 0x2c], 0x6e0069
mov dword [ebp - 0x28], 0x660074
mov dword [ebp - 0x24], 0x69002f
mov dword [ebp - 0x20], 0x64006e
mov dword [ebp - 0x1c], 0x780065
mov dword [ebp - 0x18], 0x74003f
mov dword [ebp - 0x14], 0x6b006f
mov dword [ebp - 0x10], 0x6e0065
mov dword [ebp - 0xc], 0x25003d
mov dword [ebp - 8], 0x73
call fcn.0040f770
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret 4
Function at 0x4281d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d470
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58f574]
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 ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp dword [0x5958dc], 0
jne 0x428238
call fcn.00415ea0
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
mov dword [ecx + 0x24], 0
mov ecx, eax
push str.search
call fcn.0044c8e0
mov dword [0x5958dc], 1
mov esi, dword [ebx + 0x654]
add ebx, 0x30
mov ecx, ebx
call fcn.00452210
push esi
mov ecx, eax
call fcn.00450bc0
mov esi, dword [ebp - 0x2c]
mov ecx, ebx
mov edi, eax
mov esi, dword [esi + 0x658]
call fcn.00452210
push esi
mov ecx, eax
call fcn.00450bc0
mov esi, dword [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.004586c0
mov ecx, dword [esi + 0x328]
push 1
mov eax, dword [ecx]
call dword [eax + 0x114]
mov edi, dword [esi + 0x32c]
mov eax, dword [edi]
mov esi, dword [eax + 0x114]
call fcn.00415e00
mov ecx, eax
call fcn.0040c9f0
test al, al
mov ecx, edi
sete al
movzx eax, al
push eax
call esi
mov edi, dword [ebp - 0x2c]
push 1
mov ecx, dword [edi + 0x330]
mov eax, dword [ecx]
call dword [eax + 0x114]
push 0
mov ecx, ebx
call fcn.00452c00
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
jne 0x4283bd
lea ecx, [edi + 0x358]
call fcn.0041d3d0
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x4283dd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov eax, dword [ebx + 4]
mov ecx, edi
sub eax, dword [ebx]
sar eax, 2
push eax
mov dword [ebp - 4], 1
mov dword [edi + 0x684], eax
call fcn.0042a280
mov eax, dword [edi + 0x34c]
mov edx, dword [edi + 0x564]
mov dword [ebp - 0x30], eax
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x2c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428350
sub eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0040f770
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0047c580
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407a40
mov ecx, dword [edi + 0x34c]
call fcn.0047b280
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov ecx, dword [edi + 0x34c]
sar eax, 2
push eax
call fcn.0047c560
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4283bd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.004c6f1e
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00409540
int3
Function at 0x4293e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d600
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x70]
call fcn.00448820
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429440
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f770
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00449090
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4294a7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42949d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429618
push edx
push ecx
call fcn.004c6c76
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
push str.show
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040f770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00448f50
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x42952e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42961d
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42956f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp ecx, 1
jne 0x429558
push ecx
push 0x54c6d0
push eax
call fcn.0040f900
add esp, 0xc
test eax, eax
je 0x42956f
lea eax, [ebp - 0x28]
push 0x54c6d4
push eax
call fcn.004146c0
add esp, 8
test al, al
je 0x4295ab
jmp 0x429594
push 0
push 1
push 0x18
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 1
mov ecx, esi
call fcn.00458930
push dword [esi + 4]
call fcn.0042d5f0
add esp, 4
call fcn.0040c470
mov ecx, eax
call fcn.00411ca0
test eax, eax
je 0x4295ab
mov ecx, esi
call fcn.00424440
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4295e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4295d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429622
push edx
push ecx
call fcn.004c6c76
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004489a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
call fcn.0050d599
call fcn.0050d599
call fcn.0050d599
int3
Function at 0x4296f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d653
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429740
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f770
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.00448770
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4297ad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429948
push edx
push ecx
call fcn.004c6c76
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
push 0x54c728
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040f770
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
call fcn.00448f50
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x429837
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42982d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42994d
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
cmp esi, 8
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 9
jne 0x429877
push 9
push str.startmenu
push eax
call fcn.0040f900
add esp, 0xc
test eax, eax
jne 0x429877
call fcn.00415ea0
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
push str.open_menu
jmp 0x4298cb
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 7
jne 0x4298b4
push 7
push str.desktop
push eax
call fcn.0040f900
add esp, 0xc
test eax, eax
jne 0x4298b4
call fcn.00415ea0
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
push str.open_lnk
jmp 0x4298cb
call fcn.00415ea0
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
push str.open_others
mov dword [ecx + 0x24], 0
mov ecx, eax
call fcn.0044c8e0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42990f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429905
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429952
push edx
push ecx
call fcn.004c6c76
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004489a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
call fcn.0050d599
call fcn.0050d599
call fcn.0050d599
int3
Function at 0x42a6c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004c7190
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.00509f10
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x42a7b6
test edi, edi
je 0x42a7b6
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42a7b6
cmp eax, 0x3fff
ja 0x42a7b6
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42a7b6
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x54c8b4
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42a7b6
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.00509f10
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x54c8b8
lea eax, [esi - 1]
push eax
push edi
call fcn.0042a940
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret

Function at 0x42a9d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42aa41
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42aa41
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42aa41
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x42aa41
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x42aa3b
push esi
push ebx
push edi
call fcn.00509410
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x42aa3b
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42be40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0x660026
mov dword [ebp - 0x1c], 0x6f0072
mov dword [ebp - 0x18], 0x3d006d
mov dword [ebp - 0x14], 0x6e0061
mov dword [ebp - 0x10], 0x730079
mov dword [ebp - 0xc], 0x610065
mov dword [ebp - 8], 0x630072
mov dword [ebp - 4], 0x68
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x42bed8
mov eax, dword [ecx]
push 2
push 0xf
call dword [eax]
test eax, eax
je 0x42bee2
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xf
jl 0x42bece
mov dword [eax - 0xc], 0xf
xor eax, eax
mov ecx, dword [esi]
push 0x1e
mov word [ecx + 0x1e], ax
lea eax, [ebp - 0x20]
push eax
push 0x1e
push dword [esi]
call fcn.004112d0
add esp, 0x10
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00409540
push 0x80004005
call fcn.00409540
call fcn.0040d7f0
int3
Function at 0x42bef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xf0], 0x740068
push edi
mov dword [ebp - 0xec], 0x700074
mov dword [ebp - 0xe8], 0x2f003a
mov dword [ebp - 0xe4], 0x77002f
mov dword [ebp - 0xe0], 0x770077
mov dword [ebp - 0xdc], 0x2e0031
mov dword [ebp - 0xd8], 0x320035
mov dword [ebp - 0xd4], 0x6f0074
mov dword [ebp - 0xd0], 0x6c006f
mov dword [ebp - 0xcc], 0x6f0062
mov dword [ebp - 0xc8], 0x2e0078
mov dword [ebp - 0xc4], 0x6f0063
mov dword [ebp - 0xc0], 0x2f006d
mov dword [ebp - 0xbc], 0x650073
mov dword [ebp - 0xb8], 0x760072
mov dword [ebp - 0xb4], 0x630069
mov dword [ebp - 0xb0], 0x2f0065
mov dword [ebp - 0xac], 0x6e0069
mov dword [ebp - 0xa8], 0x650064
mov dword [ebp - 0xa4], 0x2e0078
mov dword [ebp - 0xa0], 0x740068
mov dword [ebp - 0x9c], 0x6c006d
mov dword [ebp - 0x98], 0x70003f
mov dword [ebp - 0x94], 0x640069
mov dword [ebp - 0x90], 0x7b003d
mov dword [ebp - 0x8c], 0x690070
mov dword [ebp - 0x88], 0x7d0064
mov dword [ebp - 0x84], 0x6d0026
mov dword [ebp - 0x80], 0x640069
mov dword [ebp - 0x7c], 0x7b003d
mov dword [ebp - 0x78], 0x69006d
mov dword [ebp - 0x74], 0x7d0064
mov dword [ebp - 0x70], 0x6d0026
mov dword [ebp - 0x6c], 0x3d0032
mov dword [ebp - 0x68], 0x6d007b
mov dword [ebp - 0x64], 0x640069
mov dword [ebp - 0x60], 0x7d0032
mov dword [ebp - 0x5c], 0x610026
mov dword [ebp - 0x58], 0x700070
mov dword [ebp - 0x54], 0x650076
mov dword [ebp - 0x50], 0x3d0072
mov dword [ebp - 0x4c], 0x61007b
mov dword [ebp - 0x48], 0x700070
mov dword [ebp - 0x44], 0x650076
mov dword [ebp - 0x40], 0x7d0072
mov dword [ebp - 0x3c], 0x6f0026
mov dword [ebp - 0x38], 0x3d0073
mov dword [ebp - 0x34], 0x6f007b
mov dword [ebp - 0x30], 0x7d0073
mov dword [ebp - 0x2c], 0x690026
mov dword [ebp - 0x28], 0x73006e
mov dword [ebp - 0x24], 0x640074
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x3d0065
mov dword [ebp - 0x18], 0x69007b
mov dword [ebp - 0x14], 0x73006e
mov dword [ebp - 0x10], 0x640074
mov dword [ebp - 0xc], 0x740061
mov dword [ebp - 8], 0x7d0065
mov word [ebp - 4], ax
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x42c15a
mov eax, dword [ecx]
push 2
push 0x76
call dword [eax]
test eax, eax
je 0x42c164
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x76
jl 0x42c150
mov dword [eax - 0xc], 0x76
xor eax, eax
mov ecx, dword [esi]
push 0xec
mov word [ecx + 0xec], ax
lea eax, [ebp - 0xf0]
push eax
push 0xec
push dword [esi]
call fcn.004112d0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00409540
push 0x80004005
call fcn.00409540
call fcn.0040d7f0
int3
Function at 0x42c230
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push 0x210
push 0
push eax
call fcn.00509f10
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x108
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.0042b1c0
pop esi
test eax, eax
jne 0x42c2b7
push str._n_Adjustprivilege:_CreateProcess_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
Function at 0x42c2d0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5815f8
push 0x50a0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58f574]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x28]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x42c34a
cmp dword [ebp - 0x28], edi
je 0x42c34a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c382
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x42c464
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42c464
cmp dword [ebp - 0x28], 0
je 0x42c464
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 2
push dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x42c464
cmp dword [ebp - 0x2c], eax
jbe 0x42c464
call esi
cmp eax, 0x7a
jne 0x42c464
push dword [ebp - 0x2c]
call fcn.0051850c
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x42c464
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push edi
push 2
push dword [ebp - 0x28]
call ebx
test eax, eax
je 0x42c464
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x42c464
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42c464
cmp dword [ebp - 0x30], 0
je 0x42c464
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x42c464
lea ebx, [edi + esi*8]
push dword [ebp - 0x30]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42c44d
inc esi
jmp 0x42c430
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042c491
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret 8
Function at 0x42cf90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42cfa3
xor al, al
pop ebp
ret
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
xor bl, bl
test edi, edi
je 0x42d012
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x42cfdc
mov esi, dword [esi]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push eax
call fcn.00509410
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
movzx ebx, bl
mov ecx, 1
push edi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
Function at 0x42d560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42d5d6
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42d5cf
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00518708
add esp, 8
test eax, eax
je 0x42d5cd
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d5a6
jmp 0x42d5cf
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret

Function at 0x42d650
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d948
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58f574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
cmp word [0x595f10], 0
mov dword [ebp - 4], 0
je 0x42d6b3
mov ecx, 0x595f10
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d6a6
jmp 0x42d71c
push 0
push 0x1a
push 0x595f10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
push 0x595f10
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x595f10
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d6f6
push 0x595f10
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, 0x595f10
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d711
sub ecx, edx
sar ecx, 1
push ecx
push 0x595f10
mov ecx, esi
call fcn.0040f770
lea ecx, [ebp + 0xc]
call fcn.00407a40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret