joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f900
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x429130]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2b4], 0
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 7
add eax, 0x1c
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x54]
or edx, 0x8000
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x41f963
jmp 0x41fa7c
push 0x27
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x8c
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x41f995
jmp 0x41fa7c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
shr edx, 0x10
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x9c]
shr eax, 0x10
push eax
push 0x4259ec
push 0x24
lea ecx, [ebp - 0x50]
push ecx
call fcn.004035a0
add esp, 0x1c
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x41f9fa
jmp 0x41fa7c
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x260]
push ecx
push str._lsApplicationsCache_lsv_ls.msi
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040dca0
add esp, 0x14
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x41fa30
jmp 0x41fa7c
push 1
push 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040e274
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jge 0x41fa7c
cmp dword [ebp + 0x10], 1
jne 0x41fa7c
mov eax, dword [ebp + 0x14]
push eax
xor ecx, ecx
cmp dword [ebp + 0x10], 0
sete cl
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041f900
add esp, 0x10
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2fd
mov esp, ebp
pop ebp
ret
Function at 0x4224f0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x429130]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00421dd0
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x42252a
mov eax, dword [ebp - 0x220]
push eax
call fcn.0040f4f8
add esp, 4
test eax, eax
jne 0x42253d
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x42263a
mov dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x220]
push eax
push 0x426330
lea ecx, [ebp - 0x214]
push ecx
call fcn.0040dca0
add esp, 0xc
mov dword [ebp - 0x218], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0040f520
add esp, 0xc
mov dword [ebp - 0x21c], 0x206
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x214]
push edx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422623
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0
push 0x4263b8
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422616
lea ecx, [ebp - 0x210]
push ecx
push str._sTemp
lea edx, [ebp + 0xc]
push edx
call fcn.0040dca0
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040f4f8
add esp, 4
jmp 0x42263a
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 0
je 0x422638
mov edx, dword [ebp - 0x220]
push edx
call fcn.0040d598
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f2fd
mov esp, ebp
pop ebp
ret
Function at 0x402f76
Capabilities:
Encode data using xor

Disassembly:
mov bh, pe_nt_image_headers32
cmp edi, 0x9a2b
add ebp, 0x72
inc ecx
dec bh
cmp ebp, 0x5b9
jb 0x402f5a
pop ecx
bswap edx
dec ebx
mov bh, bl
mov ebp, 0xdccb
xor ebp, 0xc8e4
sub ebp, 0xd1b
mov esi, ebp
dec edx
lea edi, [0xd2523f1d]
push 0xfffc5d0d
imul ebx, ebp
pop ebx
and eax, ecx
xor ebx, 0x9b5
imul edi, ebx
sub ebp, ebx
or edx, ebx
fiadd dword [ecx + 0x3ab49ed]
add bh, bh
sal dh, 0xd6
cmp ebp, 0xc0
jae 0x402f9e
movd mm0, ecx
movd eax, mm0
imul esi, eax
sbb edi, esi
dec edx
add eax, 0x362b6
imul edi, eax
sub eax, 0x592b
mov esi, 0x8f4feaac
mov edi, eax
push eax
ret

Function at 0x40509d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x408010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403f1d
and dword [ebp - 0x14], 0
cmp dword [0x4096f8], 0
mov dword [ebp - 0x18], eax
jne 0x405150
push 0x401dec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4051f8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401de0
push ebx
call edi
test eax, eax
je 0x4051f8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401dd0
push ebx
mov dword [0x4096f8], eax
call edi
push eax
call esi
push 0x401dbc
push ebx
mov dword [0x4096fc], eax
call edi
push eax
call esi
push 0x401da0
push ebx
mov dword [0x409700], eax
call edi
push eax
call esi
mov dword [0x409708], eax
test eax, eax
je 0x405150
push 0x401d88
push ebx
call edi
push eax
call esi
mov dword [0x409704], eax
mov eax, dword [0x409704]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4051a9
cmp dword [0x409708], ecx
je 0x4051a9
push eax
call esi
push dword [0x409708]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4051a9
test ebx, ebx
je 0x4051a9
call edi
test eax, eax
je 0x4051a0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4051a0
test byte [ebp - 8], 1
jne 0x4051a9
or dword [ebp + 0x10], 0x200000
jmp 0x4051dc
mov eax, dword [0x4096fc]
cmp eax, dword [ebp - 0x18]
je 0x4051dc
push eax
call esi
test eax, eax
je 0x4051dc
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4051dc
mov eax, dword [0x409700]
cmp eax, dword [ebp - 0x18]
je 0x4051dc
push eax
call esi
test eax, eax
je 0x4051dc
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4096f8]
call esi
test eax, eax
je 0x4051f8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4051fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402f0f
leave
ret
Function at 0x1002a994
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002a9ec
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002a9d0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002a9ea
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10016432
and dword [eax], 0
jmp 0x1002a9c5
jmp 0x1002aa0c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002aa0c
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esp, ebp
pop ebp
ret

Function at 0x1002bca2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002bce9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1002bcff
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002bcff
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esp, ebp
pop ebp
ret

Function at 0x1002bd4a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002bd7e
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10016432
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1002bd92
push 0x74a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret
Function at 0x1002ec0b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.1002e77c
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002ec3b
xor eax, eax
jmp 0x1002edb1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002e7c6
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002ec63
xor eax, eax
jmp 0x1002edb1
lea eax, [ebp - 0xc]
push eax
push 0x22b5
push 0xf78
push 0x42aa
lea eax, [ebp - 8]
push eax
push 0x1533
push 0x4556
push 0x7948
push 1
call fcn.1002e816
add esp, 0x24
cmp dword [ebp - 0xc], 0
jne 0x1002eca0
xor eax, eax
jmp 0x1002edb1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0x3f63
lea eax, [ebp - 8]
push eax
push 0x7ed7
lea eax, [ebp - 0x24]
push eax
push 0x3979
push 1
call fcn.1002e9d9
add esp, 0x24
push dword [ebp - 8]
push 0x47ff
push 1
push 0x5930
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.100267b4
add esp, 0x18
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002ea8b
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002ed18
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1002eaf2
add esp, 0xc
push dword [ebp - 4]
call fcn.1002dda2
pop ecx
test eax, eax
jne 0x1002ed2c
xor eax, eax
jmp 0x1002edb1
push 0x1d21
push 0x35e
lea eax, [ebp - 4]
push eax
push 0x580
push 1
call fcn.1002eb52
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002ed99
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002ed68
xor eax, eax
jmp 0x1002edb1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002ed81
xor eax, eax
jmp 0x1002edb1
lea eax, [ebp - 4]
push eax
push 0x13f5
push 0x1f33
push 1
call fcn.1002ebb8
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002edaa
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002edae
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10043233
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100432f8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
and dword [ebp - 8], 0
jmp 0x1004328f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x28
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 8], eax
jge 0x100432f6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jb 0x100432f4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.10043163
pop ecx
pop ecx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jae 0x100432f4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x100432f6
jmp 0x1004327b
jmp 0x10043318
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10043318
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esp, ebp
pop ebp
ret
Function at 0x1004a4af
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
inc edi
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 8], 0x15
jmp 0x1004a4e1
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a4de
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xd
jge 0x1004a4ce
push esi
push edi
call fcn.100450de
push esi
call fcn.1002ec0b
mov dword [ebp - 8], 0x1bf2b299
add esp, 0xc
mov esi, eax
mov dword [ebp - 8], ebx
jmp 0x1004a513
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xc], 0xc75b57fd
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x1004a505
mov dword [ebp - 0xc], ebx
jmp 0x1004a548
mov dword [ebp - 8], 0xa2c7c8a6
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a53f
push 0x1461
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffff3
jle 0x1004a51d
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077325
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10081330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10066cbc
mov dword [ebp - 0x14], eax
cmp dword [0x1066ed44], esi
jne 0x10077418
push 0x800
push esi
push 0x10007c98
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100773a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100774f8
push esi
push esi
push 0x10007c98
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100774f8
push 0x10007cb0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100774f8
push eax
call ebx
push 0x10007cbc
push edi
mov dword [0x1066ed44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ccc
push edi
mov dword [0x1066ed48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ce0
push edi
mov dword [0x1066ed4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066ed54], eax
test eax, eax
je 0x10077415
push 0x10007cfc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066ed50], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007743d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077430
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10077452
push 4
pop eax
jmp 0x100774fa
cmp dword [ebp - 0x14], esi
je 0x10077452
push dword [0x1066ed44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077437
mov eax, dword [0x1066ed50]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100774b0
cmp dword [0x1066ed54], edi
je 0x100774b0
push eax
call ebx
push dword [0x1066ed54]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100774b0
test eax, eax
je 0x100774b0
call ecx
test eax, eax
je 0x100774a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100774a5
test byte [ebp - 8], 1
jne 0x100774b0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100774e0
mov eax, dword [0x1066ed48]
cmp eax, edi
je 0x100774dd
push eax
call ebx
test eax, eax
je 0x100774dd
call eax
mov esi, eax
test esi, esi
je 0x100774dd
mov eax, dword [0x1066ed4c]
cmp eax, edi
je 0x100774dd
push eax
call ebx
test eax, eax
je 0x100774dd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066ed44]
call ebx
test eax, eax
je 0x100774f8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100774fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x5095a0
jmp 0x4013c3
mov eax, 0x4c7a24
call fcn.00496fcc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014f4
mov eax, dword [0x504f88]
lea ecx, [esi + 0xac]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], eax
mov eax, dword [0x504f88]
mov dword [esi + 0xb4], eax
push 1
mov dword [esi], 0x4cf7cc
pop eax
mov ebx, 0x50959c
push 0xa
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 7
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x24], 0xffffffff
pop edx
push 0x64
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x2c], edi
pop edx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edi
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x3e8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], 0xc0
mov dword [esi + 0x90], 0x6c
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], edi
mov dword [esi + 0xa8], edi
call fcn.004b22cd
push ebx
lea ecx, [esi + 0xb4]
mov dword [esi + 0xb0], edi
call fcn.004b22cd
or dword [esi + 0xc0], 0xffffffff
or dword [esi + 0xbc], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xb8], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40d369
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c89c8
call fcn.00496fcc
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x509668
push str.DataFile_Types
mov ecx, esi
call fcn.004c4f31
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40d39f
xor eax, eax
jmp 0x40d4e7
mov eax, dword [0x504f88]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40d4b7
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4f00f0
push eax
call fcn.004afa67
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c4fe3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b227d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b2136
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c4fe3
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b227d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b2136
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c4f77
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40d490
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40d490
cmp eax, 0xffffffff
je 0x40d490
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040d5d4
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40d3db
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b2136
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b2136
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b2136
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret