joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a84c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a8df
test al, 0x10
je 0x40a8df
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x424]
push eax
call esi
push edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call esi
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x424]
push eax
mov eax, 0x40a8f1
push eax
lea ecx, [ebp - 0x424]
push ecx
push eax
push 1
push ebx
call fcn.0040a220
jmp 0x40a8e1
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0042515e
leave
ret 4

Function at 0x40a9b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40a9c7
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x40a9d6
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.004278a0
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.0040aba7
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44fdc0]
inc ecx
cmp ecx, 0x24
jl 0x40ac75
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.0042515e
add ebp, 0x88
leave
ret

Function at 0x40afac
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x44e060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0040b3bc
push esi
test eax, eax
je 0x40b039
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004278a0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x40b030
cmp esi, 0xffffffff
je 0x40b030
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x40b02c
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0040b3bc
test eax, eax
je 0x40b030
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40b012
lea eax, [esp + 4]
call fcn.00403dc4
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.0042515e
mov esp, ebp
pop ebp
ret 4
Function at 0x40b04e
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x43ce8a
call fcn.00426131
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40b0e3
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x40b0db
cmp esi, 0xffffffff
je 0x40b0db
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.004278a0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40b0d7
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x40b0db
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b0c0
lea eax, [ebp - 0x10]
call fcn.00403dc4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.0042515e
add ebp, 0x230
leave
ret 4

Function at 0x40b108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x40b11b
xor eax, eax
jmp 0x40b174
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.004278a0
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.0040a1e6
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b16c
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040a213
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x40b255
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 0x40b26e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0040b17a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x40b36a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040b04e
cmp dword [ebp - 0x14], esi
je 0x40b265
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40b2aa
cmp eax, 0xffffffff
jne 0x40b2b6
lea eax, [ebp - 0x10]
call fcn.00403dc4
mov eax, esi
jmp 0x40b267
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 0x40b2aa
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 0x40b360
mov edi, dword [ebp + 8]
call fcn.0040a1e6
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.004278a0
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 0x40b34f
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0040a213
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x40b2aa

Function at 0x40b525
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 0x40b5ba
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40b5ba
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40b5b9
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x40b5b9
cmp eax, ebx
jl 0x40b58e
mov eax, 0x400000
jg 0x40b58a
cmp ecx, eax
jbe 0x40b58e
mov edi, eax
jmp 0x40b590
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 0x40b5b9
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 0x40b825
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 0x40b85d
xor eax, eax
jmp 0x40b899
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 0x40b859
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 0x40be5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e6fe
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.00430970
mov eax, dword [0x44e060]
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.0040756e
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0040a000
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x40bf75
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.004278a0
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 0x40bf5b
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.004021fa
mov eax, esi
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x2028]
lea ebx, [ebp - 0x2054]
call fcn.0040c47e
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00402701
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 dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40bf07
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x40bf93
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.0042515e
leave
ret
Function at 0x40c0ce
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c182
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.004278a0
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0040aca7
mov ecx, esi
call fcn.0040bfb3
test eax, eax
je 0x40c12f
xor eax, eax
inc eax
jmp 0x40c180
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.0040b108
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x40c16e
cmp eax, 0xffffffff
je 0x40c16e
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.00403dc4
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042515e
leave
ret

Function at 0x41a57d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x44e060]
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.004278a0
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.004021fa
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042515e
add ebp, 0x190
leave
ret

Function at 0x41a5f6
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x44e060]
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.004278a0
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.004021fa
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042515e
add ebp, 0x190
leave
ret
Function at 0x41a66f
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x43de4b
call fcn.00426131
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.004278a0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x41a6db
push str.projonepodlp
jmp 0x41a6e9
cmp dword [ebp + 0x234], 2
jne 0x41a708
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x41a702
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x41a75b
cmp dword [ebp + 0x234], ebx
jne 0x41a756
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.0041a66f
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41a72e
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x41a752
push 2
push edi
call fcn.0041a66f
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.00402701
jmp 0x41a762
push 1
jmp 0x41a73c
push 0x443b64
mov esi, edi
call fcn.004021fa
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.0042515e
add ebp, 0x228
leave
ret
Function at 0x41be11
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x41be21
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 0x41be4c
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.0040259b
jmp 0x41be9d
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.0041bb11
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x41be75
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 0x41be94
cmp dword [esp + 0xc], 0xc8
jne 0x41be94
mov al, 1
jmp 0x41be9f
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41bf07
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43dd93
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x44e060]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
mov eax, dword [0x44e060]
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 0x41bfb1
push edi
lea ecx, [esp + 0x20]
call fcn.0040216d
lea eax, [esp + 0x1c]
mov dword [esp + 0xc8], esi
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.0040131e
cmp dword [eax + 0x18], 8
pop ecx
mov dword [esp + 0x10], 3
jb 0x41bf9f
mov eax, dword [eax + 4]
jmp 0x41bfa2
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0xf], bl
test eax, eax
je 0x41bfb6
mov byte [esp + 0xf], 0
test byte [esp + 0x10], 2
je 0x41bfcd
and dword [esp + 0x10], 0xfffffffd
push esi
push ebx
lea esi, [esp + 0x40]
call fcn.00402701
or dword [esp + 0xc8], 0xffffffff
test byte [esp + 0x10], bl
je 0x41bfe7
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.00402609
cmp byte [esp + 0xf], 0
je 0x41bff2
xor al, al
jmp 0x41c04c
lea esi, [esp + 0x58]
call fcn.0040215a
lea esi, [esp + 0x74]
call fcn.0040215a
lea esi, [esp + 0x90]
call fcn.0040215a
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], ebx
call fcn.0040259b
push edi
mov ecx, esi
mov byte [esp + 0x58], bl
call fcn.0040259b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
add esi, 0x3c
call fcn.0041cb11
lea esi, [esp + 0x54]
call fcn.0041c1c2
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.0042515e
mov esp, ebp
pop ebp
ret 8
Function at 0x41d445
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x43ee8a
call fcn.0042619a
xor edi, edi
push edi
push dword [0x4527e8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x41d4c2
push 0x2d
push edi
mov esi, 0x4527ec
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x4529f4]
push dword [0x4529f4]
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 [0x4527e8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x4527e8], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.004278a0
add esp, 0xc
push 1
lea eax, [ebp - 0x298]
push eax
call fcn.0041d24b
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040c264
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x41d3d1
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.0040a220
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x41d54f
cmp dword [ebp - 0x2b4], edi
ja 0x41d54f
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x41d58a
cmp eax, 0x14
jbe 0x41d559
push 0xa
pop ebx
jmp 0x41d560
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x41d58a
push edi
lea esi, [ebp - 0x2b0]
call fcn.0040754a
cmp dword [eax + 0x18], 8
jb 0x41d57b
mov eax, dword [eax + 4]
jmp 0x41d57e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x41d564
lea esi, [ebp - 0x2b0]
call fcn.0040ca29
push dword [ebp - 0x2b0]
call fcn.00425197
pop ecx
call fcn.0042621d
ret
Function at 0x41e214
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x43e458
call fcn.0042619a
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 0x452a10
push str._hs__d._d
lea ecx, [ebp - 0x2c]
call fcn.0040bc34
add esp, 0x10
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x41e298
lea eax, [ebp + 0x10]
push eax
push esi
push str.dispatching_message__hs_to__hs
lea ecx, [ebp - 0x48]
call fcn.0040bc34
mov esi, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
jae 0x41e274
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x41e280
lea ebx, [ebp - 0x28]
mov edi, 0x452b18
call fcn.0040bcec
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.00402701
jmp 0x41e2b5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41e2a4
lea eax, [ebp - 0x28]
push eax
push 0x452b18
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00402701
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x114]
push eax
call fcn.004075a4
call fcn.0042621d
ret
Function at 0x420037
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x44e060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
push 0x3f
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x4c], 0
call fcn.004278a0
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
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 0x420079
lea eax, [ebp - 0x13c]
call fcn.00421e2b
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.00421e6f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00421e6f
lea edi, [ebp - 0x6c]
call fcn.00421ead
lea eax, [ebp - 0x13c]
call fcn.00421e2b
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.00421e6f
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.00421e6f
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.00421ead
mov esi, dword [ebp - 0x140]
push 0x20
mov eax, edi
push eax
call fcn.0040c18e
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042515e
leave
ret