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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x40b578
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x40b578
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00428f40
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.0040bcee
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b4f5
shr eax, 4
not eax
and eax, 1
jmp 0x40b57a
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.0040b588
test eax, eax
je 0x40b578
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x40b55a
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x40b560
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.00404a00
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x40b57a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00426962
leave
ret
Function at 0x40b891
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x451070]
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 0x40b924
test al, 0x10
je 0x40b924
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, 0x40b936
push eax
lea ecx, [ebp - 0x424]
push ecx
push eax
push 1
push ebx
call fcn.0040b246
jmp 0x40b926
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00426962
leave
ret 4

Function at 0x40b9f5
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 0x40ba0c
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x40ba1b
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 0x40bc7a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x451070]
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.00428f40
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.0040bbee
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 + 0x452dd8]
inc ecx
cmp ecx, 0x24
jl 0x40bcbc
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.00426962
add ebp, 0x88
leave
ret

Function at 0x40c06a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x451070]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0040c47a
push esi
test eax, eax
je 0x40c0f7
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00428f40
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 0x40c0ee
cmp esi, 0xffffffff
je 0x40c0ee
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x40c0ea
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0040c47a
test eax, eax
je 0x40c0ee
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40c0d0
lea eax, [esp + 4]
call fcn.00404a00
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.00426962
mov esp, ebp
pop ebp
ret 4
Function at 0x40c10c
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x43e7dd
call fcn.00427ba1
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40c1a1
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 0x40c199
cmp esi, 0xffffffff
je 0x40c199
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.00428f40
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40c195
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x40c199
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c17e
lea eax, [ebp - 0x10]
call fcn.00404a00
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.00426962
add ebp, 0x230
leave
ret 4

Function at 0x40c1c6
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 0x40c1d9
xor eax, eax
jmp 0x40c232
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.00428f40
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.0040b20c
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 0x40c22a
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b239
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x40c313
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 0x40c32c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0040c238
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x40c428
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040c10c
cmp dword [ebp - 0x14], esi
je 0x40c323
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40c368
cmp eax, 0xffffffff
jne 0x40c374
lea eax, [ebp - 0x10]
call fcn.00404a00
mov eax, esi
jmp 0x40c325
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 0x40c368
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 0x40c41e
mov edi, dword [ebp + 8]
call fcn.0040b20c
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.00428f40
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 0x40c40d
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0040b239
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x40c368

Function at 0x40c5e3
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 0x40c678
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 0x40c678
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40c677
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x40c677
cmp eax, ebx
jl 0x40c64c
mov eax, 0x400000
jg 0x40c648
cmp ecx, eax
jbe 0x40c64c
mov edi, eax
jmp 0x40c64e
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 0x40c677
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 0x40c8e3
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 0x40c91b
xor eax, eax
jmp 0x40c957
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 0x40c917
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 0x40cf2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fe45
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00432340
mov eax, dword [0x451070]
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.0040eac8
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0040b026
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x40d041
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.00428f40
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 0x40d02b
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.00401600
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0040d4b9
push edi
push 1
mov byte [ebp - 4], 1
call fcn.0040186b
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 0x40cfdd
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x40d05f
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.00426962
leave
ret
Function at 0x40d07f
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 0x40d0cf
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 0x40d1f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d2a4
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.00428f40
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0040bcee
mov ecx, esi
call fcn.0040d0d5
test eax, eax
je 0x40d251
xor eax, eax
inc eax
jmp 0x40d2a2
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.0040c1c6
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x40d290
cmp eax, 0xffffffff
je 0x40d290
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.00404a00
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00426962
leave
ret

Function at 0x41b6cc
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x451070]
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.00428f40
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.00401600
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00426962
add ebp, 0x190
leave
ret

