joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55affc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0xc], edi
cmp dword [esp + 0x30], edi
je 0x47a689
push edi
push 0xffffffffffffffff
push 0x56ba1c
mov dword [esi + 4], 0x5784f4
call fcn.00402e30
add esp, 0xc
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x2c]
push edi
push edi
push eax
mov ecx, esi
call fcn.0047a3c0
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x24]
mov dword [esi], vtable.cDlgPageOptions.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], 0x34
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x18], 0x495550
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x88
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10

Function at 0x47aca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x55b144
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x34], edi
je 0x47ad13
push edi
push 0xffffffffffffffff
push 0x56ba1c
mov dword [esi + 4], 0x578604
call fcn.00402e30
add esp, 0xc
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x8c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x1a0]
push edi
push 1
push eax
mov ecx, esi
call fcn.0047a3c0
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x28]
push edi
push 0x5b0e58
push 0x5b06a4
mov dword [esi], vtable.cDlgPageLH.0
mov edx, dword [ecx + 4]
push edi
push ebx
mov dword [esp + 0x34], 1
mov dword [edx + esi + 4], eax
call fcn.0051b3ef
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x70], edi
mov dword [eax], 0x34
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x18], 0x495550
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80
add esp, 0x14
mov dword [esi + 0x70], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x47d300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55b3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
push 1
mov ecx, esi
call fcn.00459420
mov edi, dword [esp + 0x30]
push SysReAllocString
push edi
call fcn.0047d140
push eax
mov eax, esi
call fcn.0047d280
mov esi, dword [esi + 0x248]
xor edi, edi
add esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
cmp esi, edi
je 0x47d36e
push esi
lea ecx, [esp + 0x10]
call fcn.00404c80
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], edi
call fcn.00406710
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004047f0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x47d850
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp]
push eax
mov ecx, esi
call edx
lea eax, [esp]
push eax
mov ecx, eax
push ecx
call fcn.004b9fa0
mov edx, dword [edi]
mov edx, dword [edx + 4]
add esp, 8
lea eax, [esp]
push eax
mov ecx, edi
call edx
lea eax, [esp]
push 0
push eax
call fcn.004b7280
add esp, 8
test eax, eax
jne 0x47d8c4
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0051916c
add esp, 0x20c
ret
mov edx, dword [esi]
mov edx, dword [edx + 4]
push ebx
lea eax, [esp + 4]
push eax
mov ecx, esi
call edx
call fcn.0045e770
cmp dword [0x5b1f24], 0xffffffff
mov ebx, eax
jne 0x47d904
push 0x5b1f24
mov dword [0x5b1f24], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, ebx
call fcn.0046b950
test eax, eax
je 0x47d933
cmp dword [0x5b1f24], 0
setg al
test al, al
je 0x47d933
lea eax, [esp + 4]
push 1
push eax
call fcn.004b7280
add esp, 8
test eax, eax
je 0x47d933
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 4]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20c]
mov eax, dword [esi + 8]
add eax, dword [edi + 8]
pop ebx
xor ecx, esp
call fcn.0051916c
add esp, 0x20c
ret
Function at 0x47e2f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x55b5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x74], 0
jne 0x47e32f
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x10]
call fcn.0049eff0
mov dword [esp + 8], vtable.cWCStr.0
mov eax, dword [0x5b9f28]
push 1
push 1
push 0x27
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
call fcn.004b5af0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [edx + esi + 0x14]
lea ecx, [edx + esi + 4]
push 0x472
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 8], vtable.cWCS.0
call fcn.0049ee80
mov ecx, esi
call fcn.0047d3b0
push 0
push 0
push esi
push 0x47d400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x78], eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4813a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x268
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
push edi
lea eax, [esp + 0x168]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esi + 0x274]
push 0x301
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x178]
push edx
call eax
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x481402
mov ecx, dword [esp + 8]
mov dword [esi + 0x280], ecx
jmp 0x481410
mov edx, dword [esi + 0x3c]
push 5
push edx
call edi
mov dword [esi + 0x280], eax
mov eax, dword [esi + 0x3c]
push 4
push eax
call edi
mov ecx, dword [esp + 0x26c]
mov dword [esi + 0x284], eax
xor eax, eax
cmp dword [esi + 0x280], eax
pop edi
setne al
pop esi
xor ecx, esp
call fcn.0051916c
add esp, 0x268

Function at 0x481890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [0x5b85f1], 0
ret
sub esp, 0x70
cmp byte [0x5b85f1], 0
push ebp
mov ebp, dword [esp + 0x78]
jne 0x481a37
push ebx
push esi
push edi
lea eax, [esp + 0x13]
call fcn.004815d0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push ebp
or ebx, 0xffffffff
mov byte [esp + 0x20], 0
mov byte [esp + 0x23], 0
call edi
xor esi, esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x481a2b
mov edi, edi
push 0x34
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00519500
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x104b
push ebp
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], esi
call edi
push 0xf000
push esi
push 0x102c
push ebp
call edi
shr eax, 0xc
dec eax
cmp eax, 1
sete al
cmp dword [esp + 0x3c], 0
jne 0x48199c
cmp dword [esp + 0x88], esi
jne 0x48194e
mov byte [esp + 0x10], 1
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov ebx, esi
jmp 0x4819e5
cmp ebx, 0xffffffff
je 0x481989
cmp byte [esp + 0x10], 0
jne 0x481989
mov al, byte [esp + 0x11]
cmp al, byte [esp + 0x12]
je 0x481989
xor edx, edx
test al, al
setne dl
lea eax, [esp + 0x4c]
push eax
push ebx
push 0x102b
push ebp
mov dword [esp + 0x6c], 0xf000
inc edx
shl edx, 0xc
mov dword [esp + 0x68], edx
call edi
mov byte [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov ebx, esi
jmp 0x4819e5
cmp ebx, 0xffffffff
je 0x481a2b
cmp byte [esp + 0x10], 0
je 0x4819d5
xor ecx, ecx
cmp byte [esp + 0x13], cl
lea edx, [esp + 0x4c]
setne cl
push edx
push esi
push 0x102b
push ebp
mov dword [esp + 0x6c], 0xf000
inc ecx
shl ecx, 0xc
mov dword [esp + 0x68], ecx
call edi
jmp 0x4819e5
test al, al
je 0x4819e0
mov byte [esp + 0x11], 1
jmp 0x4819e5
mov byte [esp + 0x12], 1
inc esi
cmp esi, dword [esp + 0x14]
jl 0x4818e0
cmp ebx, 0xffffffff
je 0x481a2b
cmp byte [esp + 0x10], 0
jne 0x481a2b
mov al, byte [esp + 0x11]
cmp al, byte [esp + 0x12]
je 0x481a2b
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x4c]
push edx
push ebx
push 0x102b
push ebp
mov dword [esp + 0x6c], 0xf000
inc ecx
shl ecx, 0xc
mov dword [esp + 0x68], ecx
call edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x70
jmp 0x4815e0
pop ebp
add esp, 0x70
ret
Function at 0x484440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55be48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x70]
push 0xffffffffffffffff
push eax
mov byte [esi + 0x78], 1
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov ecx, dword [esi + 0x68]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push ecx
call edi
mov edx, dword [esi + 0x6c]
push 0
push 0
push 0x1009
push edx
call edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4844a7
add eax, 4
jmp 0x4844a9
xor eax, eax
push 0
push 0
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00416600
mov dword [esp + 0x38], 0
xor edi, edi
mov eax, dword [esi + 0x74]
cmp edi, dword [eax + 0x8c]
jl 0x4844d2
xor eax, eax
jmp 0x4844dd
mov eax, dword [eax + 0x88]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push 0
push 0x5b0e6c
push 0x5b05e0
push 0
push eax
call fcn.0051b3ef
add esp, 0x14
test eax, eax
je 0x484503
push eax
mov ecx, esi
call fcn.00483d90
inc edi
jmp 0x4844c3
lea ecx, [esp + 0xc]
mov byte [esi + 0x78], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], vtable.cSharedPointer.0
call fcn.00416230
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret

Function at 0x4856a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55bfbf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x34], ebx
je 0x48570a
push ebx
push 0xffffffffffffffff
push 0x56ba1c
mov dword [esi + 4], 0x578b1c
call fcn.00402e30
add esp, 0xc
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x80], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 1
push ebx
mov ecx, esi
call fcn.00405a60
push 0xffffffffffffffff
lea edi, [esi + 0x54]
push ebx
mov ecx, edi
mov dword [esp + 0x28], 2
mov dword [esi], vtable.cDlgPage.0
call fcn.0049eff0
mov dword [edi], vtable.cWCStr.0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x64], ebx
mov dword [esi], vtable.cDlgPageLogFile.0
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov dword [ecx + esi + 4], edx
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], 0x34
mov dword [eax + 4], ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 4]
mov dword [eax + 8], ecx
mov dword [eax + 0x18], 0x495550
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0xc7
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x4895a0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x55c148
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ecx + esi + 4]
push 0x489
push edx
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 0x14]
lea eax, [ecx + esi + 4]
push 0x487
push edx
call edi
lea ebp, [esi + 0x68]
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.0043af00
mov bl, al
mov eax, dword [esp + 0x14]
movzx edi, bl
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x18]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
je 0x48969c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.0049eff0
mov dword [esp + 0x1c], vtable.cWCStr.0
mov edx, dword [0x5b81c4]
mov eax, dword [0x5b81c0]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], 0
call fcn.0043c160
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + esi + 0x14]
push ecx
lea esi, [eax + esi + 4]
push 0x487
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x1c], vtable.cWCS.0
call fcn.0049ee80
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x48ba30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55c358
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
call fcn.0049eff0
mov dword [esp + 0xc], vtable.cWCStr.0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov eax, esi
and eax, edi
mov dword [esp + 0x24], 0
cmp eax, 0xffffffff
jne 0x48ba9b
mov ecx, dword [0x5b9f28]
push 1
push 1
push 0x53
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b5af0
jmp 0x48baa1
mov edx, esi
or edx, edi
je 0x48bab0
push 0
push 0
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.004be6b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push eax
push 0x4a0
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x48be00
Capabilities:
Create thread

Disassembly:
call fcn.0046e8b0
or ecx, 0xffffffff
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, eax
jmp fcn.00478580
Function at 0x48d8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55c648
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
push edi
push esi
call fcn.004b3470
add esp, 8
push 0xffffffffffffffff
cmp eax, 1
push 0
lea ecx, [esp + 0x24]
sete bl
call fcn.0049eff0
mov dword [esp + 0x1c], vtable.cWCStr.0
mov ecx, dword [0x5b9f28]
movzx eax, bl
neg eax
sbb eax, eax
push 1
and eax, 0xffffffec
push 1
add eax, 0x8c
push eax
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0
call fcn.004b5af0
push 0x800
lea ecx, [esp + 0x10]
call fcn.0049f020
mov dword [esp + 0xc], vtable.cWCStr.0
mov edx, dword [0x5b9f28]
push 1
push 1
push 0xc8
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 1
call fcn.00423a50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push 0x100004
push 0
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push esi
mov byte [esp + 0x60], 2
call fcn.004aa0c0
add esp, 0x1c
test al, al
jne 0x48da1b
mov esi, vtable.cWCS.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
mov dword [esp + 0x2c], esi
call fcn.0049ee80
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
mov dword [esp + 0xc], esi
call fcn.0049ee80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
mov edx, dword [esp + 0x10]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48da24
sub eax, ebx
sar eax, 1
cmp word [edx + eax*2 + 2], cx
jne 0x48d9c9
push edx
push edi
push esi
call fcn.0048d410
mov esi, vtable.cWCS.0
add esp, 0xc
lea ecx, [esp + 0x2c]
mov bl, al
mov byte [esp + 0x44], 1
mov dword [esp + 0x2c], esi
call fcn.0049ee80
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
mov dword [esp + 0xc], esi
call fcn.0049ee80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x1c], esi
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x4905d0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x44
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ebp, dword [esp + 0x50]
xor ebx, ebx
push esi
push edi
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
xor edi, edi
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 1
call fcn.00404130
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.004902d0
test eax, eax
je 0x49070f
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push 1
mov ecx, esi
mov dword [esp + 0x2c], 0xc200ffff
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 3
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], edx
call fcn.004903b0
test eax, eax
jne 0x49070f
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x49070f
push 1
push edi
mov ecx, esi
call fcn.00490410
test eax, eax
je 0x49070f
mov edx, dword [esp + 0x14]
push ebx
push edx
push 1
push edi
mov ecx, esi
call fcn.00490460
test eax, eax
je 0x49070f
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
push ebp
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebp, eax
jmp 0x490711
mov ebp, ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x490720
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, ebx
je 0x490731
push eax
call esi
cmp edi, ebx
je 0x490738
push edi
call esi
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0051916c
add esp, 0x44
ret
Function at 0x491e80
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, eax
mov esi, ecx
xor ecx, ecx
cmp edi, 7
jle 0x491ef0
push ebp
mov ebp, esi
mov edx, 7
sub ebp, ebx
mov eax, ebx
sub edx, ebx
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
movzx ebx, byte [esi + ecx + 4]
xor byte [eax + 4], bl
movzx ebx, byte [esi + ecx + 5]
xor byte [eax + 5], bl
movzx ebx, byte [esi + ecx + 6]
xor byte [eax + 6], bl
movzx ebx, byte [esi + ecx + 7]
xor byte [eax + 7], bl
add eax, 8
lea ebx, [edx + eax]
add ecx, 8
cmp ebx, edi
jl 0x491ea0
mov ebx, dword [esp + 0x14]
pop ebp
cmp ecx, edi
jge 0x491f0b
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ecx
jmp 0x491f00
mov cl, byte [eax + esi]
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x491f00
pop edi
pop esi
pop ebx
ret

Function at 0x492370
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x34
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x30], eax
xor eax, eax
push ebx
push eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], al
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x20
lea edx, [esp + 0x20]
push edx
push 0xc
lea eax, [esp + 0x1c]
push eax
push 0x2d1400
push ecx
mov dword [esp + 0x28], 0xb
xor bl, bl
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4923f1
mov al, byte [esp + 0x1c]
and al, 1
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0051916c
add esp, 0x34
ret
mov ecx, dword [esp + 0x34]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0051916c
add esp, 0x34
ret

Function at 0x492500
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push 0
push 0x104
push esi
push edi
call fcn.004bba30
add esp, 0x10
test eax, eax
jne 0x492525
mov word [esi], ax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop edi
pop esi
test eax, eax
je 0x492562
mov eax, dword [esp + 0x24]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
add esp, 0x18
ret
Function at 0x4925f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55c9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0049eff0
mov dword [esp + 0xc], vtable.cWCSF.0
mov edx, dword [esp + 0x44]
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x1c]
push str..PHYSICALDRIVE_d
push eax
mov dword [esp + 0x54], 0
call fcn.00403e80
add esp, 0x10
push eax
call fcn.00492570
add esp, 0xc
lea ecx, [esp + 0xc]
movzx esi, al
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
test esi, esi
jne 0x4926b7
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret
mov eax, dword [esp + 0x30]
mul dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
push ecx
push edx
push eax
call fcn.0051c280
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.0051c280
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x38
ret