joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ec90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x464858
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42ecc9
inc eax
mov dword [esi + 0x10], eax
jmp 0x42eddc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42ecdd
mov eax, 0xffffffc7
jmp 0x42edde
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42ecee
cmp dword [esi + 8], eax
jne 0x42ecdd
cmp dword [esi + 8], eax
jne 0x42ed07
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42ed07
mov eax, 0xffffffc7
jmp 0x42edde
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42ed1b
push eax
mov ecx, ebx
call fcn.0042e4c0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004015f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42ed4c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401610
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042dc30
test eax, eax
mov dword [esp + 0x38], eax
je 0x42ed7f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467f78
call fcn.004017f0
mov eax, dword [esp + 0x38]
jmp 0x42edde
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042eaf0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42edc3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042eb10
mov esi, eax
test esi, esi
jne 0x42edf3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042eaf0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42ed95
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467f78
call fcn.004017f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x467f78
call fcn.004017f0
mov eax, esi
jmp 0x42edde

Function at 0x431f20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x431f80
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x431f80
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x431f80
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x431f80
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x431fc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x437ed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0045dff2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00437870
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0045df20
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045a7e4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045a7e4
push 1
push 0
push 0
mov ecx, esi
call fcn.0045a78c
push 1
push 0
push 1
mov ecx, esi
call fcn.0045a78c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e064
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x438050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0045dff2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00437870
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0045df20
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x438114
cmp dword [esp + 0x40], 1
jne 0x438112
cmp ecx, eax
jge 0x438114
mov eax, ecx
cmp eax, 0xc8
jge 0x438120
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00437ed0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045e064
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4388a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464f13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00458c04
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045e29a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045f7b6
test eax, eax
je 0x4389bc
mov ecx, dword [esp + 0x3c]
call fcn.0045e2c7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x438980
push edi
mov ecx, esi
call fcn.0045b92b
mov ecx, esi
call fcn.00438b20
cmp dword [esp + 0x38], 1
jne 0x4389b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045ba66
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43b3e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b413
push esi
call fcn.0043e4d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b40c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b499
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b482
mov eax, dword [esi + 8]
test eax, eax
je 0x43b437
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b47e
cmp eax, 2
je 0x43b482
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b42a
cmp eax, 3
je 0x43b45d
cmp eax, 1
jne 0x43b42a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b42a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b42a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b4c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b4a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b4c0
add esp, 4
pop esi
ret

Function at 0x4599fa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x459a32
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00457aae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00457a86
jmp 0x459a3e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45b0e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45b12a
call fcn.00460ba1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45b12a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45b121
xor eax, eax
jmp 0x45b132
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045b138
pop edi
pop esi
pop ebx
ret 4

Function at 0x4610d1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4610ff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46111d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00461037
jmp 0x46111d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46111d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00461037
test edi, edi
mov eax, edi
jne 0x461107
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100304e
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push esi
mov esi, ecx
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x34]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1052dd5
lea eax, [ebp - 0xc]
push eax
push fcn.01003200
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
pop esi
leave
ret
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x34]
call fcn.01003200
test eax, eax
jne 0x1003080
mov eax, dword [ebp - 8]
jmp 0x1003095
Function at 0x1003840
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x8004
cmp edi, eax
mov esi, ecx
jg 0x103f47d
je 0x10040da
cmp edi, 6
jg 0x10517bb
je 0x100639f
dec edi
je 0x100b8c8
dec edi
jne 0x10040d2
push dword [ebp + 0xc]
call fcn.01008f6e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
dec edi
dec edi
jne 0x10542a5
push 1
push dword [ebp + 0xc]
call fcn.01009692
jmp 0x1003885
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push 4
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.01003701
test eax, eax
jl 0x1003885
cmp edi, 0x8006
je 0x103f48e
mov esi, dword [esi + 0x94]
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003885
push dword [ebp + 0xc]
call fcn.010037e7
test eax, eax
jne 0x1003885
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0100b8ec
jmp 0x1003885
cmp edi, 0x8006
jne 0x1003885
jmp 0x100639f
push 3
pop ebx
jmp 0x10063c9
sub edi, 7
je 0x10638c7
sub edi, 3
je 0x10638b8
dec edi
dec edi
je 0x106389f
sub edi, 3
jne 0x1003885
jmp 0x1063881
dec edi
jne 0x1003885
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 4]
push ecx
push dword [eax]
mov ecx, esi
call fcn.010542c9
xor eax, eax
inc eax
jmp 0x1003887
push 0x502
push 0x1063958
call fcn.01034b2d
push dword [ebp + 0xc]
mov ecx, esi
call fcn.01098807
jmp 0x1003885
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x48]
shr eax, 0x10
and eax, 0xfff
push eax
call fcn.0107043b
jmp 0x1003887
push 0
push dword [ebp + 0xc]
call fcn.01096d0e
jmp 0x1003885
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp dword [eax + 0x1c], ebx
jne 0x106390e
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x106390e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x10b10f4]
xor edx, edx
cmp eax, dword [0x10b10f0]
sete dl
cmp ecx, ebx
je 0x1063900
cmp eax, ecx
jne 0x1063900
xor edx, edx
inc edx
mov edi, dword [esi + 0x38]
cmp edi, ebx
jne 0x1063931
cmp edx, ebx
jne 0x106390e
mov dword [esi + 0x38], eax
push ebx
push ebx
push 0x504
push dword [0x10b10f0]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
push ebx
push ebx
push ebx
call dword [sym.imp.dwmapi.dll_Ordinal_113]
jmp 0x10542bc
cmp edx, ebx
je 0x106390e
mov ecx, esi
call fcn.01096b89
push edi
call fcn.0107a5f9
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [esi + 0x38], ebx
jmp 0x10542bc
Function at 0x1008e3c
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x14], 0
push 0
mov dword [esi], 0x10038c8
mov dword [esi + 4], 0x1008ccc
mov dword [esi + 8], 0x1008cbc
mov dword [esi + 0xc], 0x1008cac
mov dword [esi + 0x10], 1
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [esi + 0x20], 0
and dword [esi + 0x24], 0
mov dword [esi + 0x1c], eax
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100e8e7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push dword [esi + 0xc]
xor edi, edi
mov dword [esi + 0x3c], edi
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
jne 0x100e93c
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0xc]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jl 0x100e93c
push edi
push edi
push edi
push 0x100e940
push edi
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10530f2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
mov dword [esi + 0x3c], 1
jmp 0x100e933

Function at 0x100fec9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push 0x40000069
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1060770
lea eax, [ebp - 4]
push eax
add esi, 0x24
push esi
push 0
push 0x100f690
push 0x100f5a0
push 0x80000001
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x100ff15
mov dword [esi], 0xa
pop esi
leave
ret
and dword [esi + 0x24], 0
jmp 0x100ff15

Function at 0x1010312
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov eax, dword [edi]
mov dword [ebp + 8], ebx
test eax, eax
jne 0x1060879
xor eax, eax
test eax, eax
jne 0x1060880
test ebx, ebx
je 0x101036a
mov eax, dword [ebx]
test eax, eax
jne 0x1060880
push eax
push 0x10916f5
lea ecx, [ebp + 8]
call fcn.0100831c
lea ecx, [ebp + 8]
call fcn.010082dc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x1010342
mov eax, dword [eax]
jmp 0x1010334
push 0
push 0x10916f5
mov ecx, edi
call fcn.0100831c
mov eax, dword [esi + 0xc]
and dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x18]
push 0xca
mov dword [edi], ebx
push dword [eax + 0x44]
call fcn.0103c26a
mov ebx, 0x1060938
push ebx
mov esi, 0x80000001
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
inc esi
test eax, eax
jne 0x1060925
xor ebx, ebx
mov eax, dword [edi]
test eax, eax
je 0x10608f1
mov eax, dword [eax]
jmp 0x10608f3
xor eax, eax
cmp ebx, eax
jge 0x106091c
push ebx
push dword [edi]
mov dword [ebp - 8], esi
call dword [fcn.01002b68]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0x18
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
inc ebx
jmp 0x10608e7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.010082dc
mov eax, esi
jmp 0x1010363
Function at 0x1014d05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x1014d89
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1014d89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1014d82
and dword [ebp + 0xc], 0xf
jbe 0x1014d53
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x1014d49
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1014d79
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x1014d6d
jmp 0x1014d73
mov eax, 0x80004005
jmp 0x1014d75
call fcn.0107b677
jmp 0x1014d75
Function at 0x1016748
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x10167f5
jmp 0x1060c3b
xor eax, eax
jmp 0x1016813
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [eax], 0
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x101676a
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x101673c
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x1016818
mov eax, dword [edi + 0x34]
push esi
mov esi, dword [edi + 0x38]
and esi, 3
test eax, eax
je 0x10167ea
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x18
push eax
mov ebx, 0x100f280
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1060c22
mov ecx, edi
call fcn.010166a5
mov dword [ebp + 8], eax
test eax, eax
je 0x10167e9
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push ebx
push 0x80000001
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1060c33
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x1016728
and esi, 3
cmp esi, 2
je 0x1060c43
cmp esi, 1
jne 0x1016810
test byte [edi + 0x38], 0x10
jne 0x1060c55
mov eax, esi
pop esi
pop edi
leave
ret 4
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x1016775
jmp 0x101673c
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [eax], 1
jmp 0x10167e9
mov esi, dword [ebp - 8]
jmp 0x10167e0
xor esi, esi
inc esi
jmp 0x10167f5
test byte [edi + 0x38], 8
jne 0x1016810
xor esi, esi
inc esi
jmp 0x1016810
push 2
pop esi
jmp 0x1016810
Function at 0x10199f1
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 8], eax
jne 0x1019aad
jmp 0x1060b1f
cmp dword [ebp - 4], eax
jmp 0x10199e1
and dword [ebp - 8], 0
jmp 0x1019a2f
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060b06
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x1d
mov ebx, ecx
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
push 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop ecx
cmp eax, ecx
je 0x1019721
cmp eax, 0x1b
je 0x1019721
cmp eax, 0x2f
ja 0x1060aef
cmp dword [ebp - 4], 0
jne 0x1060afd
lea edx, [ebx + 4]
mov edi, 0x100d864
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019ab4
push 4
pop ecx
mov edi, 0x1014324
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x1014314
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x10169fc
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x1019b1e
push 4
pop ecx
mov edi, 0x1019340
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101970b
push 4
pop ecx
mov edi, 0x1019330
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10199de
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1019aad
test eax, eax
je 0x1019aad
push eax
push 0x10194f8
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x1019719
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019450
call esi
test eax, eax
je 0x1019b1e
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x10193a8
call esi
test eax, eax
je 0x1019b29
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x1019350
call esi
test eax, eax
jne 0x1019aad
cmp dword [ebp - 4], 0
je 0x1019aad
jmp 0x1060b1f
cmp dword [ebp - 4], eax
je 0x1019aad
jmp 0x1060b14
cmp eax, 0x31
jbe 0x1019721
jmp 0x1019a2f
and dword [ebp - 8], 0
jmp 0x1019a39
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x38], eax
jmp 0x1060b23
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffe
or eax, 2
jmp 0x1060b0f
and dword [ebx + 0x38], 0xfffffffc
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x18
push dword [ebx + 0x34]
mov edi, 0x100f280
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp eax, 2
je 0x1060b59
cmp eax, 3
jne 0x1019aad
mov eax, dword [ebx + 0x38]
push 4
and eax, 3
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x18
push dword [ebx + 0x34]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x1019aad