joyce8/EMBER2024-capa huggingface dataset:
Function at 0x702ead4a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
dec dword [ebx - 0x268f73]
dec dword [ebx - 0x6a76cfaf]
insb byte es:[edi], dx
fcos
dec dword [ebx - 0x26937b]
dec dword [ecx - 0x18f77b]
call dword [ebx - 0x7f]
jecxz 0x702eadac
and byte [eax], al
add byte [ecx + 0x9a99cb], al
add byte [ecx + 0xaa8ecb], al
add byte [ecx + 0x1919e3], al
jecxz 0x702ead65
sbb dword [eax], eax
add byte [ebx + 0x52], bl
push esi
add esp, 4
and edx, 0x142a2
and edx, 0x10cc1
and edx, 0xad27
pop edx
cmp dword [ebp - 0x18f8], 0
jne 0x702ead80
int1
ret 0x71

Function at 0x702eadfd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x1ac0], eax
mov dword [ebp - 0x870], 0
jmp 0x702eb03c
mov ecx, dword [ebp - 0x18f8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xea4], eax
push ebx
push ebx
add esp, 4
or ebx, 0xf311
pop ebx
push ecx
add ecx, 0x13140
xor ecx, 0xd0b7
xor ecx, 0x71c2
and ecx, 0x15ec3
pop ecx
push eax
push ecx
add esp, 4
or eax, 0x1254b
pop eax
cmp dword [ebp - 0xea4], 0
jne 0x702eaddc
mov dword [ebp - 0x870], 0
jmp 0x702eb03c
mov ecx, dword [ebp - 0xea4]
mov dword [ebp - 0x5c8], ecx
push edi
push ebx
add esp, 4
call 0x702eadfd
add byte [esi + 0x45], al
inc edi
inc edi
dec edi
dec eax
xor eax, dword [ecx + 0x32]
add esp, 4
call 0x702eae10
add byte [edx + 0x32], cl
xor al, 0x4a
push eax
cmp dword [edx + 0x43], eax
aas
dec eax
add esp, 4
and edi, 0x50e0
pop edi
lea edx, [ebp - 0x1ac8]
mov dword [ebp - 0xea0], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xe9c], ecx
xor edx, edx
mov word [ebp - 0x268], dx
xor eax, eax
mov word [ebp - 0x13c], ax

Function at 0x702eae10
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x1ac0], eax
mov dword [ebp - 0x870], 0
jmp 0x702eb03c
mov ecx, dword [ebp - 0x18f8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xea4], eax
push ebx
push ebx
add esp, 4
or ebx, 0xf311
pop ebx
push ecx
add ecx, 0x13140
xor ecx, 0xd0b7
xor ecx, 0x71c2
and ecx, 0x15ec3
pop ecx
push eax
push ecx
add esp, 4
or eax, 0x1254b
pop eax
cmp dword [ebp - 0xea4], 0
jne 0x702eaddc
mov dword [ebp - 0x870], 0
jmp 0x702eb03c
mov ecx, dword [ebp - 0xea4]
mov dword [ebp - 0x5c8], ecx
push edi
push ebx
add esp, 4
call 0x702eadfd
add byte [esi + 0x45], al
inc edi
inc edi
dec edi
dec eax
xor eax, dword [ecx + 0x32]
add esp, 4
call 0x702eae10
add byte [edx + 0x32], cl
xor al, 0x4a
push eax
cmp dword [edx + 0x43], eax
aas
dec eax
add esp, 4
and edi, 0x50e0
pop edi
lea edx, [ebp - 0x1ac8]
mov dword [ebp - 0xea0], edx
mov eax, dword [ebp - 0x5c8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xe9c], ecx
xor edx, edx
mov word [ebp - 0x268], dx
xor eax, eax
mov word [ebp - 0x13c], ax
Function at 0x702eae60
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebx
and ebx, 0x4967
sub ebx, 0x4514
sub ebx, 0x14ef
pop ebx
push edi
push edi
add esp, 4
and edi, 0x9c0a
add edi, 0x7054
add edi, 0x102c3
sub edi, 0x132e1
pop edi
mov ecx, dword [ebp - 0xe9c]
mov dx, word [ecx]
mov word [ebp - 0x12b2], dx
mov eax, dword [ebp - 0xe9c]
add eax, 2
mov dword [ebp - 0xe9c], eax
mov cx, word [ebp - 0x12b2]
mov word [ebp - 0x268], cx
mov edx, dword [ebp - 0xea0]
mov ax, word [edx]
mov word [ebp - 0x12b4], ax
mov ecx, dword [ebp - 0xea0]
add ecx, 2
mov dword [ebp - 0xea0], ecx
mov dx, word [ebp - 0x12b4]
mov word [ebp - 0x13c], dx
push edx
or edx, 0xfb99
and edx, 0x17072
and edx, 0xf2fc
pop edx
push edi
push esi
add esp, 4
and edi, 0xa6e
sub edi, 0x13112
and edi, 0xb985
xor edi, 0x135a
pop edi
movzx eax, word [ebp - 0x13c]
test eax, eax
jne 0x702eaf28
movzx ecx, word [ebp - 0x268]
movzx edx, word [ebp - 0x13c]
sub ecx, edx
mov dword [ebp - 0x1900], ecx
jmp 0x702eaf8b
movzx eax, word [ebp - 0x268]
movzx ecx, word [ebp - 0x13c]
cmp eax, ecx
invalid
invalid
Function at 0x702eb8bd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
xor ecx, 0x57cd
pop ecx
mov dword [ebp - 0x890], 0
mov edx, dword [ebp - 0x3ac]
mov dword [ebp - 0x191c], edx
cmp dword [ebp - 0x191c], 0
jne 0x702eb8f7
mov eax, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], eax
jmp 0x702ebbe8
mov ecx, dword [ebp - 0x191c]
mov edx, dword [ebp - 0x3ac]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1920], edx
jne 0x702eb91f
mov eax, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], eax
jmp 0x702ebbe8
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1920]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1924], ecx
cmp dword [ebp - 0x1924], 0
jne 0x702eb951
mov edx, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], edx
jmp 0x702ebbe8
mov eax, dword [ebp - 0x3ac]
add eax, dword [ebp - 0x1924]
mov dword [ebp - 0x884], eax
jne 0x702eb976
mov ecx, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], ecx
jmp 0x702ebbe8
mov edx, dword [ebp - 0x884]
mov eax, dword [ebp - 0x3ac]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x26d4], eax
mov ecx, dword [ebp - 0x884]
mov edx, dword [ebp - 0x3ac]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x26d8], edx
mov eax, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x3ac]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1f3c], ecx
mov dword [ebp - 0x888], 0
jmp 0x702eb9d0
Function at 0x702eba31
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x888]
add edx, 1
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x888]
cmp ecx, dword [eax + 0x18]
jae fcn.702ebbdc
mov edx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x26d4]
mov ecx, dword [ebp - 0x3ac]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x26d8]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1f3c]
mov eax, dword [ebp - 0x3ac]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1f40], eax
mov dword [ebp - 0x1dc], 0
jmp 0x702eba40
mov ecx, dword [ebp - 0x1dc]
add ecx, 1
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x88c]
add edx, dword [ebp - 0x1dc]
movsx eax, byte [edx]
test eax, eax
je 0x702ebaf2
mov ecx, dword [ebp - 0x1dc]
movsx edx, byte [ebp + ecx - 0x9c0]
test edx, edx
je 0x702ebaf2
push ecx
push edx
add esp, 4
sub ecx, 0x2e21
pop ecx
push ecx
or ecx, 0xa073
xor ecx, 0x1568e
xor ecx, 0x10a7c
pop ecx
push ecx
push eax
add esp, 4
sub ecx, 0x150b1
and ecx, 0x2328
pop ecx
mov eax, dword [ebp - 0x88c]
add eax, dword [ebp - 0x1dc]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1dc]
movsx eax, byte [ebp + edx - 0x9c0]
cmp ecx, eax
je 0x702ebae4
mov ecx, dword [ebp - 0x88c]
add ecx, dword [ebp - 0x1dc]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x1dc]
movsx ecx, byte [ebp + eax - 0x9c0]
cmp edx, ecx
jne 0x702ebaeb
jmp fcn.702eba31
jmp 0x702ebaf2
push esi
sub esi, 0x140c0
call 0x702ebb09
add byte [edi + 0x44], cl
dec edi
xor eax, 0x383a3d35
inc edx
cmp byte [ebx + 0x535e04c4], al
push edi
add esp, 4
xor ebx, 0xcbbb
jmp 0x702ebb1d
or ebx, 0xb935
pop ebx
mov edx, dword [ebp - 0x88c]
add edx, dword [ebp - 0x1dc]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x1dc]
movsx edx, byte [ebp + ecx - 0x9c0]
cmp eax, edx
jne 0x702ebb51
mov dword [ebp - 0xeb8], 0
jmp 0x702ebbc0
push edi
push eax
add esp, 4
and edi, 0x1398a
xor edi, 0x935
or edi, 0xeb28
or edi, 0xdf98
pop edi
push eax
and eax, 0x18066
add eax, 0x140d0
add eax, 0xbe08
pop eax
mov eax, dword [ebp - 0x88c]
add eax, dword [ebp - 0x1dc]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x1dc]
movsx eax, byte [ebp + edx - 0x9c0]
or eax, 0x20
cmp ecx, eax
jge 0x702ebbb6
mov dword [ebp - 0xeb8], 0xffffffff
jmp 0x702ebbc0
mov dword [ebp - 0xeb8], 1
cmp dword [ebp - 0xeb8], 0
jne 0x702ebbd7
mov ecx, dword [ebp - 0x1f40]
mov dword [ebp - 0x5d0], ecx
jmp 0x702ebbe8
jmp 0x702eb9c1
Function at 0x702ebb09
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x888]
add edx, 1
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x888]
cmp ecx, dword [eax + 0x18]
jae fcn.702ebbdc
mov edx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x26d4]
mov ecx, dword [ebp - 0x3ac]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp - 0x888]
mov eax, dword [ebp - 0x26d8]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1f3c]
mov eax, dword [ebp - 0x3ac]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1f40], eax
mov dword [ebp - 0x1dc], 0
jmp 0x702eba40
mov ecx, dword [ebp - 0x1dc]
add ecx, 1
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x88c]
add edx, dword [ebp - 0x1dc]
movsx eax, byte [edx]
test eax, eax
je 0x702ebaf2
mov ecx, dword [ebp - 0x1dc]
movsx edx, byte [ebp + ecx - 0x9c0]
test edx, edx
je 0x702ebaf2
push ecx
push edx
add esp, 4
sub ecx, 0x2e21
pop ecx
push ecx
or ecx, 0xa073
xor ecx, 0x1568e
xor ecx, 0x10a7c
pop ecx
push ecx
push eax
add esp, 4
sub ecx, 0x150b1
and ecx, 0x2328
pop ecx
mov eax, dword [ebp - 0x88c]
add eax, dword [ebp - 0x1dc]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1dc]
movsx eax, byte [ebp + edx - 0x9c0]
cmp ecx, eax
je 0x702ebae4
mov ecx, dword [ebp - 0x88c]
add ecx, dword [ebp - 0x1dc]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x1dc]
movsx ecx, byte [ebp + eax - 0x9c0]
cmp edx, ecx
jne 0x702ebaeb
jmp fcn.702eba31
jmp 0x702ebaf2
push esi
sub esi, 0x140c0
call 0x702ebb09
add byte [edi + 0x44], cl
dec edi
xor eax, 0x383a3d35
inc edx
cmp byte [ebx + 0x535e04c4], al
push edi
add esp, 4
xor ebx, 0xcbbb
jmp 0x702ebb1d
or ebx, 0xb935
pop ebx
mov edx, dword [ebp - 0x88c]
add edx, dword [ebp - 0x1dc]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x1dc]
movsx edx, byte [ebp + ecx - 0x9c0]
cmp eax, edx
jne 0x702ebb51
mov dword [ebp - 0xeb8], 0
jmp 0x702ebbc0
push edi
push eax
add esp, 4
and edi, 0x1398a
xor edi, 0x935
or edi, 0xeb28
or edi, 0xdf98
pop edi
push eax
and eax, 0x18066
add eax, 0x140d0
add eax, 0xbe08
pop eax
mov eax, dword [ebp - 0x88c]
add eax, dword [ebp - 0x1dc]
movsx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x1dc]
movsx eax, byte [ebp + edx - 0x9c0]
or eax, 0x20
cmp ecx, eax
jge 0x702ebbb6
mov dword [ebp - 0xeb8], 0xffffffff
jmp 0x702ebbc0
mov dword [ebp - 0xeb8], 1
cmp dword [ebp - 0xeb8], 0
jne 0x702ebbd7
mov ecx, dword [ebp - 0x1f40]
mov dword [ebp - 0x5d0], ecx
jmp 0x702ebbe8
jmp 0x702eb9c1

Function at 0x702ebbdc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], edx
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x8bc], eax
push ecx
push eax
add esp, 4
jmp 0x702ebbfe
pop ecx
push edx
push ecx
add esp, 4
or edx, 0x4f9d
call 0x702ebc19
add byte [eax + 0x34], cl
inc edx
inc eax
aaa
inc ebx
aaa
cmp dword ds:[ebx + 0x7eb04c4], eax
inc edx
inc edx
dec ebx
dec esi
cmp byte ds:[edx - 0x75], bl
lea ebp, [ebx + edi*8 - 1]
inc dword [ebx - 0x7276f13f]
je 0x702ebc13
invalid
Function at 0x702ebc19
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x890]
mov dword [ebp - 0x5d0], edx
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x8bc], eax
push ecx
push eax
add esp, 4
jmp 0x702ebbfe
pop ecx
push edx
push ecx
add esp, 4
or edx, 0x4f9d
call 0x702ebc19
add byte [eax + 0x34], cl
inc edx
inc eax
aaa
inc ebx
aaa
cmp dword ds:[ebx + 0x7eb04c4], eax
inc edx
inc edx
dec ebx
dec esi
cmp byte ds:[edx - 0x75], bl
lea ebp, [ebx + edi*8 - 1]
inc dword [ebx - 0x7276f13f]
je 0x702ebc13
invalid
Function at 0x702ff7d7
Capabilities:
Encode data using xor

Disassembly:
mov ss, word [edx + 0x404f895]
push edi
pop esp
mov cl, cl
or dword [esi + 0x5314af7], eax
add eax, 0x554e0bf0
push edx
dec edx
push ebx
push ebx
xchg bh, ah
aad 5
add eax, 0x7ce0c786
add eax, 0x57575f05
mov cl, cl
or dword [esi + 0x6415aef], eax
xchg bh, ch
pop edx
inc ecx
push es
add eax, 0x47c0cf86
push es
add eax, 0x1a90695f
sbb eax, 0x8e050505
lcall 0x8a90, 0x404e275
jne 0x702ff802
add al, 4
nop
dec ebp
xor eax, 0xe271928e
add al, 4
nop
lcall 0x9a8e, 0x404e271
jne 0x702ff823
add al, 4
push edi
pop ebx
mov cl, cl
or dword [esi + 0x51f21cf], eax
add eax, 0xe335c786
add eax, 0x90e78605
fld qword [0xe7f78605]
pop ds
push es
add eax, 0x8855555f
leave
or dword [esi + 0x5d908f5], eax
add eax, 0xc586555d
call 0xcd34fe51
mov dl, al
jne 0x702ff85b
cmc
or cl, bl
add eax, 0x86555d05
invalid
add al, 4
add eax, 0x8acc147a
test eax, 0x5040401
add eax, 0xc1ee0505
pop es
add eax, 0x758a9005
out dx, al
add al, 4
nop
dec ebp
adc dword [eax - 0x6571eeaa], edx
sal ebx, 4
add al, 0x58
pop eax
mov cl, cl
or dword [esi + 0x581cff0], eax
add eax, 0x3b3a0bf0
cmp ecx, dword [edx + 0x51]
push esp
pushal
pop ebx
push edi
mov cl, cl
or dword [esi + 0x5511aeb], eax
add eax, 0x50def386
push es
add eax, 0x885b5b63
leave
or dword [esi + 0x61e83fb], eax
add eax, 0xc1c28863
add al, 4
add eax, 0x8acc147a
test eax, 0x5040401
add eax, 0x65ee0505
pop es
add eax, 0xc18a9005
add al, 4
mov cs, word [edx + 0x404ffdd]
pop eax
push esi
mov cl, cl
or dword [esi + 0x5db3bc8], eax
add eax, 0x11bde886
push es
add eax, 0x87d0d086
add eax, 0x865c6005
cld
pushfd
cmp eax, 0xd4860506
push ds
jnp 0x702ff913
add eax, 0x8865d486
push es
add eax, 0x23c3cc86
add eax, 0x92926405
in eax, dx
invalid
Function at 0x9a8370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x9a838e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x9d1074
push ecx
mov edi, eax
call fcn.009bc198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9a83cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.009bc02e
push esi
call fcn.009bbfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x9ab850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9ab8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x9d6720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9ab8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009bc1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9ab8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9d6720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9ab92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.009bd082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x9ab957
mov word [eax], si
add eax, 2
push eax
call fcn.009bd030
add esp, 4
jmp 0x9ab959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9ab8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9ab8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x9abff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x9ac080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x9ac0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x9d1458
push ecx
call fcn.009bc1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.009bc1e1
add esp, 0x10
jmp 0x9ac0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.009bc20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.009bbdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.009ac050
mov eax, dword [0x9d6728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x9ac13b
push esi
call fcn.009abfb0
add esp, 4
mov dword [0x9d6728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x9ac14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.009abff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x9af440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x9af4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9af48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9af471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9af47e
add edx, ecx
cmp ebx, edx
jb 0x9af48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9af467
xor ecx, ecx
jmp 0x9af4a2
test eax, eax
jne 0x9af492
xor ecx, ecx
jmp 0x9af4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.009af3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x9af8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x9af921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x9af946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x9af96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x9af993
push ecx
push esi
call fcn.009af4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x9b0c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x9b0c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x9b0c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x9b0c38
add edx, eax
cmp ebx, edx
jb 0x9b0c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x9b0c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x9b0c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x9b0c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x9b0cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x9b0c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x9b0ca8
add edx, ecx
cmp ebx, edx
jb 0x9b0cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x9b0c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x9b0f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.009bd145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x9b0ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x9b0fdd
lea eax, [esp + 0x18]
push eax
jmp 0x9b0fe2
push 0x9d6720
call fcn.009bcfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x9b0fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x9b0f40
push 4
push ecx
push eax
call fcn.009bd43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x9b1310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.009bd145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x9b13ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x9b138d
lea eax, [esp + 0x18]
push eax
jmp 0x9b1392
push 0x9d6720
call fcn.009bcfd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x9b1360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x9b0f40
push 4
push ecx
push eax
call fcn.009bd43f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret