joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c3e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push eax
push 1
lea ecx, [esp + 8]
push 4
push ecx
mov dword [esp + 0x10], 0
call fcn.0052edba
add esp, 0x10
cmp eax, 1
je 0x43c405
or eax, 0xffffffff
pop ecx
ret
mov eax, dword [esp + 8]
mov edx, dword [esp]
mov dword [eax], edx
xor eax, eax
pop ecx
ret

Function at 0x43c790
Capabilities:
Get disk information

Disassembly:
sub esp, 0x1c
push esi
push edi
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x43c872
cmp dword [0x59d5d0], 0x80000000
jb 0x43c820
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
push 0x3300
push 0x803
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.WINMM.dll_mciSendCommandA]
push 0
mov dword [esp + 0x28], 0x204
call esi
test eax, eax
jne 0x43c8aa
mov ecx, dword [esp + 0x14]
push eax
push 0x100
push 0x80d
push ecx
call esi
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x804
push edx
call esi
xor eax, eax
pop edi
pop esi
add esp, 0x1c
ret
movsx eax, byte [esi]
push eax
push str.._c:
lea esi, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.00401180
mov eax, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x43c84a
add eax, 4
jmp 0x43c84c
xor eax, eax
push 0
push 1
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x59e064]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c87d
lea edi, [esp + 8]
call fcn.00401070
mov eax, 9
pop edi
pop esi
add esp, 0x1c
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x74808
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 8]
call fcn.00401070
xor eax, eax
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x43ca70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [0x58aca8]
test ebx, ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x43ca90
mov ebx, dword [0x587c94]
test ebx, ebx
jne 0x43ca90
mov ebx, dword [0x59b4c8]
push 0x55ac7c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x43caf0
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
call fcn.00469960
test eax, eax
je 0x43cac2
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43caf0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x43caf0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push eax
push edx
call fcn.00519ac0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
ret
Function at 0x43d390
Capabilities:
Get file version info

Disassembly:
mov eax, dword [eax]
sub esp, 0x14
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x43d3a2
add eax, 4
jmp 0x43d3a4
xor eax, eax
push eax
lea esi, [esp + 0x18]
call fcn.0044bc90
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esp + 0x18], 0
je 0x43d3c3
lea eax, [ebx + 4]
jmp 0x43d3c5
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x43d413
push edi
call fcn.0044ce70
mov ebp, eax
add esp, 4
mov esi, ebp
neg esi
sbb esi, esi
and esi, edi
test ebx, ebx
je 0x43d3f2
add ebx, 4
jmp 0x43d3f4
xor ebx, ebx
push ebp
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43d427
test esi, esi
je 0x43d413
test ebp, ebp
je 0x43d413
push ebp
call fcn.0044d390
add esp, 4
lea edi, [esp + 0x14]
call fcn.00401070
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push 0x5577e0
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x43d465
test esi, esi
je 0x43d451
test ebp, ebp
je 0x43d451
push ebp
call fcn.0044d390
add esp, 4
lea edi, [esp + 0x14]
call fcn.00401070
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov eax, dword [esp + 0x1c]
je 0x43d477
movzx edx, word [eax + 0xa]
mov dword [ecx], edx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43d48a
mov edx, dword [eax + 8]
and edx, 0xffff
mov dword [ecx], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x43d498
movzx edx, word [eax + 0xe]
mov dword [ecx], edx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43d4aa
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov dword [ecx], eax
test esi, esi
je 0x43d4bb
test ebp, ebp
je 0x43d4bb
push ebp
call fcn.0044d390
add esp, 4
lea edi, [esp + 0x14]
call fcn.00401070
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
Function at 0x447d10
Capabilities:
Encode data using xor

