joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c3fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x40c415
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0040c321
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x40c511
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040c1f5
cmp dword [ebp - 0x14], esi
je 0x40c40c
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40c451
cmp eax, 0xffffffff
jne 0x40c45d
lea eax, [ebp - 0x10]
call fcn.00404a1d
mov eax, esi
jmp 0x40c40e
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40c451
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40c507
mov edi, dword [ebp + 8]
call fcn.0040b29c
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.0042d4e0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x40c4f6
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0040b2c9
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x40c451

Function at 0x40c6cc
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c761
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40c761
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40c760
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x40c760
cmp eax, ebx
jl 0x40c735
mov eax, 0x400000
jg 0x40c731
cmp ecx, eax
jbe 0x40c735
mov edi, eax
jmp 0x40c737
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x40c760
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4
Function at 0x40c9cc
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40ca04
xor eax, eax
jmp 0x40ca40
lea eax, [ebp - 4]
push eax
push 0xf01ff
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40ca00
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40d044
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44449f
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004368e0
mov eax, dword [0x456070]
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.0040ec58
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0040b0b6
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x40d159
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.0042d4e0
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 0x40d143
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.0040160a
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0040d603
push edi
push 1
mov byte [ebp - 4], 1
call fcn.0040189d
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 0x40d0f5
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x40d177
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.0042af05
leave
ret
Function at 0x40d197
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 str.Softwareprojonepodlp_volatilelastError_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x40d1e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
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 0x40d33a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d3ee
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.0042d4e0
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0040bdb2
mov ecx, esi
call fcn.0040d21f
test eax, eax
je 0x40d39b
xor eax, eax
inc eax
jmp 0x40d3ec
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.0040c2af
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x40d3da
cmp eax, 0xffffffff
je 0x40d3da
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.00404a1d
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042af05
leave
ret

Function at 0x41b848
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x456070]
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.0042d4e0
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.0040160a
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042af05
add ebp, 0x190
leave
ret

Function at 0x41b8c1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x456070]
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.0042d4e0
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.0040160a
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042af05
add ebp, 0x190
leave
ret
Function at 0x41b93a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x4436bc
call fcn.0042c141
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.0042d4e0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x41b9a6
push str.projonepodlp
jmp 0x41b9b4
cmp dword [ebp + 0x234], 2
jne 0x41b9d3
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x41b9cd
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x41ba26
cmp dword [ebp + 0x234], ebx
jne 0x41ba21
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.0041b93a
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41b9f9
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x41ba1d
push 2
push edi
call fcn.0041b93a
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.0040189d
jmp 0x41ba2d
push 1
jmp 0x41ba07
push 0x44abb0
mov esi, edi
call fcn.0040160a
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.0042af05
add ebp, 0x228
leave
ret

