joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439840
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439866
jmp 0x4399f8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43987e
jmp 0x4399f8
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004ba280
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.004ba280
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00438f60
add esp, 8
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x424], 0
mov eax, 1
test eax, eax
je 0x4399f8
mov dword [ebp - 0x428], 1
xor ecx, ecx
mov word [ebp - 0x630], cx
push 0x206
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.004ba280
add esp, 0xc
cmp dword [ebp - 0x424], 0
jne 0x439958
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x420]
push ecx
push str._s_s.del
lea edx, [ebp - 0x630]
push edx
call fcn.004babbc
add esp, 0x10
jmp 0x439981
mov eax, dword [ebp - 0x424]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x420]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x630]
push eax
call fcn.004babbc
add esp, 0x14
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4399a5
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4399cd
cmp dword [ebp - 0x424], 0xa
jl 0x4399b9
jmp 0x4399f8
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
jmp 0x4398f5
lea ecx, [ebp - 0x630]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004bb2a3
add esp, 8
push 5
push 0
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4399f8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret

Function at 0x43c6f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x43db90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x440e20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 0
push 3
push 0
push 0
push connect
mov ecx, dword [ebp + 8]
call fcn.00429580
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x441a50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x441a66
xor eax, eax
jmp 0x441a9f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c04bb
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x441a91
xor eax, eax
jmp 0x441a9f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004c01e7
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x441ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x441ac6
xor eax, eax
jmp 0x441aff
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004bb52b
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x441af1
xor eax, eax
jmp 0x441aff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004c01e7
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x443120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x443152
xor eax, eax
jmp 0x44315e
cmp dword [ebp - 0x11c], 5
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret

Function at 0x4455d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x4455e8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x44563b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x445609
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x44562c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x445600
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x583af8], eax
jmp 0x4455df
jmp 0x445646
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x44567e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x5836f8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x583af8]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x583af8], edx
jmp 0x44563d
mov dword [0x585af8], fcn.004456a0
call fcn.00442ff0
test eax, eax
jne 0x44569b
mov dword [0x585af8], 0x4457b0
mov esp, ebp
pop ebp
ret
Function at 0x44fa30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522423
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov byte [ebp - 0x23c], 0
push 0x103
push 0
lea eax, [ebp - 0x23b]
push eax
call fcn.004ba280
add esp, 0xc
lea ecx, [ebp - 0x23c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.KZ7ZData.7z.MD5
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x23c]
push eax
push str.7ZDATAMD5
mov ecx, dword [ebp - 0x260]
call fcn.0044fc00
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x258]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.0044fde0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.004034e0
test eax, eax
jne 0x44fb0d
mov byte [ebp - 0x259], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00402c20
mov al, byte [ebp - 0x259]
jmp 0x44fbda
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea eax, [ebp - 0x133]
push eax
call fcn.004ba280
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.KZ7ZData.7z
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x134]
push eax
push str.7ZDATA
mov ecx, dword [ebp - 0x260]
call fcn.0044fc00
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x260]
call fcn.0044fcd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402b70
push eax
lea ecx, [ebp - 0x258]
call fcn.00402b70
push eax
call fcn.00520990
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x258]
call fcn.00402b70
xor ecx, ecx
cmp esi, eax
sete cl
mov byte [ebp - 0x25a], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402c20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.00402c20
mov al, byte [ebp - 0x25a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x44fc00
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
push 0x52e560
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x585b90]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44fc2d
jmp 0x44fcc6
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x585b90]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x585b90]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x44fc78
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x44fcc6
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8