Disassembly:
push esi
xor ecx, ecx
xor esi, esi
cmp dword [edi + 0xc], ecx
jbe 0x447d51
push ebx
mov ebx, dword [edi + 8]
push ebp
nop
test ebx, ebx
jbe 0x447d47
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x10]
imul eax, esi
lea eax, [edx + eax*4 + 3]
mov edx, ebx
movzx ebp, byte [eax]
imul ebp, ebp, 0x71
xor ebp, ecx
rol ebp, 1
add eax, 4
sub edx, 1
mov ecx, ebp
jne 0x447d33
add esi, 1
cmp esi, dword [edi + 0xc]
jb 0x447d20
pop ebp
pop ebx
mov eax, dword [esp + 8]
cmp ecx, dword [eax + 0x358]
pop esi
je 0x447d69
mov dword [eax + 0x358], ecx
mov al, 1
ret 4
xor al, al
ret 4
Function at 0x449b00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
mov dword [esi], vtable.ytCallBase.0
call edi
fild qword [esp + 4]
lea ecx, [esp + 4]
push ecx
fstp qword [esi + 0x10]
call edi
fild qword [esp + 4]
mov edx, dword [esp + 0x10]
mov eax, esi
pop edi
fstp qword [esi + 0x18]
mov dword [esi + 0x20], 0
mov dword [esi + 8], edx
mov dword [esi], vtable.ytCallback_class_ytDrawUI_.0
add esp, 8
ret 4

Function at 0x44a260
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x577830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x44a285
call fcn.00401070
mov dword [edi], 0
mov bl, byte [0x59e110]
test bl, bl
je 0x44a29b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
jmp 0x44a2a5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
test esi, esi
je 0x44a30a
add esi, 1
test bl, bl
je 0x44a2d4
lea eax, [esi + esi]
call fcn.0051d230
mov edx, dword [ebp + 8]
mov ebx, esp
push esi
push ebx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
push ebx
mov eax, edi
call fcn.0044a000
jmp 0x44a30a
test esi, esi
jne 0x44a2dc
mov dword [edi], esi
jmp 0x44a30a
push 0
push esi
push edi
call fcn.00449c70
cmp dword [edi], 0
je 0x44a30a
mov eax, edi
call fcn.00449d40
mov edi, dword [edi]
test edi, edi
je 0x44a2fc
lea eax, [edi + 4]
jmp 0x44a2fe
xor eax, eax
push esi
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120db
mov esp, ebp
pop ebp
ret 4
Function at 0x453560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edi + 0x1a4]
sub esp, 0x78
shr eax, 1
push ebx
push ebp
push esi
je 0x453679
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
jbe 0x453679
fld1
mov eax, dword [edi + 0x1a0]
fldz
mov esi, vtable.ytUIEvent.0
fxch st(1)
mov dword [esp + 0x10], esi
fst dword [esp + 0x38]
mov byte [esp + 0x5c], 1
fst dword [esp + 0x48]
mov dword [esp + 0x78], ebx
fstp dword [esp + 0x58]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], bl
mov byte [esp + 0x74], bl
fst dword [esp + 0x3c]
mov dword [esp + 0x60], ebx
fst dword [esp + 0x40]
mov dword [esp + 0x30], ebx
fst dword [esp + 0x44]
mov dword [esp + 0x18], 0x1b
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fstp dword [esp + 0x70]
fldz
fstp qword [esp + 0x20]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call edx
mov eax, dword [esp + 0x78]
cmp eax, ebx
mov dword [esp + 0x10], esi
je 0x453666
movzx ecx, byte [eax]
cmp ecx, 0x80
mov esi, eax
jae 0x453666
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x453655
movzx edx, byte [esi]
cmp edx, 0x80
jae 0x453650
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x453655
mov eax, 0xff
cmp eax, ebx
jne 0x453666
mov eax, dword [esp + 0x78]
push eax
call fcn.0044d390
add esp, 4
mov ecx, dword [edi + 0x1a4]
add ebp, 1
shr ecx, 1
cmp ebp, ecx
jb 0x453580
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x78
ret
Function at 0x456400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
test dword [esi + 0x1a4], 0xfffffffe
push edi
mov dword [esp + 0x10], ebx
jbe 0x45654e
fld1
mov eax, dword [ebp + 8]
fldz
mov ecx, dword [esi + 0x1a0]
mov edx, dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0x40]
mov edi, vtable.ytUIEvent.0
fst dword [esp + 0x50]
mov dword [esp + 0x18], edi
fstp dword [esp + 0x60]
mov byte [esp + 0x64], 1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x84], bl
fst dword [esp + 0x44]
mov byte [esp + 0x85], bl
fst dword [esp + 0x48]
mov byte [esp + 0x7c], bl
fst dword [esp + 0x4c]
mov dword [esp + 0x68], ebx
fst dword [esp + 0x54]
mov dword [esp + 0x38], ebx
fst dword [esp + 0x58]
mov dword [esp + 0x20], 0x21
fst dword [esp + 0x5c]
mov dword [esp + 0x14], ebx
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fldz
fstp qword [esp + 0x28]
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + edx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
push esi
call eax
cmp eax, 0xf4240
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], edi
je 0x456578
cmp eax, ebx
je 0x456533
movzx ecx, byte [eax]
cmp ecx, 0x80
mov edi, eax
jae 0x456533
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x45651f
movzx edx, byte [edi]
cmp edx, 0x80
jae 0x45651a
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x45651f
mov eax, 0xff
cmp eax, ebx
jne 0x456533
mov eax, dword [esp + 0x80]
push eax
call fcn.0044d390
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1a4]
add eax, 1
shr ecx, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x456424
cmp byte [esi + 0x213], bl
jne 0x4565f6
mov ecx, dword [esi + 0x244]
cmp ecx, ebx
je 0x4565d6
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0x70]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, ebx
je 0x4565cb
movzx edx, byte [eax]
cmp edx, 0x80
mov esi, eax
jae 0x4565cb
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4565b7
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x4565b2
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4565b7
mov eax, 0xff
cmp eax, ebx
jne 0x4565cb
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0044d390
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi + 0x213], bl
jne 0x4565f6
mov esi, dword [esi + 0x244]
cmp esi, ebx
jne 0x4565d6
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x244]
cmp ecx, ebx
je 0x4565e8
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x58]
push edx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4568e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
xor eax, eax
xor ebx, ebx
test dword [edi + 0x1a4], 0xfffffffe
push esi
mov dword [esp + 8], eax
jbe 0x456a34
fld1
fldz
mov ecx, dword [edi + 0x1a0]
mov dword [esp + 0xc], ebx
mov esi, dword [ecx + eax*4]
cmp esi, ebx
je 0x456a15
mov edx, dword [esi]
fxch st(1)
mov edx, dword [edx + 0xc]
fst dword [esp + 0x38]
fst dword [esp + 0x48]
lea eax, [esp + 0xc]
fstp dword [esp + 0x58]
push eax
lea ecx, [esp + 0x14]
fst dword [esp + 0x40]
push ecx
fst dword [esp + 0x48]
push edi
fst dword [esp + 0x50]
mov ecx, esi
fst dword [esp + 0x58]
mov dword [esp + 0x1c], vtable.ytUIEvent.0
fst dword [esp + 0x5c]
mov byte [esp + 0x68], 1
fst dword [esp + 0x60]
mov dword [esp + 0x84], ebx
fst dword [esp + 0x70]
mov dword [esp + 0x40], ebx
fst dword [esp + 0x74]
mov byte [esp + 0x88], bl
fst dword [esp + 0x78]
mov byte [esp + 0x89], bl
fstp dword [esp + 0x7c]
mov byte [esp + 0x80], bl
fldz
mov dword [esp + 0x6c], ebx
fstp qword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], 0x20
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esp + 0x78]
invalid
Function at 0x458b20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
mov dword [ebp + 0x20], 0xffffffff
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 0x10]
add edx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
add eax, ecx
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
push edi
lea eax, [esp + 0x18]
lea esi, [esp + 0x38]
mov ecx, ebp
mov dword [esp + 0x20], edx
call fcn.004594f0
cmp eax, 3
je 0x458c3a
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jge 0x458c3a
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub edx, ecx
mov dword [esp + 0x14], edx
mov edi, edi
mov edx, dword [ebp + 4]
mov esi, dword [ebp + 0x10]
imul edx, eax
add edx, ecx
lea edi, [esi + edx*4 - 4]
mov esi, dword [ebx + 0x14]
mov edx, eax
sub edx, dword [ebx + 0x10]
imul edx, dword [ebx + 4]
sub edx, dword [ebx + 0xc]
add edx, ecx
lea esi, [edx + esi - 1]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x458c29
movzx eax, byte [esi + 1]
add esi, 1
shl eax, 0x18
and eax, 0xff568fb7
or eax, 0x568fb7
mov ecx, eax
shr ecx, 0x18
add ecx, 1
mov ebx, eax
and ebx, 0xffff00ff
imul ebx, ecx
mov ebp, eax
and ebp, 0xff00
imul ebp, ecx
xor ebx, ebp
mov ebp, eax
and ebp, 0xff00ff
imul ebp, ecx
and ebx, 0xff0000
xor ebx, ebp
shr ebx, 8
and eax, 0xff000000
sub edx, 1
add edi, 4
or ebx, eax
test edx, edx
mov dword [edi], ebx
jne 0x458bbc
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jl 0x458b90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x18
Function at 0x45ad70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
push edi
xor edi, edi
test eax, eax
jbe 0x45add7
push ebx
push ebp
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x18
add ecx, 1
mov ebx, eax
and ebx, 0xffff00ff
imul ebx, ecx
mov ebp, eax
and ebp, 0xff00
imul ebp, ecx
xor ebx, ebp
mov ebp, eax
and ebp, 0xff00ff
imul ebp, ecx
and ebx, 0xff0000
xor ebx, ebp
shr ebx, 8
and eax, 0xff000000
or ebx, eax
mov dword [edx], ebx
mov ecx, dword [esi + 0xc]
imul ecx, dword [esi + 8]
add edi, 1
add edx, 4
cmp edi, ecx
jb 0x45ad83
pop ebp
pop ebx
xor eax, eax
pop edi
ret
Function at 0x461250
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
mov dword [esi], vtable.ytCallBase.0
call edi
fild qword [esp + 4]
lea ecx, [esp + 4]
push ecx
fstp qword [esi + 0x10]
call edi
fild qword [esp + 4]
mov edx, dword [esp + 0x10]
mov eax, esi
pop edi
fstp qword [esi + 0x18]
mov dword [esi + 0x20], 0
mov dword [esi + 8], edx
mov dword [esi], vtable.ytCallback_class_ytBicubicNode_.0
add esp, 8
ret 4

Function at 0x461360
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x4613db
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4613ca
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
setne al
pop ebx
xor ecx, esp
call fcn.005120db
add esp, 0x14
ret
Function at 0x461ef0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x59b584]
push esi
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x461ee0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x461f31
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret
Function at 0x46cdf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
mov dword [esi], vtable.ytCallBase.0
call edi
fild qword [esp + 4]
lea ecx, [esp + 4]
push ecx
fstp qword [esi + 0x10]
call edi
fild qword [esp + 4]
mov edx, dword [esp + 0x10]
mov eax, esi
pop edi
fstp qword [esi + 0x18]
mov dword [esi + 0x20], 0
mov dword [esi + 8], edx
mov dword [esi], vtable.ytCallback_class_ytButtonNode_.0
add esp, 8
ret 4

Function at 0x46d080
Capabilities:
Get disk information

Disassembly:
push ecx
mov cl, al
sub cl, 0x41
cmp cl, 0x19
ja 0x46d08d
add al, 0x20
mov dl, al
sub dl, 0x61
cmp dl, 0x19
ja 0x46d0db
add al, 0x9f
push esi
movzx esi, al
cmp word [esi*2 + 0x582d4c], 0xffff
jne 0x46d0d0
add al, 0x61
mov byte [esp + 4], al
lea eax, [esp + 4]
push eax
mov byte [esp + 9], 0x3a
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov word [esi*2 + 0x582d4c], ax
movsx eax, word [esi*2 + 0x582d4c]
pop esi
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x46de10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, eax
cmp dword [esi], 0
push edi
je 0x46de2f
mov eax, dword [esi + 4]
test eax, eax
je 0x46de2f
push eax
call fcn.0044d390
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x46de9a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x46de5b
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0
call fcn.00469960
test eax, eax
jne 0x46de9d
mov eax, dword [ebx + 4]
test eax, eax
mov esi, dword [esi + 4]
mov dword [esp + 0x14], edi
je 0x46de9a
push 0
lea ecx, [esp + 0x18]
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46de52
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0046d0e0
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov eax, dword [ebx + 0x10]
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x46df40
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x46df75
mov ecx, dword [edx]
mov edx, dword [edx + 4]
push esi
push 0
lea esi, [esp + 8]
push esi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
je 0x46df67
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 4
jmp fcn.0046d0e0
mov eax, dword [ecx + 0x10]
pop ecx
ret
Function at 0x46f7f0
Capabilities:
Parse url

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
jne 0x46f80c
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, ebx
mov dword [esp + 0x1c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f820
sub eax, edx
push ebx
lea edi, [esp + 0x20]
call fcn.0044a090
mov esi, dword [esp + 0x1c]
cmp dword [ebp], esi
je 0x46f870
mov edi, ebp
call fcn.00401070
test esi, esi
mov dword [ebp], esi
je 0x46f870
movzx eax, byte [esi]
cmp eax, 0x80
jae 0x46f869
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x46f870
mov eax, ebp
call fcn.00449d40
lea edi, [esp + 0x1c]
call fcn.00401070
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46f880
add ebp, 4
push ebp
push 0
sub eax, edx
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xfffffffc
pop ebp
add eax, 4
pop ebx
pop ecx
ret 8
Function at 0x4701a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
xor esi, esi
cmp dword [ebx + 8], esi
push edi
jne 0x4701b9
mov eax, dword [ebx + 0x14]
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [ebx + 8]
cmp eax, esi
je 0x4701d5
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4701d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebx + 8]
xor ebp, ebp
cmp eax, esi
jne 0x4701e3
mov eax, dword [ebx + 0x14]
jmp 0x4701fd
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x47020e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.0046d0e0
cmp eax, esi
jne 0x4702af
cmp ebp, 0xffffffff
je 0x4702af
cmp ebp, esi
mov dword [esp + 0x14], esi
je 0x47022f
lea eax, [ebp + 1]
cmp eax, esi
jne 0x470223
mov dword [esp + 0x14], esi
jmp 0x47022f
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00449c70
lea esi, [esp + 0x14]
invalid

Function at 0x477a80
Capabilities:
Encode data using xor

Disassembly:
cmp dword [eax + 0x230], 0
je 0x477ad9
push ebx
push ebp
push esi
mov edx, 1
mov esi, 0x100
mov eax, edi
mov ebx, edi
and ebx, 0xff00ff
mov ebp, eax
imul ebx, edx
shr ebp, 8
and ebp, 0xffff00ff
imul ebp, edx
shr eax, 8
and eax, 0xff00ff
imul eax, edx
shr ebx, 8
xor ebx, ebp
and ebx, 0xff00ff
xor ebx, eax
mov dword [ecx], ebx
add ecx, 4
add edx, 1
sub esi, 1
jne 0x477a96
pop esi
pop ebp
pop ebx
ret

Function at 0x47a851
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp byte [esi + 0x94], 0
mov esi, dword [esp + 0xc]
mov ebx, eax
je 0x47a8b0
cmp dword [esi + 4], 0x102
je 0x47a8b0
cmp word [esi + 8], 9
jne 0x47a8b0
cmp byte [0x59b495], 0
jne 0x47a88a
xor al, al
jmp 0x47a897
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
push 0
movsx ecx, al
push ecx
push 0x28
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov eax, 0xf4240
pop ebx
ret 4
cmp byte [0x59b495], 0
push edi
je 0x47a8de
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
shr eax, 0xf
and al, 1
jne 0x47a8e9
cmp byte [0x59b495], al
je 0x47a8de
push 0x12
call edi
shr eax, 0xf
and al, 1
jne 0x47a8e9
pop edi
pop esi
mov eax, 0xf4241
pop ebx
ret 4
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
ret 4