Function at 0x41b745
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x451070]
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.00428f40
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.00401600
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00426962
add ebp, 0x190
leave
ret
Function at 0x41b7be
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x43effb
call fcn.00427ba1
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.00428f40
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x41b82a
push str.projonepodlp
jmp 0x41b838
cmp dword [ebp + 0x234], 2
jne 0x41b857
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x41b851
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x41b8aa
cmp dword [ebp + 0x234], ebx
jne 0x41b8a5
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.0041b7be
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x41b87d
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x41b8a1
push 2
push edi
call fcn.0041b7be
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.0040186b
jmp 0x41b8b1
push 1
jmp 0x41b88b
push 0x445b70
mov esi, edi
call fcn.00401600
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.00426962
add ebp, 0x228
leave
ret
Function at 0x41c9db
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x4406ba
call fcn.00427c0a
xor edi, edi
push edi
push dword [0x455730]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x41ca58
push 0x2d
push edi
mov esi, 0x455734
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x45593c]
push dword [0x45593c]
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 [0x455730]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x455730], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.00428f40
add esp, 0xc
push 1
lea eax, [ebp - 0x298]
push eax
call fcn.0041c7df
lea eax, [ebp - 0x2b0]
push eax
call fcn.0040eac8
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x41c967
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.0040b246
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x41cae5
cmp dword [ebp - 0x2b4], edi
ja 0x41cae5
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x41cb20
cmp eax, 0x14
jbe 0x41caef
push 0xa
pop ebx
jmp 0x41caf6
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x41cb20
push edi
lea esi, [ebp - 0x2b0]
call fcn.0040d495
cmp dword [eax + 0x18], 8
jb 0x41cb11
mov eax, dword [eax + 4]
jmp 0x41cb14
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x41cafa
lea esi, [ebp - 0x2b0]
call fcn.00403203
push dword [ebp - 0x2b0]
call fcn.0042699b
pop ecx
call fcn.00427c8d
ret
Function at 0x41d298
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 0x405569
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x41d2d0
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 0x41d6e7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x41d6f7
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 0x41d722
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.004031e0
jmp 0x41d773
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.0041d3d6
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x41d74b
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 0x41d76a
cmp dword [esp + 0xc], 0xc8
jne 0x41d76a
mov al, 1
jmp 0x41d775
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x41d7dd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43fab2
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x451070]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
mov eax, dword [0x451070]
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 0x41d887
push edi
lea ecx, [esp + 0x20]
call fcn.00402e7a
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 0x41d875
mov eax, dword [eax + 4]
jmp 0x41d878
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0xf], bl
test eax, eax
je 0x41d88c
mov byte [esp + 0xf], 0
test byte [esp + 0x10], 2
je 0x41d8a3
and dword [esp + 0x10], 0xfffffffd
push esi
push ebx
lea esi, [esp + 0x40]
call fcn.0040186b
or dword [esp + 0xc8], 0xffffffff
test byte [esp + 0x10], bl
je 0x41d8bd
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.00401773
cmp byte [esp + 0xf], 0
je 0x41d8c8
xor al, al
jmp 0x41d922
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.004031e0
push edi
mov ecx, esi
mov byte [esp + 0x58], bl
call fcn.004031e0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
add esi, 0x3c
call fcn.0041e3ef
lea esi, [esp + 0x54]
call fcn.0041da98
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.00426962
mov esp, ebp
pop ebp
ret 8
Function at 0x41f188
Capabilities:
Delete registry value

Disassembly:
push 0x40
mov eax, 0x43f93a
call fcn.00427c0a
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 0x455a60
push str._hs__d._d
lea ecx, [ebp - 0x2c]
call fcn.0040ccf2
add esp, 0x10
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x41f20c
lea eax, [ebp + 0x10]
push eax
push esi
push str.dispatching_message__hs_to__hs
lea ecx, [ebp - 0x48]
call fcn.0040ccf2
mov esi, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
jae 0x41f1e8
lea esi, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov ebx, dword [ebp - 0x28]
jae 0x41f1f4
lea ebx, [ebp - 0x28]
mov edi, 0x455b68
call fcn.0040cdbc
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.0040186b
jmp 0x41f229
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41f218
lea eax, [ebp - 0x28]
push eax
push 0x455b68
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.0040186b
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x114]
push eax
call fcn.0040852f
call fcn.00427c8d
ret