Function at 0x44fde0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
push 0x52e568
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c01d0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44fe2f
push 0x52e54b
mov ecx, dword [ebp + 8]
call fcn.00403470
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
jmp 0x44fe88
mov byte [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2f], edx
mov dword [ebp - 0x2b], edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov eax, dword [ebp - 4]
push eax
push 0x20
push 1
lea ecx, [ebp - 0x30]
push ecx
call fcn.004c04bb
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call fcn.004bb34d
add esp, 4
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403470
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret 8
Function at 0x4521c0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5229e9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x34]
call fcn.004012b0
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0xf0000000
push 1
push 0x52ea10
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x452245
push 0
push 1
push 0x52ea10
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4522fa
cmp dword [ebp + 0xc], 0
je 0x4522ee
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0x8003
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 0x38], 0x10
mov byte [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x47], ecx
mov dword [ebp - 0x43], ecx
mov dword [ebp - 0x3f], ecx
mov word [ebp - 0x3b], cx
mov byte [ebp - 0x39], cl
push 0
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0x10
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00452340
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040b1f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00401320
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e030
mov eax, dword [ebp - 0x68]
or eax, 1
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00401320
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret
Function at 0x4528d0
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x580ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x430], 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
push 0
push 0x8000000
push 3
push 0
push 3
push connect
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x430], eax
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
push eax
push 0x20
lea ecx, [ebp - 0x42c]
call fcn.0043f4e0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x434]
push ecx
mov edx, dword [ebp - 0x418]
push edx
mov eax, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00428150
push eax
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call fcn.00452c10
mov dword [ebp - 0x424], 0x4c10db7
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x41c], 0
jmp 0x4529e2
mov eax, dword [ebp - 0x41c]
add eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x100
jge 0x452a67
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x440], 0
jmp 0x452a15
mov edx, dword [ebp - 0x440]
add edx, 1
mov dword [ebp - 0x440], edx
cmp dword [ebp - 0x440], 8
jge 0x452a4f
mov eax, dword [ebp - 0x420]
and eax, 1
je 0x452a3f
mov ecx, dword [ebp - 0x420]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x420], ecx
jmp 0x452a4d
mov edx, dword [ebp - 0x420]
shr edx, 1
mov dword [ebp - 0x420], edx
jmp 0x452a06
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
mov dword [ebp + eax*4 - 0x414], ecx
jmp 0x4529d3
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x428], edx
lea ecx, [ebp - 0x42c]
call fcn.00429580
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0x428]
sub ecx, 1
mov dword [ebp - 0x428], ecx
test eax, eax
je 0x452ad8
mov edx, dword [ebp - 0x10]
shr edx, 8
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0x438]
movzx ecx, byte [ecx]
xor eax, ecx
xor edx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x438]
add edx, 1
mov dword [ebp - 0x438], edx
jmp 0x452a8b
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00426800
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x453820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004b9ddb
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004828fb
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ba280
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x4538aa
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x4538aa
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x45388a
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c16cc
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
push 2
push 0
push 0x10
mov ecx, 0x585ca8
call fcn.004756c0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45393b
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b9ddb
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0xc]
push eax
push 1
push 0
push str.channelid
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x453931
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b9d83
add esp, 4
mov al, 1
jmp 0x45394f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004b9d83
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x453cf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004ba280
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 0x40
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp + 0x10], 0
je 0x453d7b
cmp dword [ebp - 0x40], 0
je 0x453d7b
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x453d7b
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret
Function at 0x453d90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522cc7
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x580ca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.00520960
movzx edx, al
test edx, edx
je 0x453dec
push 0x52ebd4
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x453dfe
push 0x52ebdc
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453e16
xor eax, eax
jmp 0x453f54
mov eax, dword [ebp + 0xc]
push eax
push str._image
lea ecx, [ebp - 0x250]
push ecx
call fcn.004526f0
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
call fcn.004258a0
movzx edx, al
test edx, edx
jne 0x453e93
mov eax, dword [ebp + 0x10]
push eax
push 0x52ebf4
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.004526f0
add esp, 0xc
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040e060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00401320
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x288]
call fcn.004012e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x288]
call fcn.00401340
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.00401340
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00520fb0
add esp, 8
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x26c]
call fcn.00402b70
push eax
push str.SetupHelper.exe
lea ecx, [ebp - 0x2c]
call fcn.00402b70
push eax
call fcn.00520dd0
add esp, 0x10
mov dword [ebp - 0x2a8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x26c]
call fcn.00402c20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00401320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00401320
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba1db
mov esp, ebp
pop ebp
ret

Function at 0x4540b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x454070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x455d90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522de6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x580ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 8], 0
je 0x455dc8
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x455dcf
xor eax, eax
jmp 0x455e8a
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.004c1716
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x455ded
xor eax, eax
jmp 0x455e8a
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp + 8]
sar eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004587d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00429580
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x455e2a
cmp dword [ebp - 0x10], 5
jne 0x455e45
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00426800
mov eax, dword [ebp - 0x24]
jmp 0x455e8a
mov edx, dword [ebp - 0x1c]
add edx, 2
push edx
lea ecx, [ebp - 0x18]
call fcn.00426750
push str._:____
lea ecx, [ebp - 0x18]
call fcn.00458800
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
sete al
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
call fcn.00426800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00426800
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4