Function at 0x41ba52
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
xor esi, esi
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x41ba88
push 0x44abb0
jmp 0x41baf7
xor eax, eax
push 0x40e
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push esi
push eax
call fcn.0042d4e0
add esp, 0xc
push esi
push 0x23
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x7c], si
je 0x41ba81
push edi
push str.projone
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [ebp - 0x7c]
push eax
call edi
test eax, eax
je 0x41badd
lea eax, [ebp - 0x7c]
push eax
call fcn.0040bb38
lea esi, [ebp - 0x7c]
call fcn.0040b618
mov eax, esi
push eax
call edi
test eax, eax
pop edi
mov eax, esi
jne 0x41baf6
mov eax, 0x44abb0
push eax
mov esi, ebx
call fcn.0040160a
mov ecx, dword [ebp + 0x394]
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0042af05
add ebp, 0x398
leave
ret
Function at 0x41d3d7
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x444e8e
call fcn.0042c1aa
xor edi, edi
push edi
push dword [0x45a730]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x41d454
push 0x2d
push edi
mov esi, 0x45a734
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x45a93c]
push dword [0x45a93c]
lea eax, [ebp - 0x90]
push str.__d.log
push 0x40
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [0x45a730]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x45a730], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.0042d4e0
add esp, 0xc
push 1
lea eax, [ebp - 0x298]
push eax
call fcn.0041d1db
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040ec58
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x41d363
push edi
lea eax, [ebp - 0x298]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], edi
call fcn.0040b2d6
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x41d4e1
cmp dword [ebp - 0x2b4], edi
ja 0x41d4e1
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x41d51c
cmp eax, 0x14
jbe 0x41d4eb
push 0xa
pop ebx
jmp 0x41d4f2
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x41d51c
push edi
lea esi, [ebp - 0x2b0]
call fcn.0040d5df
cmp dword [eax + 0x18], 8
jb 0x41d50d
mov eax, dword [eax + 4]
jmp 0x41d510
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x41d4f6
lea esi, [ebp - 0x2b0]
call fcn.00403263
push dword [ebp - 0x2b0]
call fcn.0042af3e
pop ecx
call fcn.0042c22d
ret
Function at 0x41dca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x405583
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x41dcd8
push dword [ebp + 8]
push dword [ebp - 4]
push str.thread__d_created:__s
push esi
call sym.poda32.exe_E7248971
add esp, 0x10
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x41e0fc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x41e10c
and dword [esi], 0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1001
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
je 0x41e137
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.0040321b
jmp 0x41e188
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 8]
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0041dddf
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x41e160
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 7], 0
je 0x41e17f
cmp dword [esp + 0xc], 0xc8
jne 0x41e17f
mov al, 1
jmp 0x41e18a
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41e1f2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44410c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x456070]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
mov eax, dword [0x456070]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41e29c
push edi
lea ecx, [esp + 0x20]
call fcn.00402eac
lea eax, [esp + 0x1c]
mov dword [esp + 0xc8], esi
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.004011c2
cmp dword [eax + 0x18], 8
pop ecx
mov dword [esp + 0x10], 3
jb 0x41e28a
mov eax, dword [eax + 4]
jmp 0x41e28d
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0xf], bl
test eax, eax
je 0x41e2a1
mov byte [esp + 0xf], 0
test byte [esp + 0x10], 2
je 0x41e2b8
and dword [esp + 0x10], 0xfffffffd
push esi
push ebx
lea esi, [esp + 0x40]
call fcn.0040189d
or dword [esp + 0xc8], 0xffffffff
test byte [esp + 0x10], bl
je 0x41e2d2
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.004017a5
cmp byte [esp + 0xf], 0
je 0x41e2dd
xor al, al
jmp 0x41e337
lea esi, [esp + 0x58]
call fcn.00401586
lea esi, [esp + 0x74]
call fcn.00401586
lea esi, [esp + 0x90]
call fcn.00401586
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
call fcn.0040321b
push edi
mov ecx, esi
mov byte [esp + 0x58], bl
call fcn.0040321b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
add esi, 0x3c
call fcn.0041eea3
lea esi, [esp + 0x54]
call fcn.0041e4ad
mov al, bl
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0042af05
mov esp, ebp
pop ebp
ret 8
Function at 0x41fc87
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x443f71
call fcn.0042c1aa
mov esi, ecx
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x45aa60
push str._hs__d._d
lea ecx, [ebp - 0x2c]
call fcn.0040cddb
add esp, 0x10
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x41fd0b
lea eax, [ebp + 0x10]
push eax
push esi
push str.dispatching_message__hs_to__hs
lea ecx, [ebp - 0x48]
call fcn.0040cddb
mov esi, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
jae 0x41fce7
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x41fcf3
lea ebx, [ebp - 0x28]
mov edi, 0x45ab68
call fcn.0040ced4
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.0040189d
jmp 0x41fd28
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41fd17
lea eax, [ebp - 0x28]
push eax
push 0x45ab68
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.0040189d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x114]
push eax
call fcn.0040875c
call fcn.0042c22d
ret
Function at 0x421fa8
Capabilities:
Check if file exists

Disassembly:
push 0x6c
mov eax, 0x44480f
call fcn.0042c1aa
lea eax, [ebp - 0x5c]
push eax
mov esi, ecx
call fcn.0040598a
and dword [ebp - 4], 0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jmp 0x422012
lea esi, [ebp - 0x38]
call fcn.00428c0b
cmp dword [eax + 0x18], 8
jb 0x421feb
mov eax, dword [eax + 4]
jmp 0x421fee
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42200a
lea esi, [ebp - 0x38]
call fcn.00428c0b
push eax
lea eax, [ebp - 0x5c]
call fcn.004059d9
lea esi, [ebp - 0x38]
call fcn.00428d14
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x38]
call fcn.0040d5c2
test al, al
jne 0x421fd8
cmp dword [ebp - 0x44], 0
jne 0x422045
mov esi, 0x44e
lea edi, [ebp - 0x5c]
call fcn.00405a7b
push dword [ebp - 0x5c]
call fcn.0042af3e
pop ecx
mov eax, esi
call fcn.0042c22d
ret
mov edi, ebx
call fcn.0040b50e
mov esi, ebx
call fcn.0040ba85
push ebx
push 0x44d4f4
push 0x44d4f8
lea ecx, [ebp - 0x30]
call fcn.0040cddb
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x4220d1
lea esi, [ebp - 0x38]
call fcn.00428c0b
cmp dword [eax + 0x18], 8
jb 0x422096
mov eax, dword [eax + 4]
jmp 0x422099
add eax, 4
push eax
push str.___s_
lea ecx, [ebp - 0x78]
call fcn.0040cddb
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040dd18
push 0
push 1
lea esi, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040189d
lea esi, [ebp - 0x38]
call fcn.00428d14
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x38]
call fcn.0040d5c2
test al, al
jne 0x422083
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
call esi
test eax, eax
je 0x42210e
push 0x44d51c
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42210e
push str.__md1M
lea eax, [ebp - 0x30]
push eax
call fcn.0040d441
push 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x60], 0xf
call fcn.00401a67
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42212f
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.00421f41
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.004017a5
test edi, edi
je 0x422154
mov esi, ebx
call fcn.0040ba85
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.0040189d
mov esi, edi
jmp 0x42202c
Function at 0x4225fd
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x456070]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x140], 0
push esi
push edi
push 0x3f
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov edi, edx
mov byte [ebp - 0x4c], 0
call fcn.0042d4e0
push dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0042d560
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax - 0x4c]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x8c], dl
mov byte [ebp + eax - 0xcc], cl
inc eax
cmp eax, 0x40
jb 0x422640
lea eax, [ebp - 0x13c]
call fcn.00427ac5
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.00427b09
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427b09
lea edi, [ebp - 0x6c]
call fcn.00427b47
lea eax, [ebp - 0x13c]
call fcn.00427ac5
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.00427b09
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.00427b09
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.00427b47
push 0x20
mov eax, edi
push eax
call fcn.0040d3fa
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042af05
leave
ret

Function at 0x4231cd
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x446129
call fcn.0042c141
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
mov edi, 0x45ad88
push edi
xor ebx, ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x44d574
push bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x40]
push eax
call fcn.0040ec58
push ebx
mov dword [ebp - 4], ebx
call esi
lea edi, [ebp - 0x40]
mov esi, eax
call fcn.00422b4f
test eax, eax
jne 0x42323c
mov esi, edi
call fcn.004018e4
push dword [ebp - 0x40]
call fcn.0042af3e
pop ecx
xor eax, eax
call fcn.0042c219
ret
lea ecx, [ebp - 0x40]
call fcn.00423122
cmp dword [0x45b2d0], ebx
jne 0x423261
lea esi, [ebp - 0x40]
call fcn.004018e4
push dword [ebp - 0x40]
call fcn.0042af3e
pop ecx
mov eax, ebx
jmp 0x423236
mov eax, dword [0x45b2cc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x45b2b4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x45b2cc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x45b2b4]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.00423758
test al, al
jne 0x4232af
call fcn.00421409
add eax, 0x1c
push eax
push 0x45b27c
lea ebx, [ebp - 0x28]
call fcn.004047a1
call fcn.0040a7dd
jmp 0x423273
xor ebx, ebx
inc ebx
jmp 0x42324c