joyce8/EMBER2024-capa huggingface dataset:
Function at 0xfc8a64
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0xfc8a92
mov eax, ebx
call fcn.00fc9518
cmp dword [ebx + 0x40], 0
je 0xfc8a8b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0xfc8b03
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0xfc8af5
cmp dword [ebx + 8], 0
je 0xfc8ab4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0xfc8ac6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xfc8af5
cmp dword [ebx + 8], 0
je 0xfc8aa7
cmp eax, 3
je 0xfc8ad9
dec eax
jne 0xfc8aa7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xfc8aa7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0xfc8aa7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0xfc8b21
cmp dword [ebx + 0x14], 0xcc
je 0xfc8b21
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00fc8b2c
pop ebx
ret
Function at 0x4015a0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x484004]
test eax, 0xc000000
je 0x4015ca
test dword [ebp + 8], eax
jne 0x401708
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401580
leave
ret
push esi
xor eax, eax
mov word [ebp - 0x504], ax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x518]
push eax
push 0x200
lea eax, [ebp - 0x504]
push eax
call fcn.004018cf
test eax, eax
jl 0x401820
test dword [0x484004], 0x8000000
push edi
mov edi, 0x401870
je 0x401801
cmp dword [0x484008], esi
je 0x401801
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x506]
push eax
movzx eax, word [ebp - 0x508]
push eax
movzx eax, word [ebp - 0x50a]
push eax
movzx eax, word [ebp - 0x50c]
push eax
movzx eax, word [ebp - 0x50e]
push eax
movzx eax, word [ebp - 0x512]
push eax
movzx eax, word [ebp - 0x514]
push eax
push 0x401828
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004016cf
add esp, 0x28
test eax, eax
jl 0x4017d5
push dword [0x484008]
lea eax, [ebp - 0x104]
push eax
call sub.msvcrt.dll_fputws
pop ecx
pop ecx
push dword [0x484008]
lea eax, [ebp - 0x504]
push eax
call sub.msvcrt.dll_fputws
push dword [0x484008]
push edi
call sub.msvcrt.dll_fputws
push dword [0x484008]
call sub.msvcrt.dll_fflush
add esp, 0x14
test dword [0x484004], 0x4000000
je 0x40181f
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x504]
push eax
call esi
push edi
call esi
pop edi
pop esi
jmp 0x4015ca

