joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58518e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K17_FIDVID_Control.0
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x4773c0
push 0x10
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x4773e7
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00494dc0
jmp 0x4773e9
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 8
mov byte [esp + 0x24], bl
jl 0x4773c0
push 0x10
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x477421
push 0xc0010293
mov ecx, eax
call fcn.00494dc0
mov dword [esi + 0x34], eax
jmp 0x477424
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x492740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x585c18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPCIDevice.0
mov eax, dword [esi + 0x30]
xor edi, edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x492788
push eax
call fcn.00551dba
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x4927a6
call fcn.00460530
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x4927a3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x4927c4
call fcn.00460530
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x4927c1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x4927d6
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x18], edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x4927e8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x4927fb
push eax
call fcn.00551dba
add esp, 4
mov dword [esi + 0x38], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004894e0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4945d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x214]
push edi
lea edi, [esi + 0x214]
xor eax, eax
cmp ecx, 0xffffffff
je 0x494645
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x220]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x494627
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x49462c
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x494643
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x494650
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x218]
push edi
lea edi, [esi + 0x218]
xor eax, eax
cmp ecx, 0xffffffff
je 0x4946c5
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x21c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4946a7
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x4946ac
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x4946c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x4a65a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x84]
push edi
push esi
call fcn.0047ac10
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
cmp edi, 0xffffffff
je 0x4a67f4
mov eax, dword [esi + 0x170]
cmp eax, ebp
je 0x4a67f4
cmp dword [esi + 0x174], ebp
je 0x4a67f4
cmp dword [esi + 0x180], ebp
je 0x4a67f4
cmp dword [esi + 0x17c], ebp
je 0x4a67f4
mov edx, dword [esi + 0x110]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x4a67e7
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x4a67e7
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.00551daf
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x170]
push edx
call eax
add esp, 0x10
test eax, eax
jne 0x4a67dd
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x4a67dd
mov ebp, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x174]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x20
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x4a67d2
mov eax, dword [esp + 0x38]
sub eax, 0
je 0x4a674b
sub eax, 1
jne 0x4a67d2
cmp dword [esp + 0x90], eax
je 0x4a6716
push 0x38
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.005635a0
mov ecx, dword [esi + 0x180]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x4a67d2
fld qword [esp + 0x78]
fstp dword [ebp + 8]
jmp 0x4a67ca
mov ecx, dword [esi + 0x17c]
xor eax, eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
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 + 0x18], 0x18
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
jmp 0x4a67bc
cmp dword [esp + 0x90], 0
je 0x4a6789
push 0x38
lea edx, [esp + 0x54]
push 0
push edx
call fcn.005635a0
mov edx, dword [esi + 0x180]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 0x14
test eax, eax
jne 0x4a67d2
fld qword [esp + 0x78]
jmp 0x4a67c7
mov edx, dword [esi + 0x17c]
xor eax, eax
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
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x4a67d2
fld qword [esp + 0x28]
fstp dword [ebp + 4]
mov dword [esp + 0x14], 1
inc edi
cmp edi, dword [esp + 0x10]
jb 0x4a6674
push ebx
call fcn.00551dba
add esp, 4
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x78
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x78
ret 0xc
Function at 0x4bca50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x586b28
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x10
call fcn.004894f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
xor edi, edi
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x2c]
mov dword [esi + 0x18], ecx
mov cl, byte [esp + 0x30]
push 0x200
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDrive.0
mov dword [esi + 0x10], edi
mov byte [esi + 0x20], dl
mov byte [esi + 0x21], al
mov byte [esi + 0x22], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.00551daf
push 0x5bb48b
push 0x200
push eax
mov dword [esi + 0x34], eax
call fcn.00564635
push 0x200
call fcn.00551daf
push 0x5bb48b
push 0x200
push eax
mov dword [esi + 0x38], eax
call fcn.00564635
push 0x200
call fcn.00551daf
push 0x5bb48b
push 0x200
push eax
mov dword [esi + 0x3c], eax
call fcn.00564635
push 0x20
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.00551d80
fld qword [0x5cadb8]
add esp, 0x34
cmp eax, edi
je 0x4bcb46
fld dword [0x5cadb0]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4bcb4a
fstp st(0)
xor eax, eax
push 0x20
mov dword [esi + 0x48], eax
call fcn.00551d80
add esp, 4
cmp eax, edi
je 0x4bcb78
fld dword [0x5cadb0]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5cadb8]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4bcb7a
xor eax, eax
push 0x20
mov dword [esi + 0x4c], eax
call fcn.00551d80
add esp, 4
cmp eax, edi
je 0x4bcba8
fld dword [0x5cadb0]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5cadb8]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4bcbaa
xor eax, eax
push 0x20
mov dword [esi + 0x50], eax
call fcn.00551d80
add esp, 4
cmp eax, edi
je 0x4bcbd8
fld dword [0x5cadb0]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5cadb8]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4bcbda
xor eax, eax
mov dword [esi + 0x54], eax
or eax, 0xffffffff
mov ecx, 1
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x4bd880
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.00565580
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
mov ebx, dword [esp + 0x1044]
push esi
mov esi, dword [esp + 0x1044]
push edi
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.005635a0
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 1
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x4bd93f
push 0x1000
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.005642c0
add esp, 0xc
mov eax, 1
jmp 0x4bd988
push 0
lea edx, [esp + 0x10]
push edx
push 0x1030
lea eax, [esp + 0x1c]
push eax
push 0x1030
mov ecx, eax
push ecx
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call edi
test eax, eax
je 0x4bd986
push 0x1000
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.005642c0
add esp, 0xc
mov eax, 1
jmp 0x4bd988
xor eax, eax
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x1038
ret 8

Function at 0x4bd9b0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.00565580
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
push esi
mov esi, dword [esp + 0x1044]
push edi
mov edi, dword [esp + 0x104c]
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.005635a0
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 2
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
call ebx
test eax, eax
je 0x4bda67
mov ecx, 0x80
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x4bda94
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
push 0x1030
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call ebx
test eax, eax
jne 0x4bda55
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x1038
ret 8
Function at 0x4bdab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.00565580
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
mov esi, dword [esp + 0x105c]
push edi
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.005635a0
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
mov byte [esp + 0x78], 1
call edi
test eax, eax
je 0x4bdc3c
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call edi
test eax, eax
je 0x4bdc3c
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
movzx edi, byte [esp + eax + 0x58]
add ecx, edi
movzx edi, byte [esp + eax + 0x59]
add ebx, edi
movzx edi, byte [esp + eax + 0x5a]
add edx, edi
movzx edi, byte [esp + eax + 0x5b]
add eax, 4
add esi, edi
cmp eax, 0x200
jl 0x4bdbf4
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x4bdc3c
push 0x1000
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.005642c0
add esp, 0xc
mov eax, 1
jmp 0x4bdc3e
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x104c
ret 8
Function at 0x4bdc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.00565580
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x105c]
push edi
mov edi, dword [esp + 0x1064]
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.005635a0
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
mov eax, 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x5c], al
mov al, 0xff
lea edx, [esp + 0x14]
push edx
push 0x244
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], al
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
call ebp
test eax, eax
je 0x4bde00
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call ebp
test eax, eax
je 0x4bde00
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
jmp 0x4bddc0
movzx ebp, byte [esp + eax + 0x58]
add ecx, ebp
movzx ebp, byte [esp + eax + 0x59]
add ebx, ebp
movzx ebp, byte [esp + eax + 0x5a]
add edx, ebp
movzx ebp, byte [esp + eax + 0x5b]
add eax, 4
add esi, ebp
cmp eax, 0x200
jl 0x4bddc0
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x4bde00
mov ecx, 0x80
lea esi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x4bde02
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00562d51
add esp, 0x104c
ret 8
Function at 0x54f121
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.rootwmi
mov ebx, ecx
call esi
push str.MSSmBios_RawSMBiosTables
mov dword [ebp - 0x18], eax
call esi
push str.SMBiosData
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
push 2
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x54f2be
push esi
push 2
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x54f190
cmp eax, 0x80010119
jne 0x54f273
lea eax, [ebp - 4]
push eax
push 0x5b73dc
push 1
push esi
push 0x5b749c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x54f273
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x18]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x54f273
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push esi
push esi
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x54f273
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xfa0
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], 1
jne 0x54f273
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x38]
push edx
push esi
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x10]
mov eax, 0x2011
cmp word [ebp - 0x38], ax
jne 0x54f273
mov eax, dword [ebp - 0x30]
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
cmp edi, esi
je 0x54f272
cmp edi, 0x4000
jle 0x54f259
push dword [ebx + 0x14]
call fcn.00551dba
push edi
call fcn.00551daf
pop ecx
pop ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x24]
push edi
push dword [eax + 0xc]
push dword [ebx + 0x14]
call fcn.005642c0
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov word [eax + 6], di
pop edi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x54f283
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x54f293
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x54f2a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x554c9a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x554cbe
cmp dword [edi + 0x54], 0
jne 0x554cbe
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0055279a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00554c5b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5550be
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x589d71
call fcn.00565102
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x5550e3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x555129
lea ecx, [ebp - 0x10]
call fcn.00401f4d
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00552869
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040220d
mov eax, esi
call fcn.005651da
ret 8

Function at 0x55cf7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x55cfc2
call fcn.0055279a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x55cfc2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x55cfde
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0055caf3
mov esi, eax
test edi, edi
je 0x55cfdc
test ebx, ebx
je 0x55cfdc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4