joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024ff0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x10022780
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x20]
mov dword [0x100c4abc], 0
test eax, eax
je 0x1002503e
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1002503e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x10022ae0
push 0
push 0x65
push dword [0x10074ba4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x24]
dec eax
neg eax
sbb eax, eax
and eax, 0x4c7
mov dword [ebp - 8], eax
test esi, esi
je 0x10025098
mov dword [esi], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10025082
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10025093
push dword [esi + 0x14]
push dword [esi + 4]
push dword [esi]
call eax
mov eax, 0x3e5
pop esi
mov esp, ebp
pop ebp
ret 0x20

Function at 0x100250c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x10022780
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100c4abc], 0
mov dword [ebp - 0xc], eax
cmp eax, 1
jne 0x10025114
lea eax, [ebp - 0x18]
push eax
push 0x10022c30
push 0
push 0x67
jmp 0x10025126
cmp eax, 2
jne 0x10025132
lea eax, [ebp - 0x18]
push eax
push 0x10022c30
push 0
push 0x66
push dword [0x10074ba4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x1002513e
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x1002515d
mov dword [eax], 0
mov dword [eax + 0x18], 0
mov eax, 0x3e5
mov esp, ebp
pop ebp
ret 0x24
xor eax, eax
mov esp, ebp
pop ebp
ret 0x24

Function at 0x100251d0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WS2_32.dll_connect]

Function at 0x100252f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
mov ecx, 2
mov word [eax], cx
mov dword [ebp + 0x18], eax
pop ebp
jmp dword [sym.imp.WS2_32.dll_sendto]

Function at 0x100253f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
mov ecx, 2
mov word [eax], cx
mov dword [ebp + 0x1c], eax
pop ebp
jmp dword [sym.imp.WS2_32.dll_WSASendTo]
Function at 0x10025440
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x10025525
push esi
push edi
push 0x100b7970
push 0
call fcn.100229f0
mov edi, 0x100b7970
add esp, 8
lea ecx, [edi - 2]
nop dword [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10025470
mov eax, dword [str.Online_]
mov dword [ecx], eax
mov eax, dword [0x10055ac0]
mov dword [ecx + 4], eax
mov eax, dword [0x10055ac4]
mov dword [ecx + 8], eax
mov eax, dword [0x10055ac8]
mov dword [ecx + 0xc], eax
mov ax, word [0x10055acc]
push 0
push 0x100b7970
mov word [ecx + 0x10], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0x18]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100254b7
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100254d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100b7970
pop edi
sub ebx, ecx
pop esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ebx + ecx - 2], ax
test ax, ax
jne 0x100254f3
mov ecx, 0x100b7970
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025510
mov eax, dword [ebp + 0x20]
sub ecx, edx
sar ecx, 1
inc ecx
mov dword [eax], ecx
xor eax, eax
pop ebx
pop ebp
ret 0x1c

Function at 0x10025550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x1c]
push 0x10054e64
push dword [ebp + 0xc]
mov dword [edi], 0
mov eax, dword [ecx*8 + 0x10073048]
mov dword [edi + 8], eax
mov eax, dword [ecx*8 + 0x1007304c]
mov dword [edi + 0xc], eax
call fcn.100321d1
mov esi, eax
add esp, 8
test esi, esi
jne 0x10025594
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret 0x1c
push ebx
push 2
push 0
push esi
call fcn.10032903
push esi
call fcn.10032f1f
mov ebx, eax
add esp, 0x10
cmp dword [ebp + 0x10], ebx
jae 0x100255bb
pop ebx
pop edi
mov eax, 0x7a
pop esi
pop ebp
ret 0x1c
push 0
push 0
push esi
call fcn.10032903
push esi
push ebx
push 1
push dword [ebp + 0x14]
call fcn.1003250c
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov esi, dword [ebp + 0x20]
mov dword [edi], ebx
mov eax, dword [ecx*8 + 0x10073048]
mov dword [edi + 8], eax
mov eax, dword [ecx*8 + 0x1007304c]
mov dword [edi + 0xc], eax
test esi, esi
je 0x10025633
mov eax, dword [esi + 0xc]
mov dword [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
test eax, eax
je 0x10025616
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10025627
push dword [esi + 0x14]
push dword [esi + 4]
push dword [esi]
call eax
pop ebx
pop edi
mov eax, 0x3e5
pop esi
pop ebp
ret 0x1c
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x1c
Function at 0x10025640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10054edc
push dword [ebp + 0xc]
call fcn.100321d1
mov esi, eax
add esp, 8
test esi, esi
je 0x10025671
push esi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0x14]
call fcn.10033149
push esi
call fcn.10032276
add esp, 0x14
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x100256ae
mov eax, dword [esi + 0xc]
mov dword [esi], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10025693
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100256a4
push dword [esi + 0x14]
push dword [esi + 4]
push dword [esi]
call eax
mov eax, 0x3e5
pop esi
pop ebp
ret 0x14
xor eax, eax
pop esi
pop ebp
ret 0x14
Function at 0x100262d0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
jbe 0x100264a3
push ebx
push edi
mov edi, dword [ebp + 0x10]
add edi, 0x20
mov esi, dword [edi - 0x10]
mov ebx, esi
push 0x100b7970
push dword [ebp + 8]
shr ebx, 0x1c
call fcn.100229f0
mov ecx, 0x100b7970
add esp, 8
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10026306
mov eax, dword [str.Offline_]
mov dword [ecx], eax
mov eax, dword [0x10055a48]
mov dword [ecx + 4], eax
mov eax, dword [0x10055a4c]
mov dword [ecx + 8], eax
mov eax, dword [0x10055a50]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10055a54]
push 0
push 0x100b7970
mov dword [ecx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
and esi, 0x3fff
sub esi, 0x3ffd
je 0x100263ff
sub esi, 1
je 0x100263b2
sub esi, 1
jne 0x10026453
mov ecx, 0x100b7970
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10026370
mov eax, dword [str.Title1.dat]
mov dword [ecx], eax
mov eax, dword [0x10055a5c]
mov dword [ecx + 4], eax
mov eax, dword [0x10055a60]
mov dword [ecx + 8], eax
mov eax, dword [0x10055a64]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10055a68]
mov dword [ecx + 0x10], eax
mov ax, word [0x10055a6c]
mov word [ecx + 0x14], ax
jmp 0x10026453
mov ecx, 0x100b7970
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100263c0
mov eax, dword [str.Title2.dat]
mov dword [ecx], eax
mov eax, dword [0x10055a74]
mov dword [ecx + 4], eax
mov eax, dword [0x10055a78]
mov dword [ecx + 8], eax
mov eax, dword [0x10055a7c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10055a80]
mov dword [ecx + 0x10], eax
mov ax, word [0x10055a84]
mov word [ecx + 0x14], ax
jmp 0x10026453
mov eax, 0x100b7970
add eax, 0xfffffffe
nop word [eax + eax]
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x10026410
mov ecx, dword [str.Title3.dat]
mov dword [eax], ecx
mov ecx, dword [0x10055a8c]
mov dword [eax + 4], ecx
mov ecx, dword [0x10055a90]
mov dword [eax + 8], ecx
mov ecx, dword [0x10055a94]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x10055a98]
mov dword [eax + 0x10], ecx
mov cx, word [0x10055a9c]
mov word [eax + 0x14], cx
push 0x10054edc
push 0x100b7970
call fcn.100321d1
mov esi, eax
add esp, 8
test esi, esi
je 0x10026494
cmp ebx, 6
jne 0x1002648b
push esi
push 4
push 1
push edi
call fcn.10033149
push esi
push dword [edi]
push 1
push dword [edi + 4]
call fcn.10033149
add esp, 0x20
push esi
call fcn.10032276
add esp, 4
add edi, 0x28
sub dword [ebp + 0xc], 1
jne 0x100262e6
pop edi
pop ebx
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100264e0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x18], 0
mov dword [esi], 0
test eax, eax
je 0x100264c5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100264d6
push dword [esi + 0x14]
push dword [esi + 4]
push dword [esi]
call eax
mov eax, 0x3e5
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x10040f08
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10040d7e
Function at 0x40a130
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push 0x497a94
push SysReAllocString
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocString
mov esi, eax
call edi
test esi, esi
je 0x40a197
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x40a185
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x40a185
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.0046fdcd
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
Function at 0x40a230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2720
call fcn.00484a00
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x270f
mov esi, ecx
lea ecx, [ebp - 0x2713]
push 0
push ecx
mov ebx, edx
mov dword [ebp - 0x2720], eax
mov byte [ebp - 0x2715], 0
mov byte [ebp - 0x2714], 0
call fcn.00476c40
mov eax, esi
add esp, 0xc
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a280
push edi
lea edi, [ebp - 0x2714]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a291
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x40a2f6
lea edi, [ebp - 0x2714]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a2b2
mov dx, word [0x497f14]
mov eax, ebx
mov word [edi], dx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a2c8
lea edi, [ebp - 0x2714]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a2e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0x271c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x2714]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
test eax, eax
jne 0x40a39b
mov esi, dword [ebp - 0x2720]
test esi, esi
je 0x40a355
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a332
sub eax, edx
mov edx, dword [ebp - 0x271c]
inc eax
push eax
push esi
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40a376
mov eax, dword [ebp - 0x271c]
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x271c]
mov bl, byte [ebp - 0x2715]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2715]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret

Function at 0x40a3c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2714
call fcn.00484a00
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x270f
lea eax, [ebp - 0x2713]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x2714], 0
call fcn.00476c40
mov eax, esi
add esp, 0xc
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a400
lea edi, [ebp - 0x2714]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a410
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2714]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
test eax, eax
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
Function at 0x4150e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491db8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4ae9fc]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp word [esi], 0xc
jne 0x415124
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
jmp 0x41513b
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dx, word [esi]
mov word [esp + 0xc], dx
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
xor ecx, ecx
cmp eax, ecx
jge 0x4151a8
mov dword [esp + 0x20], vtable.tcomxException.0
mov dword [esp + 0x28], vtable.tStringBuffer.0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
mov ebx, dword [str.Internal_Error]
lea esi, [esp + 0x28]
mov dword [esp + 0x24], ecx
call fcn.0040b280
mov edx, dword [esp + 0x30]
push edx
mov ecx, 0x4965dc
call fcn.004091c0
add esp, 4
push 0x4aa4e0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x48], 0xffffffff
call fcn.004769de
mov edx, dword [esp + 0x10]
push 0xffff
push ecx
push ecx
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
push edi
mov dword [eax + 0xc], edx
call fcn.00412a60
add esp, 0x20
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
sar eax, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + 5]
push esi
cmp eax, 4
ja case.0x41b377.2
jmp dword [eax*4 + 0x41b454]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
or dword [esi + 0x68], 4
test eax, eax
je 0x41b3a8
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
jne 0x41b3a8
mov eax, dword [esi + 0x5c]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 8]
xor eax, eax
add ecx, 0xffffffbc
cmp edx, 0xfffffffc
sete al
push eax
call fcn.0041bb00
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 8]
push eax
call edx
test byte [esi + 0x68], 4
je 0x41b408
mov eax, dword [esi + 0x5c]
and dword [esi + 0x68], 0xfffffffb
test eax, eax
je 0x41b408
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x41b408
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, str.FAIL
test edx, edx
jle 0x41b435
push 0x30e
push 0x4b02cc
call fcn.0041a8a0
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0x31a
push str.Unrecognized_Negative_verb_in_DoVerb__.__bad.
call fcn.0041a8a0
add esp, 8
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x420cc0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x420cb0
call fcn.00470b77
add esp, 4
call fcn.00420b70
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x420d4e
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x420d14
mov edx, dword [ebp - 0x18]
push edx
jmp 0x420d48
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044ac40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3c1
mov esp, ebp
pop ebp
ret
Function at 0x420ff0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x10
lea edx, [eax + 1]
jmp 0x421000
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421000
push esi
push edi
sub eax, edx
lea esi, [eax + ebx]
push 0x5c
push ebx
mov dword [ebp - 4], esi
call fcn.00470c00
xor ecx, ecx
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x421030
mov dword [ebp - 0xc], ebx
jmp 0x421030
cmp byte [esi], 0x5c
jne 0x421046
inc esi
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov byte [esi], 0x5f
mov eax, dword [0x498ea0]
mov dword [ecx + esi], eax
mov edx, dword [0x498ea4]
mov dword [ecx + esi + 4], edx
mov al, byte [0x498ea8]
mov byte [ecx + esi + 8], al
test ebx, ebx
je 0x4210af
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x4210ac
lea ecx, [esi + esi + 2]
push ecx
call fcn.0046f13d
add esp, 4
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [edi + esi*2 - 2], dx
mov esi, dword [ebp - 4]
jmp 0x4210b1
mov esi, dword [ebp - 4]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov dword [ebp - 0x10], eax
call fcn.0046f103
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4210eb
mov eax, dword [ebp - 0xc]
push 0x2e
push eax
call fcn.004702e0
add esp, 8
test eax, eax
je 0x4210f3
cmp eax, esi
ja 0x4210f3
mov ecx, dword [ebp - 8]
mov byte [eax], 0x5c
jmp 0x421030
pop edi
mov eax, ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x4971a8
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x444e78
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444e88
sub eax, edx
mov edi, eax
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0x18], edi
mov ecx, edi
cmp edi, eax
jb 0x444ec6
movzx edx, byte [esi + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
mov esi, dword [esp + 0x10]
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x444ea3
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x444f46
jmp 0x444ee0
cmp dword [edx + 0xc], edi
jne 0x444f40
test edi, edi
je 0x444eef
test byte [edx + 7], 0x10
jne 0x444f40
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x444f14
lea esp, [esp]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x444f38
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x444f00
test eax, eax
je 0x444f86
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x444f38
cmp eax, 1
jbe 0x444f86
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x444f38
cmp eax, 2
jbe 0x444f86
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x444f86
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [edx]
test edx, edx
jne 0x444ee0
mov edx, dword [ebp + 8]
push ebx
push edi
push esi
push edx
call fcn.00446570
add esp, 0x10
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x10c
jl 0x444e74
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x444fa4
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x444f55