Function at 0x40778a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x8c]
push 0x407868
push 8
call fcn.004015a0
xor ebx, ebx
add esp, 0xc
xor edi, edi
cmp dword [esi + 0xb8], ebx
jne 0x426aca
cmp byte [esi + 0x1f0], bl
jne 0x4095e6
cmp dword [esi + 0x1ec], ebx
jne 0x4095e6
push dword [esi + 0x8c]
push 0x4077f0
push 8
call fcn.004015a0
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
push ebx
push esi
push 0x409c4f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x426ada
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40962f
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40962f
mov edi, dword [ebp - 8]
cmp edi, ebx
jl 0x426b08
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4077eb
add esp, 0x10
cmp edi, ebx
jge 0x409601
jmp 0x409638
push dword [esi + 0x8c]
push 0x426bf8
jmp 0x4077de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x426aee
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push edi
push dword [esi + 0x8c]
push 0x426b80
push 1
call fcn.004015a0
jmp 0x40963f
push edi
push dword [esi + 0x8c]
push 0x426b28
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x40962f
Function at 0x40920b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x2c], ebx
jne 0x409335
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x30], eax
cmp eax, ebx
je 0x439d00
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x34], eax
cmp eax, ebx
je 0x439d18
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x38], eax
cmp eax, ebx
je 0x439d1f
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x3c], eax
cmp eax, ebx
je 0x439d26
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x40], eax
cmp eax, ebx
je 0x439d2d
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x44], eax
cmp eax, ebx
je 0x439d34
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x48], eax
cmp eax, ebx
je 0x439d3b
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x4c], eax
cmp eax, ebx
je 0x439d42
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x50], eax
cmp eax, ebx
je 0x439d49
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x40a7eb
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
cmp eax, ebx
je 0x439d50
push 0x409518
push 8
call fcn.004015a0
pop ecx
pop ecx
push ebx
push 0xffffffffffffffff
push 1
lea esi, [edi + 0x30]
push esi
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
test eax, eax
jne 0x439d57
push 0x409470
push 8
call fcn.004015a0
pop ecx
pop ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x4093e0
push 8
call fcn.004015a0
pop ecx
pop ecx
push dword [edi + 0x20]
push 0x409350
push 8
call fcn.004015a0
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
push 0x43a410
push 1
call fcn.004015a0
pop ecx
pop ecx
mov eax, 0x8007000e
jmp 0x409349
push 0x43a368
jmp 0x439d05
push 0x43a2b0
jmp 0x439d05
push 0x43a1f0
jmp 0x439d05
push 0x43a138
jmp 0x439d05
push 0x43a0a0
jmp 0x439d05
push 0x439ff8
jmp 0x439d05
push 0x439f60
jmp 0x439d05
push 0x439ec0
jmp 0x439d05
push 0x439e20
jmp 0x439d05
push 0x439d68
mov ebx, 0x8000ffff
push 1
jmp 0x409318
Function at 0x40db77
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
push edi
mov edi, dword [eax + 0xe0]
imul edi, edi, 0x27
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402c5d
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41f5b8
mov eax, dword [esi + 0x94]
and dword [ebp - 8], 0
cmp dword [eax + 0xe0], 0
jbe 0x40dbff
mov dword [ebp - 4], ebx
push dword [ebp - 8]
add eax, 0xc0
mov ecx, eax
call fcn.00402770
push 0x27
push dword [ebp - 4]
push dword [eax]
call dword [sym.imp.ole32.dll_StringFromGUID2]
inc dword [ebp - 8]
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp - 8]
add dword [ebp - 4], 0x4e
cmp ecx, dword [eax + 0xe0]
jb 0x40dbcb
add edi, edi
push edi
push ebx
xor eax, eax
push 7
push eax
mov word [edi + ebx - 2], ax
mov eax, dword [esi + 0x94]
push 0x40dd5c
push dword [eax + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.00402c4c
mov eax, dword [esi + 0x94]
xor ebx, ebx
xor edi, edi
pop ecx
cmp dword [eax + 0x104], ebx
jbe 0x40dc62
add eax, 0xe4
push ebx
mov ecx, eax
call fcn.00402770
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea edi, [edi + eax + 1]
mov eax, dword [esi + 0x94]
inc ebx
cmp ebx, dword [eax + 0x104]
jb 0x40dc3a
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402c5d
xor ebx, ebx
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x41f5b8
lea eax, [edi + edi]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0x94]
and dword [ebp - 4], ebx
add esp, 0xc
cmp dword [eax + 0x104], ebx
jbe 0x40dd21
push dword [ebp - 4]
add eax, 0xe4
mov ecx, eax
call fcn.00402770
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0xc], eax
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, edi
ja 0x40dd0d
mov ecx, dword [esi + 0x94]
push dword [ebp - 4]
add ecx, 0xe4
call fcn.00402770
mov eax, dword [eax]
push dword [ebp - 0xc]
push eax
mov eax, edi
sub eax, ebx
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ebx*2]
push eax
call fcn.0040db2e
test eax, eax
jl 0x41f5d8
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
xor eax, eax
mov word [ecx + ebx*2], ax
inc ebx
inc dword [ebp - 4]
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x104]
jb 0x40dcaa
push dword [ebp - 0x14]
mov eax, dword [esi + 0x94]
push dword [ebp - 8]
mov eax, dword [eax + 0x20]
push 7
push 0
mov edi, 0x40c2d0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov ebx, eax
call fcn.00402c4c
pop ecx
test ebx, ebx
jne 0x41f5f3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push edi
push dword [esi + 0x8c]
push 0x41f738
push 1
call fcn.004015a0
add esp, 0x10
mov eax, 0x8007000e
jmp 0x40dd56
push eax
push dword [esi + 0x8c]
push 0x41f6b8
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x40dd21
jle 0x41f601
and ebx, 0xffff
or ebx, 0x80070000
push ebx
push edi
push dword [esi + 0x8c]
push 0x41f620
push 1
call fcn.004015a0
add esp, 0x14
mov eax, ebx
jmp 0x40dd56
Function at 0x40e07f
Capabilities:
Check if file exists
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push dword [esi + 0x8c]
push 0x40e284
push 8
call fcn.004015a0
xor edi, edi
add esp, 0xc
cmp dword [esi + 0xa0], edi
je 0x4262c7
mov eax, dword [esi + 0x94]
cmp dword [eax + 0x1c], edi
je 0x4262e6
push dword [eax + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426305
push ebx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ebx, eax
cmp ebx, edi
jl 0x42635a
push 0x28
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x1c]
push edi
lea ecx, [ebp - 0x54]
push ecx
push eax
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
call fcn.0040d2e0
mov ebx, eax
test ebx, ebx
jl 0x426375
push 0x40cdf0
push edi
lea eax, [ebp - 0x25c]
push eax
call fcn.0040d9d9
mov edi, eax
test edi, edi
jl 0x426383
lea eax, [ebp - 0x25c]
lea edi, [esi + 0x98]
push eax
mov ecx, edi
call fcn.00406ab4
push dword [edi]
push dword [esi + 0x8c]
push 0x40e240
push 4
call fcn.004015a0
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax]
add esp, 0x10
push eax
call dword [ecx + 0x58]
mov ecx, dword [edi]
mov eax, dword [esi + 0xa0]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x4c]
mov ebx, eax
test ebx, ebx
jl 0x4263a0
mov eax, dword [esi + 0xa0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov ebx, eax
test ebx, ebx
jl 0x4263ae
push dword [edi]
mov ecx, esi
call fcn.0040df75
push dword [esi + 0x8c]
push 0x40e1e8
push 8
call fcn.004015a0
add esp, 0xc
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401580
leave
ret
push dword [esi + 0x8c]
push 0x426748
push 1
call fcn.004015a0
add esp, 0xc
mov eax, 0x80040275
jmp 0x40e1d4
push dword [esi + 0x8c]
push 0x4266f0
push 1
call fcn.004015a0
add esp, 0xc
mov eax, 0x8007064a
jmp 0x40e1d4
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40e0db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x426332
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [esi + 0x94]
push edi
push dword [eax + 0x1c]
push dword [esi + 0x8c]
push 0x426650
push 1
call fcn.004015a0
add esp, 0x14
mov eax, edi
jmp 0x40e1d4
push ebx
push dword [esi + 0x8c]
push 0x4265c8
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x40e1d1
push ebx
push dword [esi + 0x8c]
push 0x426548
jmp 0x426366
push edi
push dword [esi + 0x8c]
push 0x4264b8
push 1
call fcn.004015a0
add esp, 0x10
mov eax, edi
jmp 0x40e1d3
push ebx
push dword [esi + 0x8c]
push 0x426438
jmp 0x426366
push ebx
push dword [esi + 0x8c]
push 0x4263c0
jmp 0x426366
Function at 0x40fc4f
Capabilities:
Get user security identifier

Disassembly:
push 0x14
mov eax, 0x47d6f8
call fcn.0040a539
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
je 0x419f36
cmp dword [ebp + 8], esi
je 0x419f40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 8]
mov dword [edi], esi
push esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x419f71
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.00402c5d
pop ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], esi
je 0x40fd14
push dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [edi], eax
cmp eax, esi
je 0x40fd0d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x419f5a
xor ebx, ebx
push dword [ebp - 0x14]
call fcn.00402c4c
pop ecx
mov eax, ebx
call fcn.00402739
ret 8
mov ebx, 0x8007000e
jmp 0x40fcfa
mov ebx, 0x8007000e
jmp 0x40fd03
mov eax, 0x80004003
jmp 0x40fd05
mov eax, 0x80070057
jmp 0x40fd05
call fcn.0043c280
push dword [edi]
mov ebx, eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [edi], esi
jmp 0x40fcfa
push eax
call fcn.0043c29a
mov ebx, eax
jmp 0x40fd03
Function at 0x40fd20
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
inc ebx
xor edi, edi
cmp dword [esi + 0xa8], 0xffffffff
jne 0x40fde8
push edi
push edi
push 0x2001f
push edi
push edi
push 0x40fe98
push 0x80000002
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [esi + 0xa8], edi
call fcn.004065e4
cmp eax, edi
jne 0x42ccf1
lea eax, [ebp - 4]
push eax
push 0x413f7c
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00403d3d
cmp eax, edi
jne 0x42cc5b
cmp dword [ebp - 4], edi
je 0x40fd9c
cmp dword [ebp - 4], 4
jb 0x42cc50
cmp dword [esi + 0xa8], ebx
je 0x40fde0
lea eax, [ebp - 0xc]
push eax
mov edi, 0x413f5c
push edi
lea ecx, [ebp - 0x18]
call fcn.00413c0d
test eax, eax
jne 0x42ccbe
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0xb0]
cmp dword [ebp - 8], ecx
ja 0x40fdde
jb 0x42cc6f
cmp dword [ebp - 0xc], eax
jb 0x42cc6f
xor edi, edi
lea ecx, [ebp - 0x18]
call fcn.00403d1d
cmp dword [esi + 0xa8], ebx
je 0x42cc91
xor eax, eax
cmp dword [esi + 0xa8], ebx
sete al
mov esi, eax
mov eax, 0x40fe8c
cmp esi, edi
jne 0x40fe0f
mov eax, 0x40fe80
push eax
push 0x40fe28
push 4
call fcn.004015a0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov dword [esi + 0xa8], ebx
jmp 0x40fd9c
push eax
push 0x42cf38
push ebx
call fcn.004015a0
add esp, 0xc
jmp 0x40fd9c
push dword [ebp - 8]
mov dword [esi + 0xa8], ebx
push dword [ebp - 0xc]
push ecx
push eax
push 0x42ce18
push 8
call fcn.004015a0
add esp, 0x18
jmp 0x40fdde
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [esi + 0xb8]
sbb edx, dword [esi + 0xbc]
mov dword [ebp - 8], edx
jne 0x42ccb3
cmp eax, 0x927c0
jbe 0x40fdf4
mov dword [esi + 0xa8], edi
jmp 0x40fdf4
cmp eax, 0xd
je 0x42ccce
cmp eax, 0xea
jne 0x40fdde
push 0x42cd98
push 8
mov dword [esi + 0xa8], ebx
call fcn.004015a0
pop ecx
pop ecx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x40fdde
push eax
push 0x42cd08
push ebx
call fcn.004015a0
add esp, 0xc
jmp 0x40fde0
Function at 0x4107f9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x8c]
push 0x410950
push 8
call fcn.004015a0
mov ecx, dword [esi + 0x94]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
xor eax, eax
lea edx, [ebp - 4]
push edx
push eax
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ecx + 0x20]
mov ebx, 0x40c2d0
push ebx
push ecx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 4], 0
je 0x410942
test eax, eax
jne 0x410942
cmp dword [ebp - 0x1c], 7
jne 0x410942
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402c5d
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0
push eax
call sub.msvcrt.dll_memset
xor ecx, ecx
add esp, 0x10
cmp dword [ebp - 8], ecx
je 0x420fb2
mov eax, dword [esi + 0x94]
mov eax, dword [eax + 0x20]
lea edx, [ebp - 4]
push edx
push dword [ebp - 8]
push ecx
push ecx
push ebx
push eax
call edi
test eax, eax
jne 0x420fd7
shr dword [ebp - 4], 1
je 0x420fd7
and dword [ebp - 0x18], 0
cmp dword [ebp - 4], 0
mov edi, dword [ebp - 8]
jbe 0x410931
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x104
push edi
call fcn.004109b9
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x410947
inc dword [ebp - 0x10]
push edi
lea ecx, [ebp - 0x14]
call fcn.00417f25
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x41091b
push dword [ebp - 0x14]
mov ecx, esi
call fcn.004105ef
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x420fe5
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
add dword [ebp - 0x18], eax
lea edi, [edi + eax*2]
call ebx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 4]
jb 0x4108d3
push dword [ebp - 8]
call fcn.00402c4c
mov eax, dword [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x41093d
mov dword [ebp - 0xc], 1
jmp 0x410931
mov eax, dword [ebp - 4]
shr eax, 1
push eax
push dword [esi + 0x8c]
push 0x4210c0
push 1
call fcn.004015a0
add esp, 0x10
mov eax, 0x8007000e
jmp 0x41093d
push dword [ebp - 8]
call fcn.00402c4c
pop ecx
jmp 0x410942
push dword [ebp - 0xc]
push dword [esi + 0x8c]
push 0x421008
push 1
call fcn.004015a0
add esp, 0x10
push dword [ebp - 0x14]
call ebx
jmp 0x410931
Function at 0x41490d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
push eax
xor edi, edi
push edi
push 0x400
push 0x4149e8
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], edi
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, eax
cmp esi, edi
jne 0x431938
push ebx
push edi
push 0x414a18
push dword [ebp - 0x210]
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d2e0
push dword [ebp - 0x210]
mov ebx, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp ebx, edi
jl 0x43194f
push edi
push 0x414a0c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.004148bd
mov ebx, eax
cmp ebx, edi
jl 0x431957
push edi
push 0x4149f8
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.004148bd
mov esi, eax
cmp esi, edi
jl 0x43196e
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
add ecx, 0x4c
call fcn.00406ab4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401580
leave
ret
push esi
push 0x431b40
push 1
call fcn.004015a0
add esp, 0xc
mov eax, esi
jmp 0x4149da
push ebx
push 0x431ab0
jmp 0x43195d
push ebx
push 0x431a18
push 1
call fcn.004015a0
add esp, 0xc
mov eax, ebx
jmp 0x4149d9
push esi
push 0x431988
push 1
call fcn.004015a0
add esp, 0xc
mov eax, esi
jmp 0x4149d9

Function at 0x414a3c
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
push ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0040d2e0
test eax, eax
jl 0x430c82
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x414ab9
test byte [ebp - 0x664], 0x10
je 0x430c99
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x414a93
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
leave
ret 8
push eax
push edi
push ebx
push 0x430e10
push 1
call fcn.004015a0
add esp, 0x14
jmp 0x414ab9
push 0
lea eax, [ebp - 0x638]
push eax
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d2e0
test eax, eax
jl 0x430cee
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push 0x430db8
push 8
call fcn.004015a0
add esp, 0xc
jmp 0x414aa0
push eax
lea eax, [ebp - 0x638]
push eax
push ebx
push 0x430d10
push 1
call fcn.004015a0
add esp, 0x14
jmp 0x414aa0
Function at 0x414acf
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x274], esi
test esi, esi
je 0x414c11
push esi
push 0x414c38
push 8
call fcn.004015a0
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x26c]
push eax
call fcn.00408479
test eax, eax
jl 0x430eac
lea eax, [ebp - 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x414b2f
sub eax, edx
sar eax, 1
je 0x414b50
add eax, eax
cmp word [ebp + eax - 0x26e], 0x5c
jne 0x430ec1
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x44], 0x2a
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x40cdf0
push 0x20
lea eax, [ebp - 0x44]
push eax
call fcn.0040e79c
test eax, eax
jl 0x414b91
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00414a3c
push 0x414c24
push 0x114
lea eax, [ebp - 0x26c]
push eax
call fcn.0040e79c
test eax, eax
jl 0x430edb
push ebx
push edi
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
push 0x80
lea eax, [ebp - 0x26c]
push eax
call esi
mov ecx, dword [ebp - 0x270]
mov edi, 0x414c20
push edi
lea eax, [ebp - 0x26c]
push eax
call fcn.00414a3c
mov ecx, dword [ebp - 0x270]
push edi
push dword [ecx + 0x4c]
call fcn.00414a3c
push ebx
lea eax, [ebp - 0x26c]
push eax
call esi
push 2
push dword [ebp - 0x274]
call esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401580
leave
ret 4
push eax
push 0x430f80
push 1
call fcn.004015a0
add esp, 0xc
jmp 0x414c11
push 0x5c
pop ecx
mov word [ebp + eax - 0x26c], cx
xor ecx, ecx
mov word [ebp + eax - 0x26a], cx
jmp 0x414b50
push eax
push 0x430ee8
jmp 0x430eb2