joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bd2d8
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push SysReAllocString
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
call fcn.100f1caf
test eax, eax
jne 0x100bd396
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push esi
push dword [esp + 0x2c]
push dword [esp + 0x1c]
call ebp
test eax, eax
jne 0x100bd395
push edi
push dword [esp + 0x10]
push 0x22
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100bd394
push ebx
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x100bd3b0
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x34]
push dword [esp + 0x24]
call ebp
mov ebp, dword [sym.imp.kernel32.dll_GlobalUnlock]
test eax, eax
jne 0x100bd387
push edi
call ebp
push dword [esp + 0x20]
mov ebx, esi
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x100bd3b0
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax]
push esi
push dword [esp + 0x18]
push eax
call dword [ecx + 0x18]
inc esi
test ebx, ebx
jne 0x1010f480
test esi, esi
je 0x100bd3b0
pop ebx
pop edi
pop ebp
cmp dword [esp + 4], 0
je 0x100bd3a7
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 8
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
jmp 0x100bd393
push edi
call ebp
jmp 0x100bd38f

Function at 0x100be378
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 0x74], ebx
call fcn.100f1caf
test eax, eax
jne 0x100be3e3
push esi
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
push str.ToolboxControls
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1010e129
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1010e196
push dword [ebp - 0x7c]
call esi
pop esi
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop ebx
call fcn.10001e57
add ebp, 0x94
leave
ret
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
mov esi, ebx
push ebx
jmp 0x1010e17c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.1017bdee
test eax, eax
js 0x1010e164
call fcn.1017c343
test eax, eax
je 0x1010e16e
push dword [ebp - 0x80]
mov ecx, dword [0x10241068]
call fcn.1006e6f7
jmp 0x1010e16e
push ebx
lea eax, [ebp - 0x70]
push eax
call fcn.1017bfd6
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
inc esi
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100be3ce
jmp 0x1010e13a
push dword [ebp - 0x74]
call esi
jmp 0x100be3dd
Function at 0x100be42f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x1023be98], 0xffffffff
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x80], edi
jne 0x100be4d9
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
mov dword [0x1023be98], edi
call fcn.100f1caf
test eax, eax
jne 0x100be4d9
lea eax, [ebp - 0x74]
push eax
push 0x20019
push edi
push str.Designers
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1010dffc
xor esi, esi
xor eax, eax
cmp esi, dword [0x1023be98]
setl al
push eax
lea eax, [esi + 0x11c]
push eax
call fcn.100b626e
inc esi
cmp esi, 4
jl 0x100be49a
push 0
push 0xf0
call fcn.100b626e
cmp dword [ebp - 0x74], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1010e0fb
push dword [ebp - 0x7c]
call esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.10001e57
add ebp, 0xa4
leave
ret
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
mov ebx, edi
push edi
jmp 0x1010e0a6
push dword [0x1023be98]
lea eax, [ebp - 0x80]
push eax
push 0x10241e38
call fcn.1017b68c
test eax, eax
je 0x1010e105
lea eax, [ebp - 0x60]
test eax, 0xffff0000
je 0x1010e05e
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010e03b
sub ecx, edx
lea eax, [ecx*2 + 2]
call fcn.1000c5c0
mov eax, esp
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.1001ce5b
jmp 0x1010e061
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [0x1023be98]
imul eax, eax, 0x1c
add eax, dword [0x10241e38]
lea esi, [ebp - 0x70]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1017aefc
test eax, eax
je 0x1010e096
inc dword [0x1023be98]
inc ebx
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1010e010
push 4
pop esi
cmp dword [0x1023be98], esi
jle 0x100be498
push 0x70
pop edi
mov eax, dword [0x10241e38]
push dword [edi + eax + 4]
lea eax, [esi + 0x35b]
push eax
push 2
push 0x18
call fcn.1017d441
inc esi
add edi, 0x1c
cmp esi, dword [0x1023be98]
jge 0x100be498
jmp 0x1010e0d0
push dword [ebp - 0x74]
call esi
jmp 0x100be4d4
push 7
call fcn.10156628
jmp 0x100be498
Function at 0x100d2b76
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [esp + 0x24]
push esi
push eax
call sub.msvcr100.dll_memset
mov eax, dword [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], ax
cmp ax, 9
ja 0x1011b439
mov eax, dword [esp + 0x68]
push ebx
push ebp
test eax, eax
je 0x100d2bc2
cmp word [eax], 8
je 0x1011b445
push eax
call fcn.1015692e
mov ebx, eax
test ebx, ebx
je 0x1011b45b
cmp dword [0x1023a234], esi
jne 0x1011b467
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop ebp
pop ebx
test esi, esi
je 0x1011b4e3
push 0x2710
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x14]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
fild dword [esp + 0x18]
pop edi
pop esi
fstp qword [esp]
fld qword [esp]
add esp, 0x5c
ret 8
push 5
call fcn.10089e37
jmp 0x100d2bae
cmp dword [eax + 8], esi
jne 0x100d2bc2
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
jmp 0x100d2bc8
push 5
call fcn.10089e37
jmp 0x100d2bd2
test ebx, ebx
jne 0x1011b46f
mov eax, esi
jmp 0x1011b474
mov eax, dword [ebx - 4]
shr eax, 1
push esi
push esi
push esi
push esi
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x1011b495
push ebp
call fcn.1000ac41
mov edi, eax
test edi, edi
jne 0x1011b4a2
push 0xe
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x100d2bf8
test ebx, ebx
jne 0x1011b4aa
mov eax, esi
jmp 0x1011b4af
mov eax, dword [ebx - 4]
shr eax, 1
push esi
push esi
push ebp
push edi
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.1000ac28
jmp 0x100d2bf8
dec edi
dec edi
je 0x1011b4f6
dec edi
je 0x1011b4fd
sub edi, 5
je 0x1011b504
sub edi, 6
jne 0x1011b50b
jmp 0x1011b504
push 0x35
call fcn.10089e37
push 0x4c
call fcn.10089e37
push 7
call fcn.10089e37
push 5
call fcn.10089e37
int3
Function at 0x100dc265
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov eax, dword [edi + 0x18]
test eax, 0x400000
jne 0x1010b6b2
mov edi, dword [edi + 0x30]
test edi, edi
jne 0x1008698b
pop ebx
jmp 0x100dc79b
cmp dword [0x102394fc], 0
push ebp
jne 0x100dc2ba
mov ecx, dword [0x1023964c]
test ecx, ecx
je 0x100dc2ba
cmp dword [esp + 0xc], 0
mov eax, dword [0x102394f8]
push esi
jne 0x100dc748
xor esi, esi
inc eax
inc esi
mov dword [0x102394f8], eax
cmp eax, esi
jne 0x100dc2b9
push esi
push esi
call fcn.1000b488
push dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push 0x102393a8
call fcn.100dc081
push esi
push esi
call fcn.100dc2be
pop esi
pop ebp
ret 0x10
test eax, eax
je 0x100dc2b9
dec eax
mov dword [0x102394f8], eax
jne 0x100dc2b9
mov eax, dword [0x10239cd8]
xor ebp, ebp
cmp dword [eax + 0x64], ebp
jne 0x1010b6a5
push edi
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0x102393a8
call fcn.100dc081
xor esi, esi
inc esi
push esi
push ebp
call fcn.100dc2be
mov edi, dword [0x102394e4]
test edi, edi
jne 0x1008698a
mov ecx, dword [0x1023964c]
push esi
push ebp
call fcn.1000b488
pop edi
test eax, eax
jne 0x1010b6e9
cmp dword [0x1023a230], ebp
je 0x100dc2b9
push ebp
mov dword [0x1023a230], ebp
call fcn.1001a21f
jmp 0x100dc2b9
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x100dc76c
mov ebx, dword [edi + 0x94]
and eax, 0xffbfffff
mov dword [edi + 0x18], eax
jmp 0x1010b6df
mov eax, dword [ebx + 0x14]
test eax, 0x4000000
je 0x1010b6dc
push esi
push ebp
and eax, 0xfbffffff
push ebx
mov dword [ebx + 0x14], eax
call fcn.10153b59
mov ebx, dword [ebx + 0x20]
test ebx, ebx
je 0x10086999
jmp 0x1010b6c2
push dword [esp + 0x18]
push 5
push esi
push ebp
call fcn.100dc265
jmp 0x100dc7b1
Function at 0x100ea348
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x94
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0xa0]
push edi
push 4
pop eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
push 0x100ea4f4
lea eax, [esp + 0x20]
push eax
xor edi, edi
call dword [sym.imp.kernel32.dll_lstrcpyA]
push 0x7a
lea eax, [esp + 0x26]
push eax
push esi
call fcn.1015692e
push 0x100ea4e0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.kernel32.dll_lstrcatA]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10101736
movzx edx, byte [ebx + 1]
not edx
and edx, 8
mov ecx, edx
shr ecx, 0xa
mov eax, edx
shr eax, 7
shl eax, 2
push ebp
xor ebp, ebp
inc ebp
and ecx, ebp
or ecx, eax
add ecx, ecx
mov eax, edx
shr eax, 9
and eax, ebp
or ecx, eax
add ecx, ecx
mov eax, edx
shr eax, 8
and eax, ebp
or ecx, eax
add ecx, ecx
mov eax, edx
shr eax, 5
and eax, ebp
or ecx, eax
add ecx, ecx
mov eax, edx
shr eax, 4
and eax, ebp
or ecx, eax
add ecx, ecx
mov eax, edx
shr eax, 3
and eax, ebp
or ecx, eax
mov eax, edx
shr eax, 2
and eax, ebp
add ecx, ecx
or ecx, eax
mov eax, edx
shr eax, 1
and eax, ebp
add ecx, ecx
or ecx, eax
mov eax, edx
and eax, ebp
add ecx, ecx
or ecx, eax
mov ax, word [ebx + 4]
mov esi, 0x401f
and ax, si
shl ecx, 5
or cx, ax
lea eax, [ebx + 6]
shr edx, 6
xor dx, word [eax]
mov word [ebx + 4], cx
and dx, bp
xor word [eax], dx
movzx edx, word [eax]
mov eax, ecx
shr eax, 5
and eax, ebp
mov esi, 0x800
pop ebp
jne 0x10101775
test cl, 0x40
jne 0x10101780
test cl, cl
js 0x1010178b
test ecx, 0x200
jne 0x10101796
test ecx, 0x400
jne 0x101017a1
test esi, ecx
jne 0x101017ac
test ecx, 0x1000
jne 0x101017b7
test ecx, 0x2000
jne 0x101017c2
test dl, 1
jne 0x101017cd
mov ecx, dword [esp + 0x9c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x94
ret 8
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push edi
push 0x101017e0
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0xc]
mov esi, eax
neg esi
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
je 0x100ea3c4
mov edx, dword [esp + 0x14]
jmp 0x100ea3cd
test word [ebx], si
jne 0x100ea471
jmp 0x101017d6
test ax, ax
jne 0x100ea47a
jmp 0x101017d6
test ax, ax
jne 0x100ea482
jmp 0x101017d6
test ax, ax
jne 0x100ea48e
jmp 0x101017d6
test ax, ax
jne 0x100ea49a
jmp 0x101017d6
test ax, ax
jne 0x100ea4a2
jmp 0x101017d6
test ax, ax
jne 0x100ea4ae
jmp 0x101017d6
test ax, ax
jne 0x100ea4ba
jmp 0x101017d6
test ax, ax
jne 0x100ea4c3
mov edi, 0x800ac3e4
jmp 0x100ea4c3
Function at 0x100f2723
Capabilities:
Create directory
Get common file path

