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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac62c
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.0049bf00
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.00442d0c
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.004248cd
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x427cfc
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.00492360
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x427ce6
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.00402703
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0040f9bc
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00402bb8
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x427c98
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x427d1a
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048ff11
leave
ret

Function at 0x427d3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x427d89
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x427d8f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x4ac5d9
call fcn.004916e1
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00413864
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push str._allowedInstaller
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 1
call ebx
cmp dword [ebp - 0x14], 7
jne 0x427e86
cmp dword [ebp - 0x10], esi
jbe 0x427e86
add dword [ebp - 0x10], 0x100
push dword [ebp - 0x10]
call fcn.00490962
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x427e86
push dword [ebp - 0x10]
push esi
push edi
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ebx, edi
cmp word [edi], si
je 0x427e7f
mov eax, dword [ebp - 0x10]
lea eax, [edi + eax*2]
cmp ebx, eax
jae 0x427e7f
push ebx
lea esi, [ebp - 0x38]
call fcn.00402703
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
push eax
push ecx
mov eax, esi
push eax
call fcn.0041395b
push 0
push 1
mov byte [ebp - 4], 0
call fcn.00402bb8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x18]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x427e32
push edi
call fcn.00490885
pop ecx
mov eax, dword [ebp + 8]
call fcn.004917b9
ret
Function at 0x427e8f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0xc], 0x400
xor ebx, ebx
call fcn.00490962
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call fcn.0041356a
test al, al
je 0x427f6c
call fcn.00423dd9
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
lea ecx, [eax + ebx + 2]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jbe 0x427f1e
lea edi, [eax + eax]
mov esi, edi
lea edi, [esi + esi]
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.004975fa
pop ecx
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x427f68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + ebx + 2]
cmp eax, esi
ja 0x427ef6
lea esi, [ebp - 0x18]
call fcn.00423dd9
mov edi, dword [eax + 0x14]
call fcn.00423dd9
cmp dword [eax + 0x18], 8
jb 0x427f39
mov eax, dword [eax + 4]
jmp 0x427f3c
add eax, 4
inc edi
push edi
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x18]
call fcn.00423dd9
mov eax, dword [eax + 0x14]
lea ebx, [ebx + eax + 1]
call fcn.0041629e
mov eax, dword [ebp + 8]
jmp 0x427ebf
xor al, al
jmp 0x427fa3
mov esi, dword [ebp - 8]
add ebx, ebx
xor eax, eax
mov word [ebx + esi], ax
add ebx, 2
push ebx
push esi
push 7
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
mov edi, eax
call fcn.00490885
xor eax, eax
test edi, edi
pop ecx
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42809a
Capabilities:
Check if file exists
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 0xc], 3
jbe 0x4280ae
cmp dword [ebp + 0xc], esi
ja 0x42811c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42811c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x428114
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov eax, str.gxdte
push 1
push dword [ebp + 0xc]
push 2
push 0xf01ff
push eax
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.0042807a
xor eax, eax
cmp dword [ebp - 4], esi
setne al
jmp 0x42811e
lea eax, [ebp - 8]
call fcn.0042807a
xor eax, eax
pop esi
leave
ret 8
Function at 0x428232
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x42828c
push 4
push str.gxdte
lea esi, [ebp - 8]
call fcn.0042804c
cmp dword [ebp - 8], edi
je 0x42828c
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x42828c
cmp dword [ebp - 0x20], 4
jne 0x42828c
inc ebx
lea eax, [ebp - 8]
call fcn.0042807a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4283b6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42846a
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00492360
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.00425b95
mov ecx, esi
call fcn.0042829b
test eax, eax
je 0x428417
xor eax, eax
inc eax
jmp 0x428468
lea eax, [ebp - 0x20c]
push eax
push str.explorer.exe__select__s
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call fcn.0042672b
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x428456
cmp eax, 0xffffffff
je 0x428456
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.004011d5
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ff11
leave
ret

Function at 0x428476
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4284e4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4284e4
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x4284f3
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0048ff11
add ebp, 0x190
leave
ret 4
Function at 0x42a995
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00492360
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.00402703
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048ff11
add ebp, 0x190
leave
ret

Function at 0x42aa0e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00492360
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.00402703
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0048ff11
add ebp, 0x190
leave
ret

Function at 0x42afac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x4ab194
call fcn.004916e1
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00492360
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x42b018
push str.projonepodlp
jmp 0x42b026
cmp dword [ebp + 0x234], 2
jne 0x42b045
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x42b03f
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x42b098
cmp dword [ebp + 0x234], ebx
jne 0x42b093
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.0042afac
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x42b06b
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x42b08f
push 2
push edi
call fcn.0042afac
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.00402bb8
jmp 0x42b09f
push 1
jmp 0x42b079
push 0x4b7ff0
mov esi, edi
call fcn.00402703
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0048ff11
add ebp, 0x228
leave
ret
Function at 0x42b19d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x41c], 0
push ebx
push esi
xor eax, eax
mov ebx, str.appbindqrcode.png
push edi
mov esi, ecx
cmp eax, ebx
jne 0x42b1d1
push 0x4b7ff0
jmp 0x42b251
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jg 0x42b1c7
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00492360
add esp, 0xc
push 0x208
lea edi, [ebp - 0x418]
call fcn.00428476
cmp word [ebp - 0x418], 0
je 0x42b1c7
mov eax, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
push eax
call edi
push ebx
lea eax, [ebp - 0x418]
push eax
call edi
lea edi, [ebp - 0x418]
call fcn.00424f01
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, edi
jne 0x42b250
mov eax, 0x4b7ff0
push eax
call fcn.00402703
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ff11
leave
ret
Function at 0x42c18f
Capabilities:
Check if file exists

Disassembly:
push 0xa8
mov eax, 0x4ab123
call fcn.0049174a
mov eax, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x42c1ff
push edi
lea ecx, [ebp - 0x98]
call fcn.004026bb
lea eax, [ebp - 0x98]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x78], ebx
call fcn.004011eb
cmp dword [eax + 0x18], 8
pop ecx
mov dword [ebp - 0x78], 3
jb 0x42c1ee
mov eax, dword [eax + 4]
jmp 0x42c1f1
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x42c203
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x42c21a
and dword [ebp - 0x78], 0xfffffffd
push esi
push ebx
lea esi, [ebp - 0xb4]
call fcn.00402bb8
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x42c231
push 0
push ebx
lea ecx, [ebp - 0x98]
call fcn.00402abb
cmp byte [ebp - 0x71], 0
je 0x42c23b
xor al, al
jmp 0x42c287
lea esi, [ebp - 0x6c]
call fcn.004026a8
lea esi, [ebp - 0x50]
call fcn.004026a8
lea esi, [ebp - 0x34]
call fcn.004026a8
push str.attachment
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.00402a23
push edi
mov ecx, esi
mov byte [ebp - 0x70], bl
call fcn.00402a23
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x7c]
add eax, 0x3c
call fcn.0042ccd1
lea esi, [ebp - 0x70]
call fcn.0042c37c
mov al, bl
call fcn.004917cd
ret 4
Function at 0x439e6f
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4a9308
call fcn.00491714
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.004904b4
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x439ea3
lea eax, [ebp + 8]
call fcn.00402762
jmp 0x439ea5
xor eax, eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push 0x43a756
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp + 8]
mov edi, eax
call fcn.00416455
mov eax, edi
jmp 0x439edf
call fcn.004917b9
ret

Function at 0x43a17f
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x4acf2f
call fcn.0049174a
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
mov edi, edx
call fcn.00426fe4
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], ebx
je 0x43a24d
cmp edi, ebx
jne 0x43a1b0
mov edi, 0x4b8448
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x43a1bc
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s__hs__p
lea ecx, [ebp - 0x2c]
call fcn.00427909
add esp, 0x10
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
je 0x43a225
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.0042629e
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x43a1f7
mov eax, dword [eax + 4]
jmp 0x43a1fa
add eax, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x43a206
lea ecx, [ebp - 0x28]
push ecx
push 0x4e3258
mov esi, eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00427a20
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.00402bb8
jmp 0x43a242
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x43a231
lea eax, [ebp - 0x28]
push eax
push 0x4e3258
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00402bb8
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00402bb8
call fcn.004917cd
ret 4

Function at 0x43a4ae
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x43a548
push ebx
mov esi, 0x4e3258
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.00492360
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x4b97d0
push esi
call ebx
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp + 8]
call fcn.00439fc0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ff11
leave
ret
Function at 0x440354
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x4a92ae
call fcn.0049174a
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push SysReAllocString
push dword [ebp - 0x28]
call dword [0x4e443c]
push eax
lea esi, [ebp - 0x20]
call fcn.00440318
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x4403bd
cmp ecx, 0xffffffff
jne 0x4403c3
inc edi
cmp edi, 4
jb 0x44038d
cmp ecx, ebx
je 0x4403ce
or eax, 0xffffffff
cmp ecx, eax
jne 0x4403de
lea eax, [ebp - 0x20]
call fcn.004011d5
xor eax, eax
call fcn.004917cd
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x44040b
cmp dword [ebp - 0x18], 0x706c646f
je 0x440417
lea eax, [ebp - 0x20]
call fcn.004011d5
mov eax, ebx
jmp 0x4403d8
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x440426
dec eax
jne 0x44040b
push 3
pop ebx
jmp 0x44040b
push 2
jmp 0x440423

Function at 0x44046f
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x440474
ret
Function at 0x440520
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], esi
ja 0x44055e
jb 0x440677
cmp eax, 0x1000
jb 0x440677
push 1
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x24], edi
call esi
mov dword [ebp - 0x1c], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4405ab
cmp dword [ebp - 0x20], eax
jne 0x440677
push eax
jmp 0x440664
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4405c0
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x44065e
cmp dword [ebx + 4], 0x706c646f
jne 0x44065e
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x4405e6
cmp eax, 3
jne 0x44065e
push dword [ebx + 0x18c]
push ebx
call fcn.0044046f
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x44063f
cmp dword [ebx + 0x1a0], 0x40
ja 0x44063f
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x44063f
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x44063f
cmp ax, 0xc
ja 0x44063f
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x44063f
cmp ax, 0x1f
ja 0x44063f
xor ebx, ebx
inc ebx
jmp 0x440641
xor ebx, ebx
cmp dword [ebp - 0x20], edi
jne 0x44065a
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push dword [ebp - 0x24]
call esi
mov eax, ebx
jmp 0x440679
cmp dword [ebp - 0x20], edi
jne 0x440677
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
push dword [ebp - 0x24]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret