joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b900
Capabilities:
Check if file exists
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a796
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4a9070]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9070]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x27c]
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x20
ja 0x41bb0b
xor ebx, ebx
cmp eax, ebx
je 0x41bb0b
push 0x206
lea edx, [esp + 0x62]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x68], cx
call fcn.004722d0
add esp, 0xc
lea edi, [esp + 0x5c]
call fcn.0041f2bb
mov eax, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projonepochat
push eax
call edi
cmp dword [esi + 0x18], 8
jb 0x41b99b
mov esi, dword [esi + 4]
jmp 0x41b99e
add esi, 4
push esi
lea ecx, [esp + 0x60]
push ecx
call edi
push str.pochat.db
lea edx, [esp + 0x60]
push edx
call edi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b9d8
lea edi, [esp + 0x5c]
call fcn.0041dece
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41ba65
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x41ba55
cmp esi, 0xffffffff
je 0x41ba65
xor eax, eax
push ebx
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov byte [esp + 0x5d], al
lea eax, [esp + 0x18]
push eax
push 8
lea ecx, [esp + 0x5c]
push ecx
push esi
mov byte [esp + 0x64], bl
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x50], 0x53
jne 0x41ba55
cmp byte [esp + 0x51], 0x51
jne 0x41ba55
cmp byte [esp + 0x52], 0x4c
jne 0x41ba55
cmp esi, 0xffffffff
je 0x41ba48
cmp esi, ebx
je 0x41ba48
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41ba65
cmp esi, 0xffffffff
je 0x41ba65
cmp esi, ebx
je 0x41ba65
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push 0x492794
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405380
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x27c], ebx
call fcn.00432e84
add esp, 8
mov edi, 0x10
mov byte [esp + 0x274], 1
cmp dword [eax + 0x18], edi
jb 0x41bab5
mov eax, dword [eax + 4]
jmp 0x41bab8
add eax, 4
mov ecx, dword [esp + 0x10]
mov esi, eax
add ecx, 0x18
lea eax, [esp + 0x5c]
call fcn.0041b680
mov bl, al
cmp dword [esp + 0x4c], edi
jb 0x41badf
mov edx, dword [esp + 0x38]
push edx
call fcn.004700ac
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
cmp dword [esp + 0x30], edi
jb 0x41bb07
mov eax, dword [esp + 0x1c]
push eax
call fcn.004700ac
add esp, 4
mov al, bl
jmp 0x41bb0d
xor al, al
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.0046fab6
add esp, 0x268
ret 4
Function at 0x41c5f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0041bcc0
push 0x190
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004722d0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
push 3
call dword [sym.imp.libcurl32.dll_curl_global_init]
add esp, 4
mov byte [0x4ad8f4], 1
call fcn.0042f654
push esi
call fcn.0041c3f0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41dc96
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x41debb
test eax, eax
jne 0x41dce7
test ecx, ecx
je 0x41debb
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x41dd3d
cmp ax, 0x5c
je 0x41dd3d
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.004722d0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41debb
test al, 0x10
je 0x41debb
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x4929c0
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x41debb
mov dword [ebp - 0xa7c], 1
push 0x4929c4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41de80
push 0x4929c8
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41de80
cmp dword [ebp - 0xa78], 0xffffffff
je 0x41de80
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x41de60
cmp dword [ebp - 0xa80], 0
je 0x41de24
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x41de9d
cmp dword [ebp + 0xc], 0
je 0x41de80
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.0041dc96
push 2
pop ecx
cmp eax, ecx
jne 0x41de80
mov dword [ebp - 0xa7c], ecx
jmp 0x41dea7
cmp dword [ebp - 0xa84], 0
je 0x41de80
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x41de9d
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41dda0
jmp 0x41dea7
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x41debd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret 0x18
Function at 0x41dece
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x41dfc8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x41dfc8
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004722d0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.0041e51f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41df45
shr eax, 4
not eax
and eax, 1
jmp 0x41dfca
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.0041dfd8
test eax, eax
je 0x41dfc8
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 0x41dfaa
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x41dfb0
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
call fcn.0040c8e0
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x41dfca
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret
Function at 0x41e4a5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.004722d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.0041e40e
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4ab540]
inc ecx
cmp ecx, 0x24
jl 0x41e4ed
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.0046fab6
add ebp, 0x88
leave
ret

Function at 0x41e92c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x4a9070]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0041e9ce
push esi
test eax, eax
je 0x41e9b9
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004722d0
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 0x41e9b0
cmp esi, 0xffffffff
je 0x41e9b0
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x41e9ac
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0041e9ce
test eax, eax
je 0x41e9b0
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x41e992
lea ecx, [esp + 4]
call fcn.0040c8e0
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.0046fab6
mov esp, ebp
pop ebp
ret 4

Function at 0x41efd4
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x4a9070]
xor eax, esp
mov dword [esp], eax
push ebx
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x41eff1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x41eff3
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0046fab6
pop ecx
ret 4
Function at 0x41f01d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x489a8a
call fcn.00470cc1
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x810]
mov esi, edx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [eax + 0x18], 7
call fcn.00405720
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x41f133
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.004722d0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push esi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp - 0x1c], ebx
je 0x41f0c3
cmp dword [ebp - 0x1c], 2
jne 0x41f133
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41f133
cmp eax, 0x800
jbe 0x41f100
add eax, 2
push eax
call fcn.00470303
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push edi
push ebx
call fcn.004722d0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
jmp 0x41f117
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
mov ebx, dword [ebp - 0x28]
mov edx, ebx
cmp ebx, edi
jne 0x41f120
lea edx, [ebp]
push dword [ebp - 0x24]
call fcn.00404de0
cmp ebx, edi
je 0x41f133
push ebx
call fcn.00470226
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0046fab6
add ebp, 0x804
leave
ret
Function at 0x41f159
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a6f4
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.0047bf00
mov eax, dword [0x4a9070]
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, edx
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x202c], edi
call fcn.0041f3a1
push dword [ebp - 0x2018]
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0041da65
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x41f27d
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.004722d0
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 0x41f263
inc dword [ebp - 0x2018]
lea edx, [ebp - 0x2014]
lea eax, [ebp - 0x2048]
call fcn.004043e0
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.0041f3d1
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], bl
call fcn.00404450
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 0x41f210
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x41f29b
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.0046fab6
leave
ret

Function at 0x41f2bb
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x1a
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41f328
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.004722d0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41f328
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x41f337
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.0046fab6
add ebp, 0x190
leave
ret
Function at 0x420716
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x492a58
push edi
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x42079a
mov ebx, 0x4adb00
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x420762
push ebx
call esi
test eax, eax
jne 0x42079a
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004722d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0041e2e3
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x4207a9
push dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4207ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret

Function at 0x4215b0
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4876fe
call fcn.00470cf4
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.004701a0
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x4215fa
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x4215e6
mov dword [esi + 0x10], edi
jmp 0x4215fc
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x4215f2
push esi
jmp 0x4215f3
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x4215fc
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x42163c
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.00404520
mov eax, edi
jmp 0x421636
call fcn.00470d99
ret

Function at 0x4218f5
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x48afde
call fcn.00470d2a
lea eax, [ebp - 0x48]
push eax
mov edi, ecx
mov esi, edx
call fcn.0041ea09
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x4219b4
test esi, esi
jne 0x421926
mov esi, 0x4910fb
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x421932
lea eax, [ebp - 0x44]
push edi
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str._s__hs__p
lea esi, [ebp - 0x2c]
call fcn.0041edfd
add esp, 0x10
cmp byte [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x42198f
lea ecx, [ebp - 0x64]
call fcn.0041e691
cmp dword [eax + 0x18], 8
jb 0x421969
mov eax, dword [eax + 4]
jmp 0x42196c
add eax, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x421978
lea ecx, [ebp - 0x28]
push ecx
mov esi, eax
mov edi, 0x4add08
call fcn.0041efd4
lea esi, [ebp - 0x64]
call fcn.00404450
jmp 0x4219ac
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42199b
lea eax, [ebp - 0x28]
push eax
push 0x4add08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea esi, [ebp - 0x2c]
call fcn.00404450
lea esi, [ebp - 0x48]
call fcn.00404450
call fcn.00470dad
ret 4
Function at 0x421c12
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp - 4], 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 0x421cac
push ebx
mov esi, 0x4add08
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004722d0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
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 0x4929ec
push esi
call ebx
push edi
lea eax, [ebp - 0x210]
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]
call fcn.0042172a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046fab6
leave
ret
Function at 0x42f150
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x48b212
call fcn.00470d2a
xor edi, edi
push edi
push dword [0x4adf10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x42f1cd
push 0x2d
push edi
mov esi, 0x4adf14
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x4ae11c]
push dword [0x4ae11c]
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 [0x4adf10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x4adf10], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.004722d0
add esp, 0xc
push 1
lea eax, [ebp - 0x298]
push eax
call fcn.0042ef5b
lea eax, [ebp - 0x2b0]
push eax
call fcn.0041f3a1
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x42f0dc
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.0041dc96
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x42f25a
cmp dword [ebp - 0x2b4], edi
ja 0x42f25a
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x42f294
cmp eax, 0x14
jbe 0x42f264
push 0xa
pop ebx
jmp 0x42f26b
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x42f294
lea esi, [ebp - 0x2b0]
call fcn.00415920
cmp dword [eax + 0x18], 8
jb 0x42f285
mov eax, dword [eax + 4]
jmp 0x42f288
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x42f26f
lea esi, [ebp - 0x2b0]
call fcn.00404480
call fcn.00470dad
ret
Function at 0x43104c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a9070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.004722d0
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 edx, [ebp - 0x7c]
mov eax, esi
call fcn.004043e0
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, esi
call fcn.0046fab6
add ebp, 0x190
leave
ret

Function at 0x4310c2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489619
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a9070]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.Accept_Encoding
lea ecx, [esp + 0xc]
call fcn.004042e0
and dword [esp + 0x30], 0
push str.gzip_deflate
push ecx
lea eax, [esp + 0x10]
push eax
push 0x4ae8a8
call fcn.0042fe6e
pop ecx
mov ecx, eax
call fcn.00404c60
lea ecx, [esp + 8]
call fcn.00404350
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret