joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001427a
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d
mov dword [esp + 0x19], edi
add esp, 0x19
push esi
push 0
je 0x10014292
add edx, 0
add dword [esp], ecx
push edx
push ebx
pop ebx
sub edx, edx
je 0x100142a8
dec esp
xchg ebp, eax
stosb byte es:[edi], al
wait
cmp byte [ecx], dl
jbe 0x1001431b
in al, 0x4d
add dl, byte [ebx]
or edx, 0xffffffff
push ecx
call 0x100142c6
dec esi
outsd dx, dword [esi]
jl 0x100142bd
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x74a6a002], 0xcc
and edx, dword [ecx + 4]
sub esp, 4
mov dword [esp], 0x760b497b
xor dword [esp], 0x760b497b
add edi, dword [esp]
lea esp, [esp + 4]
test edx, esi
mov ecx, dword [ecx]
js 0x100142ed
sub esi, 0
add esp, 8
pop ecx
pop esi
pop edi
mov esp, ebp
lea esp, [esp - 0x40]
xchg dword [esp + 0x40], ebp
mov dword [esp + 0x40], ebp
lea esp, [esp + 0x44]
push 0xffffffffffffffc8
call 0x10014316
popal
xchg byte [edi + 0x74], al
popfd
adc ah, bl
loopne 0x100142ae
pop esi
add esp, 8
jmp 0x10014322
push ebp
push 0x5b
clc
sal dword [esi], 1
aaa
ret 0xc

Function at 0x10015cf2
Capabilities:
Encode data using xor

Disassembly:
push 0
push ecx
mov ecx, esp
call 0x10015c16
int 0x82
call 0x10015c20
xchg ebx, eax
ror cl, 1
into
out dx, eax
add esp, 8
or dword [ecx + 4], ebp
pop ecx
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea esp, [esp - 4]
mov dword [esp], edx
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi + 0xc00]
mov esi, 0x7159b292
xor ecx, ecx
jne 0x1041b8c1
not ecx
and ecx, 0xfa
mov dword [edi], esi
js 0x10015c5e
add edi, 0
jns 0x10015c63
sub edx, 0
add edi, 4
inc esi
push esi
call fcn.100054e6
or dword [esp - 0x6d], esi
jb 0x10015c79
sub eax, 0
cmp al, 0xff
jne 0x10015c66
inc esi
dec ecx
jne 0x10015c54
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi]
mov esi, 0x7159b7be
push 0x300
lea eax, [esi]
push 0x40
push 0xec7b
push ecx
mov ecx, esp
jne 0x10015caf
sub edx, 0
jmp 0x10015cc8
and dword [ecx + 4], eax
or dword [ecx + 4], eax
pop ecx
call fcn.10005bed
mov eax, eax
and eax, 0x3ff
xchg ecx, esi
and esi, 0
add esi, 9
xor dword [esp - 0x5e], ebx
push 0x45
call 0x10015cf2
lcall 0x9f1, 0x8708c483
pop esp
and al, 0xd3
cmp eax, 3
je 0x10015d1b
mov ecx, 0x49
xor dword [esp - 0x3d], esi
cmp eax, 4
je 0x10015d1b
mov ecx, 1
mov dword [edi], esi
add edi, 4
push esi
call fcn.10015f01
mov edx, 4
xor dword [esp - 0x12], edx
mul edx
add esi, eax
dec ecx
jne 0x10015d20
mov dword [esp - 0x3f], esi
dec dword [esp]
jne 0x10015c9a
add esp, 4
xor edx, edx
jne 0x1041b9c7
sub edx, edx
or edx, dword [esp]
add esp, 4
pop ecx
pop ebx
pop esi
xchg dword [esp], edi
mov dword [esp], edi
lea esp, [esp + 4]
leave
ret 4
Function at 0x1001781d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp - 0x52]
xchg dword [esp + 0x4e], ebp
mov ebp, dword [esp + 0x4e]
lea esp, [esp + 0x4e]
mov ebp, esp
add dword [esp - 0x18], esi
sub esp, 8
push edi
push esi
push edx
push ecx
push ebx
push ebp
push 0xffffffffffffffff
push 0x715913d8
lea esp, [esp - 4]
mov dword [esp], 0x71581491
push 0xffffffffffffffff
call fcn.10008325
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
Function at 0x10017c31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 8
and al, 3
push 0x30254a91
call 0x10017c31
div bh
int 0x82
add esp, 8
and eax, 3
push eax
call fcn.100177e8
ja 0x10017c45
sub edi, 0
add dword [esp - 0x37], edi
test dword [edx + 0x68], eax
je 0x10017cd1
test dword [edx + 0x70], 0x100
jne 0x10017c84
mov al, byte [esi + 1]
and dword [esp - 0x35], esi
jmp 0x10017c6d
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.100177e8
test dword [edx + 0x70], eax
je 0x10017cd1
test dword [edx + 0x6c], 0x100
jne 0x10017cb0
add dword [esp - 0x18], edx
mov al, byte [esi + 1]
and al, 7
and eax, 7
push eax
call fcn.100177e8
and dword [esp - 0x1b], ecx
test dword [edx + 0x6c], eax
je 0x10017cd1
Function at 0x10017dd8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x10017de5
and eax, 0xa108abfa
mov byte [edi + 0x8c483b4], 0xc0
call 0x9503f0f1
fdiv dword [eax + 6]
Function at 0x1001d18d
Capabilities:
Encode data using add xor sub operations

Disassembly:
or bh, byte [ebx - 0x68]
int1
salc
push edi
add esp, 8
add esp, 8
neg edi
or edi, 0xffffffff
push esi
xor esi, esi
jne 0x10422d75
mov esi, esp
and edi, dword [esi + 4]
mov dword [esp - 0x21], esi
mov esi, dword [esi]
push esi
and esi, 0xfe2ab961
mov esi, esp
mov dword [esi - 0x32], edi
pop esi
mov dword [esp - 0x22], ecx
add esp, 8
pop esi
pop edx
pop ebx
leave
ret 0x14
push 0x40ec7b
push esi
mov esi, esp
call 0x1001d140
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x11e8fe], 0
add byte [edi - 0x54], bl
jne 0x1001d153
jnp 0x1001d0e3
int1
salc
push edi
inc esp
sub eax, 0x29b0f362
scasb al, byte es:[edi]
dec edi
add esp, 8
sub dword [esi + 0x8c4834f], ebp
and dword [esi + 4], ebp
push ebx
dec ebx
mov ebx, esp
xor dword [ebx - 0x69], eax
pop ebx
jbe 0x1001d169
xor eax, 0
or dword [esi + 4], ebp
pop esi
mov ebp, esp
sub esp, 0x104
sub esp, 0xd
xor dword [esp + 9], eax
call 0x1001d18d
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
call 0x1001d19e
push cs
das
cmp al, 0xc5
sbb cl, byte [ebx + 0x28]
inc ecx
out 0x27, al
aam 0x7d
add esp, 8
xor eax, dword [esp + 9]
push ebx
and ebx, 0
jne 0x10422e24
or ebx, 0xffffffff
push eax
or eax, edx
mov eax, esp
mov dword [eax - 0x5b], esi
pop eax
xor ecx, 0
not ebx
or ebx, 0x486abb3
jmp 0x1001d1d3
or edi, edi
xor ebx, 0x55e6afca
xor ebx, 0x51600479
sub ecx, ebx
pop ebx
xor dword [esp + 9], eax
mov eax, dword [esp + 9]
add esp, 9
push 0xffffffffffffffff
sub ecx, 0
push edx
and edx, ecx
mov edx, esp
cmp dword [edx - 0xe], edi
pop edx
and dword [esp], ebx
sbb al, 0x24
push ecx
push edx
push edi
sub esp, 4
add ebx, 0
or dword [esp - 0x61], esi
xor dword [esp], esi
call 0x1001d225
cmp eax, 0x39008332
jle 0x1001d1fe
sub al, 0xf5
mov bh, bl
sbb byte [ecx - 0x18], dh
adc al, 0
add byte [eax], al
push esi
xlatb
les ebp, [ebp - 0x56cf8c1e]
iretd
Function at 0x1001d19e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
or bh, byte [ebx - 0x68]
int1
salc
push edi
add esp, 8
add esp, 8
neg edi
or edi, 0xffffffff
push esi
xor esi, esi
jne 0x10422d75
mov esi, esp
and edi, dword [esi + 4]
mov dword [esp - 0x21], esi
mov esi, dword [esi]
push esi
and esi, 0xfe2ab961
mov esi, esp
mov dword [esi - 0x32], edi
pop esi
mov dword [esp - 0x22], ecx
add esp, 8
pop esi
pop edx
pop ebx
leave
ret 0x14
push 0x40ec7b
push esi
mov esi, esp
call 0x1001d140
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x11e8fe], 0
add byte [edi - 0x54], bl
jne 0x1001d153
jnp 0x1001d0e3
int1
salc
push edi
inc esp
sub eax, 0x29b0f362
scasb al, byte es:[edi]
dec edi
add esp, 8
sub dword [esi + 0x8c4834f], ebp
and dword [esi + 4], ebp
push ebx
dec ebx
mov ebx, esp
xor dword [ebx - 0x69], eax
pop ebx
jbe 0x1001d169
xor eax, 0
or dword [esi + 4], ebp
pop esi
mov ebp, esp
sub esp, 0x104
sub esp, 0xd
xor dword [esp + 9], eax
call 0x1001d18d
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
call 0x1001d19e
push cs
das
cmp al, 0xc5
sbb cl, byte [ebx + 0x28]
inc ecx
out 0x27, al
aam 0x7d
add esp, 8
xor eax, dword [esp + 9]
push ebx
and ebx, 0
jne 0x10422e24
or ebx, 0xffffffff
push eax
or eax, edx
mov eax, esp
mov dword [eax - 0x5b], esi
pop eax
xor ecx, 0
not ebx
or ebx, 0x486abb3
jmp 0x1001d1d3
or edi, edi
xor ebx, 0x55e6afca
xor ebx, 0x51600479
sub ecx, ebx
pop ebx
xor dword [esp + 9], eax
mov eax, dword [esp + 9]
add esp, 9
push 0xffffffffffffffff
sub ecx, 0
push edx
and edx, ecx
mov edx, esp
cmp dword [edx - 0xe], edi
pop edx
and dword [esp], ebx
sbb al, 0x24
push ecx
push edx
push edi
sub esp, 4
add ebx, 0
or dword [esp - 0x61], esi
xor dword [esp], esi
call 0x1001d225
cmp eax, 0x39008332
jle 0x1001d1fe
sub al, 0xf5
mov bh, bl
sbb byte [ecx - 0x18], dh
adc al, 0
add byte [eax], al
push esi
xlatb
les ebp, [ebp - 0x56cf8c1e]
iretd
Function at 0x1002067f
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffffc
mov dword [esp], ebp
mov ebp, esp
push ebx
lea esp, [esp - 0x11]
mov dword [esp + 0xd], 0xdc12c045
lea esp, [esp + 0xd]
mov dword [esp], ecx
push edx
push edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100206a1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100206a1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100206a1
mov dword [esp - 0x1d], esi
jb 0x100206d7
sub edx, 0
cmp word [ebx + 4], 0x14c
jne 0x100206a1
test word [ebx + 0x16], 2
je 0x100206a1
test word [ebx + 0x16], 0x100
je 0x100206a1
jmp 0x1002070d
push ebx
call 0x1002071e
sbb al, 0x25
cli
stosd dword es:[edi], eax
or byte [ecx - 0x224b783a], ah
push edx
add esp, 8
cmp word [ebx + 0x18], 0x10b
jne 0x100206a1
mov edx, dword [ebx + 0x78]
cmp dword [esp - 0x23], ecx
cmp edx, 0
je 0x100206a1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10007b27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100206a1
lea esi, [edx + 0x316f4195]
or esi, 0xffffffff
push ecx
xor ecx, 0x723b9e9b
mov ecx, esp
and esi, dword [ecx + 4]
xor eax, 0
mov ecx, dword [ecx]
push eax
call 0x1002078d
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x10020788
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
add esp, 8
add esp, 8
sub edi, edi
jne 0x1002080c
or edi, 0xffffffff
not edi
or edi, dword [esp]
add esp, 4
not edx
or edx, 0xffffffff
push ebx
sub ebx, ebx
jne 0x10426425
mov ebx, esp
mov dword [ebx - 9], edi
pop ebx
not edx
push eax
add eax, esi
mov eax, esp
xor edx, dword [eax + 4]
push edx
lea edx, [esi + edi*2 - 0x55f35438]
mov edx, esp
cmp dword [edx - 0x37], edi
pop edx
or dword [esp - 0x21], ecx
mov eax, dword [eax]
push ebx
and ebx, eax
mov ebx, esp
sub dword [ebx - 0xb], ecx
pop ebx
add esp, 8
pop ecx
xchg dword [esp], ebx
mov dword [esp], ebx
lea esp, [esp + 4]
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
ret 8
invalid
Function at 0x1002071e
Capabilities:
Parse pe header

