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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x594584]
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.0040f730
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret 4
Function at 0x428190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5426a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x594584]
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 [0x59a91c], 0
jne 0x4281f8
call fcn.00415e60
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.0044cca0
mov dword [0x59a91c], 1
mov esi, dword [ebx + 0x654]
add ebx, 0x30
mov ecx, ebx
call fcn.004525b0
push esi
mov ecx, eax
call fcn.00450f60
mov esi, dword [ebp - 0x2c]
mov ecx, ebx
mov edi, eax
mov esi, dword [esi + 0x658]
call fcn.004525b0
push esi
mov ecx, eax
call fcn.00450f60
mov esi, dword [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.00458a90
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.00415dc0
mov ecx, eax
call fcn.0040c9b0
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.00452fc0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 0
jne 0x42837d
lea ecx, [edi + 0x358]
call fcn.0041d390
mov ebx, eax
mov dword [ebp - 4], 0
call fcn.0040c4c0
mov ecx, eax
test ecx, ecx
je 0x42839d
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.0042a240
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 0x428310
sub eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0040f730
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0047c950
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407a40
mov ecx, dword [edi + 0x34c]
call fcn.0047b650
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov ecx, dword [edi + 0x34c]
sar eax, 2
push eax
call fcn.0047c930
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42837d
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.004cc1ce
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00409540
int3
Function at 0x4293a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542830
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x594584]
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.00448bd0
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 0x429400
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f730
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.00449440
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x429467
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42945d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4295d8
push edx
push ecx
call fcn.004cbf26
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.0040f730
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.00449300
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4294ee
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4294e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4295dd
push edx
push ecx
call fcn.004cbf26
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42952f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp ecx, 1
jne 0x429518
push ecx
push 0x5516b8
push eax
call fcn.0040f8c0
add esp, 0xc
test eax, eax
je 0x42952f
lea eax, [ebp - 0x28]
push 0x5516bc
push eax
call fcn.00414680
add esp, 8
test al, al
je 0x42956b
jmp 0x429554
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.00458d00
push dword [esi + 4]
call fcn.0042d5a0
add esp, 4
call fcn.0040c430
mov ecx, eax
call fcn.00411c60
test eax, eax
je 0x42956b
mov ecx, esi
call fcn.00424400
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4295a1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4295e2
push edx
push ecx
call fcn.004cbf26
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.00448d50
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.004cc1ce
mov esp, ebp
pop ebp
ret
call fcn.005127d9
call fcn.005127d9
call fcn.005127d9
int3
Function at 0x4296b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542883
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x594584]
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 0x429700
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040f730
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.00448b20
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x42976d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429763
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429908
push edx
push ecx
call fcn.004cbf26
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
push 0x551710
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.0040f730
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
call fcn.00449300
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4297f7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42990d
push edx
push ecx
call fcn.004cbf26
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 0x429837
push 9
push str.startmenu
push eax
call fcn.0040f8c0
add esp, 0xc
test eax, eax
jne 0x429837
call fcn.00415e60
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
push str.open_menu
jmp 0x42988b
cmp esi, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 7
jne 0x429874
push 7
push str.desktop
push eax
call fcn.0040f8c0
add esp, 0xc
test eax, eax
jne 0x429874
call fcn.00415e60
sub esp, 0x28
mov ecx, esp
push 0
push 0
push 1
push 0
push str.open_lnk
jmp 0x42988b
call fcn.00415e60
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.0044cca0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4298cf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4298c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429912
push edx
push ecx
call fcn.004cbf26
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.00448d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret
call fcn.005127d9
call fcn.005127d9
call fcn.005127d9
int3
Function at 0x42a680
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004cc440
mov eax, dword [0x594584]
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.0050f150
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x42a776
test edi, edi
je 0x42a776
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42a776
cmp eax, 0x3fff
ja 0x42a776
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42a776
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x5518a4
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42a776
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.0050f150
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 0x5518a8
lea eax, [esi - 1]
push eax
push edi
call fcn.0042a900
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret

Function at 0x42a990
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 0x42aa01
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42aa01
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42aa01
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x42aa01
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 0x42a9fb
push esi
push ebx
push edi
call fcn.0050e650
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 0x42a9fb
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 0x42be00
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.0040c4c0
mov ecx, eax
test ecx, ecx
je 0x42be98
mov eax, dword [ecx]
push 2
push 0xf
call dword [eax]
test eax, eax
je 0x42bea2
push esi
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0xf
jl 0x42be8e
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.00411290
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.0040d7b0
int3
Function at 0x42beb0
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.0040c4c0
mov ecx, eax
test ecx, ecx
je 0x42c11a
mov eax, dword [ecx]
push 2
push 0x76
call dword [eax]
test eax, eax
je 0x42c124
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x76
jl 0x42c110
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.00411290
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.0040d7b0
int3
Function at 0x42c1f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x594584]
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.0050f150
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.0042b180
pop esi
test eax, eax
jne 0x42c277
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.004cc1ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret
Function at 0x42c290
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5863d8
push 0x50f2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x594584]
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 0x42c30a
cmp dword [ebp - 0x28], edi
je 0x42c30a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c342
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x42c424
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 0x42c424
cmp dword [ebp - 0x28], 0
je 0x42c424
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 0x42c424
cmp dword [ebp - 0x2c], eax
jbe 0x42c424
call esi
cmp eax, 0x7a
jne 0x42c424
push dword [ebp - 0x2c]
call fcn.0051d74c
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x42c424
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 0x42c424
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x42c424
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 0x42c424
cmp dword [ebp - 0x30], 0
je 0x42c424
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x42c424
lea ebx, [edi + esi*8]
push dword [ebp - 0x30]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42c40d
inc esi
jmp 0x42c3f0
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.0042c451
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.004cc1ce
mov esp, ebp
pop ebp
ret 8
Function at 0x42cf40
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 0x42cf53
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 0x42cfc2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x42cf8c
mov esi, dword [esi]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push eax
call fcn.0050e650
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 0x42d510
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x594584]
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 0x42d586
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42d57f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0051d948
add esp, 8
test eax, eax
je 0x42d57d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d556
jmp 0x42d57f
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.004cc1ce
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542b78
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x594584]
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 [0x59af50], 0
mov dword [ebp - 4], 0
je 0x42d663
mov ecx, 0x59af50
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 0x42d656
jmp 0x42d6cc
push 0
push 0x1a
push 0x59af50
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 0x59af50
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x59af50
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d6a6
push 0x59af50
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, 0x59af50
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 0x42d6c1
sub ecx, edx
sar ecx, 1
push ecx
push 0x59af50
mov ecx, esi
call fcn.0040f730
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