joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449280
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47de38
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.00476eab
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00448c20
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.00476dd9
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.0047369d
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.0047369d
push 1
push 0
push 0
mov ecx, esi
call fcn.00473645
push 1
push 0
push 1
mov ecx, esi
call fcn.00473645
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476f1d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x449400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47de58
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.00476eab
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00448c20
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.00476dd9
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 0x4494c4
cmp dword [esp + 0x40], 1
jne 0x4494c2
cmp ecx, eax
jge 0x4494c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4494d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00449280
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.00476f1d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x449c50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47dec3
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.00471aba
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.00477153
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047866f
test eax, eax
je 0x449d6c
mov ecx, dword [esp + 0x3c]
call fcn.00477180
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 0x449d30
push edi
mov ecx, esi
call fcn.004747e8
mov ecx, esi
call fcn.00449ed0
cmp dword [esp + 0x38], 1
jne 0x449d65
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.00474923
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 0x44c780
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44c7b3
push esi
call fcn.0044f890
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44c7ac
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 0x44c839
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44c822
mov eax, dword [esi + 8]
test eax, eax
je 0x44c7d7
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 0x44c81e
cmp eax, 2
je 0x44c822
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c7ca
cmp eax, 3
je 0x44c7fd
cmp eax, 1
jne 0x44c7ca
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 0x44c7ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44c7ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044c860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44c848
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044c860
add esp, 4
pop esi
ret

Function at 0x4583c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x458463
test eax, eax
jbe 0x458463
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x458463
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45840e
xor esi, esi
jmp 0x458414
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45843f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00412b60
add esi, eax
push esi
mov ebx, esi
call fcn.00412b60
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x458420
pop ebp
test edi, edi
pop edi
jne 0x458463
test ebx, ebx
je 0x458463
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00461580
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4585a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4586bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4586bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00471f0c
mov esi, eax
test esi, esi
je 0x4586bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4586bd
mov ecx, esi
call fcn.00458510
cmp edi, eax
jge 0x4586bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x458643
mov dword [esp + 0x34], 1
jmp 0x45869e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4586bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00457ac0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x45bd20
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45bd6a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x45bd99
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x45bddb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4728b0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4728e8
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.00470967
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047093f
jmp 0x4728f4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473fa5
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 0x473fe7
call fcn.00479a5a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473fe7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473fde
xor eax, eax
jmp 0x473fef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473ff5
pop edi
pop esi
pop ebx
ret 4

Function at 0x479f8a
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 0x479fb8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x479fd6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479ef0
jmp 0x479fd6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x479fd6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479ef0
test edi, edi
mov eax, edi
jne 0x479fc0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1018d40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1018d53
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1018d4f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1018d80
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1018dbf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1018db5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1018dc1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1018da5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x101a556
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
call fcn.01019d60
xor ebx, ebx
cmp dword [ebp + 8], ebx
jne 0x101a578
mov eax, 0x80070057
jmp 0x101a656
push edi
mov edi, dword [fcn.01001020]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x80070057
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call edi
test eax, eax
jne 0x101a652
cmp dword [ebp - 8], 1
je 0x101a5bc
cmp dword [ebp - 8], 2
je 0x101a5bc
cmp dword [ebp - 8], 7
jne 0x101a652
shr dword [ebp - 4], 1
test byte [esi + 8], 0x20
je 0x101a5fc
mov eax, dword [esi + 4]
cmp dword [ebp - 4], eax
jb 0x101a5d0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi]
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ecx, dword [esi + 4]
cmp ecx, ebx
jle 0x101a5f6
mov edx, dword [esi]
mov word [edx + ecx*2 - 2], bx
cmp eax, ebx
jne 0x101a652
jmp 0x101a63d
push dword [ebp - 4]
mov ecx, esi
call fcn.01019b06
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x101a652
mov ecx, dword [ebp - 4]
add ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
mov ecx, esi
je 0x101a635
lea eax, [ebp - 0x10]
push eax
call fcn.01019b32
jmp 0x101a652
push dword [ebp - 0x10]
call fcn.01019efb
cmp dword [ebp - 8], 2
je 0x101a648
mov dword [ebp - 0xc], ebx
jmp 0x101a652
mov ecx, esi
call fcn.0101a425
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101a783
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [fcn.01001020]
push edi
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
cmp dword [ebp - 8], 3
mov ecx, dword [ebp - 4]
jne 0x101a7bd
cmp ecx, edi
jne 0x101a7bd
push 2
pop eax
cmp eax, edi
jne 0x101a7f5
shr ecx, 1
push ecx
call fcn.010192a7
cmp eax, edi
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x101a7f5
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x10], ecx
lea ecx, [ebp + 0x10]
push ecx
push eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x101a7ef
mov al, 1
jmp 0x101a7f7
push ebx
call fcn.010192d1
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x101a91e
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [fcn.0100101c]
test eax, eax
jne 0x101a970
push edi
lea eax, [ebp + 0xc]
push eax
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
push dword [ebp - 4]
call dword [fcn.01001020]
push dword [ebp - 4]
mov edi, eax
call dword [fcn.01001028]
xor eax, eax
cmp edi, esi
sete al
pop edi
jmp 0x101a972
xor al, al
pop esi
leave
ret 0xc

Function at 0x1021497
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x80070005
call fcn.0101e0f0
push dword [ebp + 8]
lea ecx, [ebp - 0x60]
push 2
call fcn.0101f5db
xor ebx, ebx
test eax, eax
jl 0x10214fb
lea ecx, [ebp - 0x60]
call fcn.0101e18d
cmp eax, 4
jne 0x10214fb
push 0x3e8
lea eax, [ebp - 0x60]
push eax
call fcn.0102095f
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x1021504
cmp byte [0x1073930], bl
je 0x10214fb
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x1073938
call fcn.010213aa
cmp dword [ebp - 4], ebx
jge 0x10215af
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 8]
push 0x1020b92
push ebx
push ebx
call dword [0x10012d8]
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x10215af
mov ecx, 0x10735a0
call fcn.0101ff08
push eax
push esi
call dword [0x1001144]
test eax, eax
jne 0x10215a8
lea eax, [ebp - 4]
push eax
push esi
call dword [0x1001190]
test eax, eax
je 0x10215a8
mov eax, dword [0x1057798]
cmp eax, 0x1057798
je 0x1021578
test byte [eax + 0x3c], 1
je 0x1021578
cmp byte [eax + 0x39], 3
jb 0x1021578
push dword [ebp - 4]
push 0x1004b28
push 0xb
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0101ffdf
cmp dword [ebp - 4], ebx
je 0x1021586
mov dword [ebp - 4], 0x80070005
jmp 0x10215a8
cmp byte [0x1073930], bl
je 0x10215a8
lea ecx, [ebp - 0x60]
call fcn.0101e0d4
test al, al
jne 0x10215a8
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x1073938
call fcn.010213aa
push esi
call dword [fcn.01001128]
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x60]
call fcn.0101c265
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1021c1b
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x1001220]
lea eax, [ebp - 4]
push eax
xor esi, esi
or ebx, 0x8000
push ebx
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call edi
cmp eax, esi
jge 0x1021c62
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
and eax, 0xffff7fff
push ecx
push eax
push esi
mov dword [ebp - 0xc], eax
call edi
mov edi, eax
cmp edi, esi
jl 0x1021c72
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0101f6b2
mov edi, eax
jmp 0x1021ccd
test byte [ebp + 8], 0x2e
je 0x1021ccd
lea ecx, [ebp - 0x18]
call fcn.01019631
push 0x104
lea ecx, [ebp - 0x18]
call fcn.0101a11b
mov edi, eax
cmp edi, esi
jl 0x1021cc5
push dword [ebp - 0x18]
mov edi, dword [0x100121c]
push esi
push esi
push ebx
push esi
call edi
cmp eax, esi
jge 0x1021cb7
push dword [ebp - 0x18]
push esi
push esi
push dword [ebp - 0xc]
push esi
call edi
mov edi, eax
cmp edi, esi
jl 0x1021cc5
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push esi
call fcn.0101f5db
mov edi, eax
lea ecx, [ebp - 0x18]
call fcn.01019f33
cmp edi, esi
jl 0x1021cdb
push dword [ebp + 0xc]
call fcn.01021ae1
mov edi, eax
lea eax, [ebp - 8]
push eax
call dword [0x1001214]
test eax, eax
jl 0x1021cf5
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x1021d02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1022cad
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp byte [ecx + 0x10], bl
mov dword [ebp - 0xc], ecx
jne 0x1022dc1
push ebx
push 0x20019
push 0x1006f18
mov byte [ecx + 0x10], 1
push 0x80000002
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.0101b41f
test eax, eax
je 0x1022cf4
lea ecx, [ebp - 4]
call fcn.0101b401
jmp 0x1022dc1
push esi
push edi
xor edi, edi
mov esi, 0x104
jmp 0x1022d93
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x20]
mov eax, edi
push eax
push dword [ebp - 4]
inc edi
call dword [0x1001018]
test eax, eax
jne 0x1022daf
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1022d32
cmp word [ecx], bx
setne al
cmp al, bl
je 0x1022d8b
cmp dword [ebp - 8], ebx
je 0x1022d8b
lea ecx, [ebp - 0x2c]
call fcn.01019631
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x2e
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
jne 0x1022d54
add eax, 2
push eax
call fcn.01019f85
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp ecx, ebx
je 0x1022d69
cmp word [ecx], bx
setne al
cmp al, bl
je 0x1022d83
push ecx
call fcn.0101b7b6
cmp eax, 0xffffffff
jne 0x1022d83
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
call fcn.010229ee
lea ecx, [ebp - 0x2c]
call fcn.01019f33
lea ecx, [ebp - 0x20]
call fcn.01019f33
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], esi
call fcn.01019631
push esi
lea ecx, [ebp - 0x20]
call fcn.01019f3d
test eax, eax
jge 0x1022d02
lea ecx, [ebp - 0x20]
call fcn.01019f33
lea ecx, [ebp - 4]
call fcn.0101b401
pop edi
pop esi
pop ebx
leave
ret
Function at 0x103af9d
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.01019631
xor edi, edi
push 2
lea esi, [ebp - 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.0103af5b
mov esi, eax
cmp esi, edi
jl 0x103b153
cmp dword [ebp - 4], edi
jne 0x103b153
lea ecx, [ebp - 0x14]
call fcn.01019631
push 1
lea esi, [ebp - 4]
lea eax, [ebp - 0x14]
call fcn.0103af5b
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x103b13e
cmp dword [ebp - 4], edi
jne 0x103b006
push edi
lea eax, [ebp - 0x14]
call fcn.0103af5b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], edi
jl 0x103b13e
cmp dword [ebp - 4], edi
je 0x103b13e
lea ecx, [ebp - 0x14]
call fcn.010196f9
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0103c774
mov ebx, eax
cmp ebx, edi
pop ecx
lea ecx, [ebp - 0x14]
jne 0x103b057
call fcn.01019f33
lea ecx, [ebp - 0x20]
call fcn.01019f33
mov eax, 0x8007000e
jmp 0x103b15d
call fcn.010196f9
lea eax, [eax + eax + 4]
push eax
push edi
push ebx
call fcn.0101913a
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.010196f9
add eax, eax
push eax
push esi
push ebx
call fcn.01019146
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.010196f9
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0103c774
mov esi, eax
cmp esi, edi
pop ecx
jne 0x103b0b4
push ebx
call fcn.01018964
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x103b040
lea ecx, [ebp - 0x20]
call fcn.010196f9
lea eax, [eax + eax + 4]
push eax
push edi
push esi
call fcn.0101913a
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], eax
call fcn.010196f9
add eax, eax
push eax
push dword [ebp - 4]
push esi
call fcn.01019146
add esp, 0xc
mov dword [ebp - 0x40], edi
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
mov word [ebp - 0x30], 0x1614
call dword [0x1001210]
test eax, eax
je 0x103b11f
mov dword [ebp - 8], 0x80004005
push esi
call fcn.0101c559
and eax, 0xfffffffc
push eax
push esi
call dword [0x1001174]
push ebx
call fcn.01018964
push esi
call fcn.01018964
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.01019f33
lea ecx, [ebp - 0x20]
call fcn.01019f33
mov eax, dword [ebp - 8]
jmp 0x103b15d
lea ecx, [ebp - 0x20]
call fcn.01019f33
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x104019d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
jbe 0x10401c9
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x1016dd0]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x10401a8
not eax
ret