Disassembly:
add esp, 0xfffffffc
mov dword [esp], ebp
mov ebp, esp
push ebx
lea esp, [esp - 0x11]
mov dword [esp + 0xd], 0xdc12c045
lea esp, [esp + 0xd]
mov dword [esp], ecx
push edx
push edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100206a1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100206a1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100206a1
mov dword [esp - 0x1d], esi
jb 0x100206d7
sub edx, 0
cmp word [ebx + 4], 0x14c
jne 0x100206a1
test word [ebx + 0x16], 2
je 0x100206a1
test word [ebx + 0x16], 0x100
je 0x100206a1
jmp 0x1002070d
push ebx
call 0x1002071e
sbb al, 0x25
cli
stosd dword es:[edi], eax
or byte [ecx - 0x224b783a], ah
push edx
add esp, 8
cmp word [ebx + 0x18], 0x10b
jne 0x100206a1
mov edx, dword [ebx + 0x78]
cmp dword [esp - 0x23], ecx
cmp edx, 0
je 0x100206a1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10007b27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100206a1
lea esi, [edx + 0x316f4195]
or esi, 0xffffffff
push ecx
xor ecx, 0x723b9e9b
mov ecx, esp
and esi, dword [ecx + 4]
xor eax, 0
mov ecx, dword [ecx]
push eax
call 0x1002078d
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x10020788
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
add esp, 8
add esp, 8
sub edi, edi
jne 0x1002080c
or edi, 0xffffffff
not edi
or edi, dword [esp]
add esp, 4
not edx
or edx, 0xffffffff
push ebx
sub ebx, ebx
jne 0x10426425
mov ebx, esp
mov dword [ebx - 9], edi
pop ebx
not edx
push eax
add eax, esi
mov eax, esp
xor edx, dword [eax + 4]
push edx
lea edx, [esi + edi*2 - 0x55f35438]
mov edx, esp
cmp dword [edx - 0x37], edi
pop edx
or dword [esp - 0x21], ecx
mov eax, dword [eax]
push ebx
and ebx, eax
mov ebx, esp
sub dword [ebx - 0xb], ecx
pop ebx
add esp, 8
pop ecx
xchg dword [esp], ebx
mov dword [esp], ebx
lea esp, [esp + 4]
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
ret 8
invalid
Function at 0x401000
Capabilities:
Access peb ldr_data
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425490
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x432a20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 4], ebx
push str.ssutil.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov dword [esi], eax
push str.WinSpool.drv
call edi
mov dword [esi + 4], eax
push str.advapi32.dll
call edi
mov dword [esi + 8], eax
push str.shlwapi.dll
call edi
mov dword [esi + 0xc], eax
push str.kernel32.dll
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4010b2
push str.GetDevicePort
push eax
call edi
mov dword [esi + 0x14], eax
push str.DeleteInfFileExt
mov eax, dword [esi]
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4010e0
push str.SetDefaultPrinterA
push eax
call edi
mov dword [esi + 0x1c], eax
push str.GetDefaultPrinterA
mov ecx, dword [esi + 4]
push ecx
call edi
mov dword [esi + 0x20], eax
push str.DeletePrinterDriverExA
mov edx, dword [esi + 4]
push edx
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4010f2
push str.RegDeleteKeyExA
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x401104
push str.SHDeleteKeyA
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x401116
push str.MoveFileExA
push eax
call edi
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x401128
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401c90
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x425b90
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, edx
mov eax, dword [ebp + 0x40c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], 0
push 0x400
push 0
lea ecx, [ebp]
push ecx
call fcn.00416c00
add esp, 0xc
mov edi, 0xf003f
mov dword [ebp - 4], 0
call fcn.00409930
test eax, eax
je 0x401d11
mov edi, 0xf013f
mov edx, dword [ebp - 0x20]
push edx
push str.SoftwareSSPrint_s
lea edx, [ebp]
call fcn.00401e30
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00409b70
add esp, 0xc
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push edi
push 0
push 0
push 0
lea edx, [ebp]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401db0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401d58
sub eax, edx
push eax
push esi
push 1
push 0
push str.DrvCntCode
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401d9a
push esi
push str.DrvCntCode
push str.Set_value_szKey_s___s
mov ecx, 0x4366c0
call fcn.00406f10
add esp, 0xc
mov byte [ebp - 0x11], 1
jmp 0x401dc8
push str.Set_Language_Code
mov ecx, eax
mov edx, 0x4366c0
call fcn.00406dd0
add esp, 4
jmp 0x401dc8
lea ecx, [ebp]
push ecx
push str.Create___s__Key_fail
mov ecx, eax
mov edx, 0x4366c0
call fcn.00406dd0
add esp, 8
mov ecx, dword [ebp - 0x1c]
call fcn.00409ae0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x401de5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00412333
add ebp, 0x404
mov esp, ebp
pop ebp
ret 4
Function at 0x404230
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425a50
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x428], edi
mov esi, edx
xor ebx, ebx
mov byte [ebp - 0x419], bl
mov dword [ebp - 0x424], 0xffffffff
push 0x400
push ebx
lea eax, [ebp - 0x418]
push eax
call fcn.00416c00
add esp, 0xc
push 0x44
push ebx
lea ecx, [ebp - 0x480]
push ecx
call fcn.00416c00
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
cmp esi, ebx
je 0x4043e2
mov eax, esi
lea edx, [eax + 1]
jmp 0x4042d0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4042d0
sub eax, edx
je 0x4043e2
mov dword [ebp - 4], ebx
push esi
push str.pnputil.exe__d___s_
lea edx, [ebp - 0x418]
call fcn.00401e30
lea edx, [ebp - 0x418]
push edx
push str.Delete_Driver_Store_Command____s_
mov ecx, edi
call fcn.00406f10
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x420]
push eax
call fcn.00409b70
add esp, 0x14
mov dword [ebp - 0x454], 1
mov word [ebp - 0x450], bx
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x480]
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404398
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x424]
push ecx
push str.Exit_Code___X
mov ecx, edi
call fcn.00406f10
add esp, 8
mov byte [ebp - 0x419], 1
jmp 0x4043af
push str.CreateProcess
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, edi
call fcn.00406dd0
add esp, 4
mov ecx, dword [ebp - 0x420]
call fcn.00409ae0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x419]
jmp 0x4043e4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412333
mov esp, ebp
pop ebp
ret

Function at 0x4051d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4051e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405224
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405220
lea ebx, [ebx]
cmp esi, eax
jae 0x405224
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405210
cmp esi, eax
jb 0x40522a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x405bc0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x4259c0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x432a20]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov esi, edx
xor ebx, ebx
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x1c], 0xffffffff
push 0x400
push ebx
lea eax, [ebp]
push eax
call fcn.00416c00
add esp, 0xc
cmp esi, ebx
je 0x405d40
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x405c30
sub eax, edx
je 0x405d40
mov dword [ebp - 4], ebx
push 0x44
push ebx
lea ecx, [ebp - 0x74]
push ecx
call fcn.00416c00
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
push ebx
xor ecx, ecx
call fcn.00409550
add esp, 0x10
push esi
lea edx, [ebp]
cmp eax, 0x40004
jne 0x405c7b
push str.rundll32.exe_printui.dll_PrintUIEntry__s
jmp 0x405c80
push str.rundll32.exe_printui.dll_PrintUIEntry__s__q
call fcn.00401e30
add esp, 8
lea esi, [edi + 4]
lea edx, [ebp]
push edx
push str.Command____s_
mov ecx, esi
call fcn.00406f10
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
call fcn.00409b70
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x74]
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405cfc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x1c]
push ecx
push str.Rundll32.exe_Exit_Code___X
mov ecx, esi
call fcn.00406f10
add esp, 8
mov byte [ebp - 0x11], 1
jmp 0x405d13
push str.CreateProcess
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, esi
call fcn.00406dd0
add esp, 4
mov ecx, dword [ebp - 0x18]
call fcn.00409ae0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
jmp 0x405d42
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00412333
add ebp, 0x404
mov esp, ebp
pop ebp
ret