joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413e22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x413e67
call fcn.00420075
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x413e67
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x413e83
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004cf839
mov ebx, eax
test edi, edi
je 0x413e81
test esi, esi
je 0x413e81
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4148a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x414967
cmp dword [esi + 0x20], 0
je 0x414967
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x414967
cmp dword [ebp + 8], 0
je 0x414967
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00420075
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x414938
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414967
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004d0383
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x414958
test edi, edi
je 0x414958
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x414963
mov ecx, esi
call fcn.0041464b
mov eax, ebx
jmp 0x414969
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4193dc
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5963ba
call fcn.0056cb5a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x419402
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x419462
call fcn.00419ec9
push eax
lea ecx, [ebp - 0x10]
call fcn.00402dc0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005788dc
push eax
call fcn.00408ed3
add esp, 0x14
test esi, esi
je 0x419455
push esi
call fcn.005771c0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401f60
mov eax, ebx
call fcn.0056cb23
ret 8
Function at 0x45d217
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00420075
push 0xf1
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45d300
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x45d300
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x45d300
movzx eax, word [edi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040888b
pop ecx
movzx ecx, word [edi + 6]
xor esi, esi
xor edx, edx
mov dword [ebp - 4], eax
mov eax, ecx
cmp si, cx
jae 0x45d2b0
mov ebx, dword [ebp - 4]
lea ecx, [edi + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov dword [ebx + edx*4], eax
inc edx
movzx esi, word [edi + 6]
cmp edx, esi
jl 0x45d299
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov ecx, dword [ebp - 8]
movzx eax, ax
push eax
push dword [ebp - 4]
call fcn.0045d96b
push dword [ebp - 4]
mov esi, eax
call fcn.00408886
pop ecx
test esi, esi
je 0x45d2f5
movzx ecx, word [edi + 4]
movzx esi, word [edi + 2]
push ecx
push esi
lea eax, [ecx + 7]
mov ecx, dword [ebp - 8]
lea edx, [esi + 7]
push eax
push edx
call fcn.0045db37
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0045d1c6
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x45d302
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4780bd
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00402a90
call fcn.004200c9
cmp dword [eax + 0x14], 0
jne 0x4780d8
mov ecx, esi
pop esi
jmp fcn.00477939
pop esi
ret

Function at 0x480207
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x48025a
push esi
push dword [ebp + 8]
call fcn.004803ed
mov edi, eax
test edi, edi
je 0x480255
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x480255
mov eax, dword [ebp - 8]
jmp 0x48026c
mov eax, dword [ebp + 0x10]
jmp 0x48026c
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x4814c5
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x59be64
call fcn.0056cb5a
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [edx + 0x14]
cmp eax, 8
ja case.0x4812ef.4
jmp dword [eax*4 + 0x4814c5]
mov edi, dword [edi]
lea eax, [edx + 0x28]
push eax
mov esi, dword [edi + 0xdc]
mov ecx, esi
call dword [0x5a6aa4]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call esi
mov esi, dword [edi + 0xd0]
mov ecx, esi
push eax
call dword [0x5a6aa4]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x104]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, ebx
call esi
test eax, eax
jne 0x4814b2
call fcn.00420075
xor ebx, ebx
push ebx
push ebx
mov edi, dword [eax + 4]
push ebx
push 0xe100
mov esi, dword [edi]
mov ecx, dword [esi + 0xc]
call dword [0x5a6aa4]
mov ecx, edi
call dword [esi + 0xc]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x481370
mov ecx, esi
call fcn.00480d67
xor ecx, ecx
cmp dword [esi + 0x20], ebx
setne cl
jmp case.0x4812ef.4
mov eax, dword [edi]
push dword [edx + 0x18]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
test eax, eax
jne 0x4814b2
xor ecx, ecx
jmp case.0x4812ef.4
mov eax, dword [edi]
xor ebx, ebx
mov dword [edi + 0x4c], ebx
push dword [edx + 0x18]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
test eax, eax
je 0x4813f1
mov eax, dword [ebp + 8]
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4814bf
push ebx
push 0xe108
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0x94], ebx
mov ecx, ebx
jmp case.0x4812ef.4
mov eax, dword [edi + 0x4c]
and dword [edi + 0x4c], 0
mov dword [edi + 0x94], eax
jmp case.0x4812ef.4
mov eax, dword [edi]
mov esi, dword [eax + 0x98]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
xor ebx, ebx
mov ecx, ebx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x94], ebx
jne case.0x4812ef.4
push 0x2c
call fcn.0040884e
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
jmp 0x481498
mov eax, dword [edi]
mov esi, dword [eax + 0x9c]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 8], ebx
jne 0x481479
push 0xffffffffffffffff
push ebx
test ecx, ecx
je 0x48146f
push 0xf10b
jmp 0x481474
push 0xf10c
call fcn.0041f8a0
mov ecx, ebx
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x94], ebx
jne case.0x4812ef.4
push 0x2c
call fcn.0040884e
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4814a5
mov ecx, eax
call fcn.0047dc62
mov ebx, eax
mov dword [edi + 0x94], ebx
mov dword [ebx + 0x14], 7
mov ecx, dword [ebp - 0x10]
mov eax, ecx
call fcn.0056cb23
ret 4
call fcn.0041f10c
nop
inc eax
adc ecx, dword [eax]
jge 0x4814de
dec eax
add byte [ebx - 0x5cffb7ed], ah
adc ecx, dword [eax]
mov ch, 0x14
dec eax
add al, bh
adc ecx, dword [eax]
or dl, byte [eax + ecx*2]
adc al, 0x48
add byte [ecx + 0x14], al
dec eax
add dh, dh
adc cl, byte [eax]
Function at 0x481b2f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x481b5a
cmp dword [ebx + 0x80], 0
jne 0x481b5a
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00420075
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00481deb
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x481b94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00420075
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x481bcb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00481bea
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4835fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x483646
call fcn.00420075
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x483643
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x483696
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x483673
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5a6aa4]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x483673
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x483694
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x5a6aa4]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x48472a
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0057a2a8
pop ecx
test eax, eax
jne 0x48476c
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00403c80
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x484732
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x48fa18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x48fa32
call fcn.00420075
mov esi, dword [eax + 0xc]
push 0x5b6708
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x48fa88
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48fa88
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x48fa67
xor esi, esi
jmp 0x48fa7d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0048fa91
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x48fa8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4cd897
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00418fbd
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004cdab0
cmp esi, 3
je 0x4cd8d5
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4cd91e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4cd8f8
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00413ef7
jmp 0x4cd909
push 0xff
mov ecx, esi
call fcn.00402d80
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041666c
jmp 0x4cd942
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4cd942
push dword [esi]
push dword [ebp - 4]
call fcn.004d1323
pop edi
pop esi
leave
ret 0xc
Function at 0x4cda07
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004cdab0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4cda4f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00413ef7
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041666c
jmp 0x4cda5a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004d1323
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4d30d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4d312b
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d3104
call fcn.0041ac1e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d3119
call fcn.0041ac1e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d312b
call fcn.0041ac1e
call fcn.00420075
cmp dword [eax + 0x3c], 0
je 0x4d3140
push edi
mov ecx, ebx
call fcn.004d2805
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d3312
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4d3169
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4d3175
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4d7062
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x596dad
call fcn.0056cb5a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408971
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4d70c0
call fcn.004200c3
cmp eax, 1
jne 0x4d70c0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00431219
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00419e29
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401f60
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401f60
mov eax, esi
call fcn.0056cb23
ret 0x10
Function at 0x4d70e7
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x596dad
call fcn.0056cb5a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00408971
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4d7145
call fcn.004200c3
cmp eax, 1
jne 0x4d7145
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00431219
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00419e29
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00401f60
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401f60
mov eax, esi
call fcn.0056cb23
ret 0x14

Function at 0x52382b
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00559c5c
call fcn.004200c9
cmp dword [eax + 0x14], 0
jne 0x523846
mov ecx, esi
pop esi
jmp fcn.00522b56
pop esi
ret

Function at 0x529459
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x5294a0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x5294af
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x5294af
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x5a6aa4]
call edi
jmp 0x5294b1
cmp dword [esi + 4], ebx
je 0x5294af
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x58b7b1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058b627
Function at 0x642c5e20
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x642c9004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x642c5e43
xor eax, eax
jmp 0x642c5e9e
push 0x40
call fcn.642c7cdc
test eax, eax
je 0x642c5e3f
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
push 0x642c17fc
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x642c5e86
cmp eax, esi
ja 0x642c5e86
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push 8
push eax
push edi
call dword [sym.imp.USER32.dll_WinHelpW]
xor eax, eax
jmp 0x642c5e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x642c17b0
call fcn.642d2cde
pop ecx
pop ecx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.642c51c5
leave
ret 8

Function at 0x642c5eb2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x642c9004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [section..data]
mov esi, section..data
mov ebx, 0x642c16ec
cmp eax, esi
je 0x642c5f1f
test byte [eax + 0x1c], 2
je 0x642c5f1f
cmp byte [eax + 0x19], 5
jb 0x642c5f1f
push ebx
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c2001
lea eax, [ebp - 0x20c]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x214], eax
test eax, eax
jge 0x642c5f70
mov eax, dword [section..data]
cmp eax, esi
je 0x642c5f67
test byte [eax + 0x1c], 2
je 0x642c5f67
cmp byte [eax + 0x19], 2
jb 0x642c5f67
push dword [ebp - 0x214]
push ebx
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c5545
movzx eax, word [ebp - 0x214]
jmp 0x642c5fb0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push edi
call fcn.642c20b8
mov edi, eax
test edi, edi
jge 0x642c5fb9
mov eax, dword [section..data]
cmp eax, esi
je 0x642c5fad
test byte [eax + 0x1c], 2
je 0x642c5fad
cmp byte [eax + 0x19], 2
jb 0x642c5fad
movzx ecx, di
push ecx
push ebx
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c5545
movzx eax, di
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x642c5fc3
mov dword [ebp - 0x210], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.642c51c5
leave
ret 0xc
Function at 0x642c7df9
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x642c9004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [section..data]
mov esi, section..data
mov edi, 0x642c1ed8
cmp eax, esi
je 0x642c7e3d
test byte [eax + 0x1c], 2
je 0x642c7e3d
cmp byte [eax + 0x19], 5
jb 0x642c7e3d
push edi
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c2001
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x642c7ea1
mov eax, dword [section..data]
cmp eax, esi
je 0x642c7e9d
test byte [eax + 0x1c], 2
je 0x642c7e9d
cmp byte [eax + 0x19], 2
jb 0x642c7e9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push edi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.642c5545
xor eax, eax
jmp 0x642c7eab
cmp dword [ebp - 0x114], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.642c51c5
leave
ret

Function at 0x642cd218
Capabilities:
Encode data using xor

Disassembly:
call 0x642cd191
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x642cd1c1
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x642cd1dd
xor edx, 0
jmp 0x642cd1e8
xor edx, edx
jmp 0x642cd1ff
jmp 0x642cd20b
xor eax, eax
push 0x8427d7c0
call 0x642cd218
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x642cd254
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x642cd22d
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x642cd26b
add eax, 0
jno 0x642cd270
add esi, 0
ret 0x10