Disassembly:
call fcn.1015692e
push eax
call dword [sym.imp.msvcr100.dll__mkdir]
jmp 0x100f27e6
lea ecx, [ebp - 0x80]
call fcn.1001b92f
jmp 0x1010c487
call fcn.1015692e
jmp 0x100f2830
mov edi, edi
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
mov esi, dword [ebp + 0x9c]
push edi
lea ecx, [ebp - 0x80]
call fcn.1000e7de
lea eax, [ebp - 0x74]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100aeeb1
cmp eax, edi
ja 0x100aeeb1
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x80]
call fcn.1001b0b5
mov edi, 0xffff0000
xor ebx, ebx
test edi, esi
je 0x100f27b3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100f278d
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
call fcn.1000c5c0
mov eax, esp
push esi
push eax
call fcn.1000c540
mov esi, eax
push esi
lea ecx, [ebp - 0x80]
call fcn.100fc122
push ebx
lea ecx, [ebp - 0x80]
call fcn.1015692e
mov esi, dword [sym.imp.msvcr100.dll__access_s]
push eax
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
test eax, eax
jne 0x100aeea0
push 2
call fcn.1015692e
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x100aeeb1
lea ecx, [ebp - 0x80]
call fcn.1015692e
lea ecx, [ebp - 0x80]
test edi, eax
je 0x100aeebe
call fcn.1015692e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100f280a
sub eax, edx
lea eax, [eax*2 + 2]
call fcn.1000c5c0
lea ecx, [ebp - 0x80]
mov esi, esp
call fcn.1015692e
push eax
push esi
call fcn.1001ce5b
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.1001b92f
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.10001e57
add ebp, 0x94
leave
ret 4
xor eax, eax
jmp 0x100f2843
Function at 0x100f52c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa0
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
mov ebx, dword [ebp + 0x7c]
push esi
push edi
mov esi, ecx
push 0x27
pop ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ecx
test ebx, ebx
je 0x10107318
push ecx
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.1015692e
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 4]
push 0x100f5418
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 4]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x100f53f0
lea eax, [ebp + 0x44]
test eax, 0xffff0000
je 0x100f5409
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100f534a
sub ecx, edx
lea eax, [ecx*2 + 2]
call fcn.1000c5c0
mov eax, esp
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.1001ce5b
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esi + 0xec]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x100f53a0
cmp dword [eax + 0x80], 4
je 0x10107320
mov ecx, eax
call fcn.10002730
test eax, eax
jne 0x100f5385
mov esi, dword [ebp - 0x28]
push dword [0x1023b4ac]
push 0x108
call fcn.1001a1a6
pop ecx
pop ecx
test eax, eax
je 0x100f5411
push 1
push esi
mov ecx, eax
call fcn.1007abec
mov esi, eax
test esi, esi
je 0x10107347
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.1015692e
mov edi, eax
push 1
test edi, edi
js 0x10107351
mov ecx, dword [ebp - 0x28]
push 0
push esi
call fcn.1002c93f
mov dword [ebx], esi
xor eax, eax
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.10001e57
add ebp, 0x70
leave
ret 8
lea eax, [ebp + 0x44]
jmp 0x100f536b
xor esi, esi
jmp 0x100f53c2
lea ebx, [ebp - 0x30]
jmp 0x100f52f7
lea esi, [eax + 0xec]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x100f5392
mov dword [ebx], eax
jmp 0x100f53f0
mov eax, 0x8007000e
jmp 0x100f53f2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
mov eax, edi
jmp 0x100f53f2
Function at 0x100f8795
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x114]
sub esp, 0x194
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x110], eax
mov eax, dword [ebp + 0x120]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [ebp + 0x11c]
push esi
push edi
lea esi, [ecx + 0xac]
test ecx, ecx
jne 0x100f87d4
lea esi, [eax + 0xac]
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
lea eax, [ebp - 0x68]
push 0x1000e4fc
push eax
movsd dword es:[edi], dword [esi]
call sub.msvcr100.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100fe3f9
push eax
push 1
push eax
push 2
push 0x100f6b58
mov ecx, ebx
call fcn.100f9739
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x110]
xor ecx, ebp
call fcn.10001e57
add ebp, 0x114
leave
ret 8
push 0x27
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x80], 0x104
call fcn.1015692e
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0xac]
push 0x1014c3b8
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xac]
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x100fe52d
lea eax, [ebp - 0x58]
test eax, 0xffff0000
je 0x100fe486
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fe463
sub ecx, edx
lea eax, [ecx*2 + 2]
call fcn.1000c5c0
mov eax, esp
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.1001ce5b
jmp 0x100fe489
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x100fe525
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0xac]
push 0x1014c3cc
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xac]
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x100fe525
mov esi, dword [sym.imp.msvcr100.dll_strtoul]
push 0x10
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x58]
push eax
call esi
movzx edi, ax
mov eax, dword [ebp - 0x7c]
add esp, 0xc
cmp byte [eax], 0x2e
jne 0x100fe500
push 0x10
lea ecx, [ebp - 0x7c]
push ecx
inc eax
push eax
call esi
add esp, 0xc
movzx eax, ax
jmp 0x100fe502
xor eax, eax
push 0
movzx eax, ax
push 1
push eax
push edi
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
call fcn.100f9739
test eax, eax
js 0x100f8808
xor eax, eax
jmp 0x100f8808
mov eax, dword [ebp - 0x7c]
jmp 0x100f8808
mov eax, 0x80004005
jmp 0x100f8808

Function at 0x100fb5d8
Capabilities:
Read file on windows

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.msvcr100.dll__read]
add esp, 0xc
ret 0xc
Function at 0x100fc516
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
mov esi, dword [ebp + 0x1a0]
push edi
lea eax, [ebp - 0x74]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x10100ad8
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.1001b0b5
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.10001e57
add ebp, 0x198
leave
ret 4
and dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
and dword [ebp - 0x7c], 0
and eax, 1
and eax, 0xfffffffe
mov dword [ebp - 0x78], eax
push edi
lea eax, [ebp + 0x90]
push eax
push dword [0x1023a224]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
je 0x10100b2b
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0x80]
call fcn.100dcd86
lea eax, [ebp - 0x80]
push eax
call fcn.101585b8
lea ecx, [ebp - 0x80]
call fcn.1015692e
push eax
call dword [sym.imp.msvcr100.dll__chdir]
pop ecx
lea ecx, [ebp - 0x80]
call fcn.1001b92f
xor eax, eax
jmp 0x100fc55e
Function at 0x10150d32
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x1023904c]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xb4]
push ebx
mov ebx, dword [ebp + 0xb0]
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], eax
call fcn.1000e7de
push 0x104
lea eax, [ebp - 0x60]
push eax
call fcn.1015692e
mov esi, eax
lea ecx, [ebp - 0x78]
test esi, esi
js 0x10150edf
lea eax, [ebp - 0x60]
push eax
call fcn.100dcd86
push 0x1001
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.100cbafb
mov esi, eax
test esi, esi
js 0x10150edc
mov eax, dword [ebp - 0x80]
push dword [eax + 4]
and dword [ebp - 0x64], 0
push dword [ebp - 0x7c]
push ebx
call fcn.10157929
push dword [ebp - 0x7c]
mov esi, eax
call fcn.1007de95
test esi, esi
js 0x10150ebb
lea ecx, [ebp - 0x78]
call fcn.1001b16d
lea ecx, [ebp - 0x78]
test eax, 0xffff0000
je 0x10150e12
call fcn.1001b16d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10150dea
sub eax, edx
lea eax, [eax*2 + 2]
call fcn.1000c5c0
lea ecx, [ebp - 0x78]
mov esi, esp
call fcn.1001b16d
push eax
push esi
call fcn.1001ce5b
jmp 0x10150e17
call fcn.1001b16d
lea ecx, [ebp - 0x64]
push ecx
xor ebx, ebx
push ebx
push ebx
push 0x12
push ebx
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
mov esi, eax
test esi, esi
js 0x10150ebd
mov edx, dword [edi + 0x128]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x268]
mov eax, dword [ecx]
lea esi, [ebp - 0x68]
push esi
push ebx
push ebx
push 0x1012
push dword [edx + 0x28]
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
js 0x10150ebd
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x10150ebd
lea eax, [ebp - 0x6c]
push eax
push 0x1001b960
mov ecx, edi
call fcn.10070f9b
mov esi, eax
test esi, esi
js 0x10150eb0
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [edi + 0x128]
push ebx
push dword [ebp - 0x68]
mov esi, eax
push dword [ebp - 0x6c]
call fcn.100687bf
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10150ebd
xor ebx, ebx
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x10150ecd
mov dword [ebp - 0x64], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x78]
call fcn.1001b16d
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [ebp - 0x78]
call fcn.1001b92f
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
call fcn.10001e57
add ebp, 0xa8
leave
ret 8