joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4a57cc]
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40aa40
lea ecx, [ebp - 0x218]
add ecx, 0xffffffff
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
mov al, byte [edx + 1]
mov byte [ebp - 0x221], al
inc dword [ebp - 0x220]
cmp byte [ebp - 0x221], 0
jne 0x40a938
mov edi, dword [ebp - 0x220]
mov cx, word [0x489584]
mov word [edi], cx
lea edx, [ebp - 0x218]
add edx, 0xffffffff
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
mov cl, byte [eax + 1]
mov byte [ebp - 0x229], cl
inc dword [ebp - 0x228]
cmp byte [ebp - 0x229], 0
jne 0x40a975
mov edi, dword [ebp - 0x228]
mov edx, dword [0x489588]
mov dword [edi], edx
mov eax, dword [0x48958c]
mov dword [edi + 4], eax
mov cx, word [0x489590]
mov word [edi + 8], cx
mov dl, byte [0x489592]
mov byte [edi + 0xa], dl
lea eax, [ebp - 0x218]
push eax
call fcn.00415990
add esp, 4
test eax, eax
je 0x40aa40
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], ecx
lea edx, [ebp - 0x110]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x230]
mov dl, byte [ecx]
mov byte [ebp - 0x239], dl
mov eax, dword [ebp - 0x234]
mov cl, byte [ebp - 0x239]
mov byte [eax], cl
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
cmp byte [ebp - 0x239], 0
jne 0x40a9f4
mov dword [ebp - 4], 0
jmp 0x40aa67
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.0040c240
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], 2
xor edx, edx
jne 0x40a90f
lea eax, [ebp - 0x218]
push eax
call fcn.004266f0
add esp, 4
lea ecx, [ebp - 0x218]
add ecx, 0xffffffff
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x240]
mov al, byte [edx + 1]
mov byte [ebp - 0x241], al
inc dword [ebp - 0x240]
cmp byte [ebp - 0x241], 0
jne 0x40aa85
mov edi, dword [ebp - 0x240]
mov ecx, dword [0x489594]
mov dword [edi], ecx
mov edx, dword [0x489598]
mov dword [edi + 4], edx
mov eax, dword [0x48959c]
mov dword [edi + 8], eax
mov ecx, dword [0x4895a0]
mov dword [edi + 0xc], ecx
mov edx, dword [0x4895a4]
mov dword [edi + 0x10], edx
lea eax, [ebp - 0x218]
push eax
call fcn.00415990
add esp, 4
test eax, eax
jne 0x40ab0b
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x110]
push edx
push 0x4895a8
lea eax, [ebp - 0x218]
push eax
push 0x4895bc
call fcn.00415f20
add esp, 0x14
mov ecx, dword [ebp - 8]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x411ad0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x4a57cc]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x411cdf
mov dword [ebp - 0x11c], 1
cmp dword [ebp + 0xc], 0
je 0x411b4c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
inc ecx
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x120]
mov al, byte [edx]
mov byte [ebp - 0x125], al
inc dword [ebp - 0x120]
cmp byte [ebp - 0x125], 0
jne 0x411b11
mov ecx, dword [ebp - 0x120]
sub ecx, dword [ebp - 0x124]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp + 8]
call fcn.00420d30
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.0042fc40
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x118]
je 0x411cd7
mov ecx, dword [ebp - 4]
push ecx
call fcn.00411cf0
add esp, 4
test eax, eax
je 0x411b99
cmp dword [ebp - 0x11c], 0
je 0x411b99
mov dword [ebp - 0x130], 1
jmp 0x411ba3
mov dword [ebp - 0x130], 0
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], edx
cmp dword [ebp + 0xc], 0
je 0x411cc6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x134]
mov cl, byte [eax]
mov byte [ebp - 0x13d], cl
mov edx, dword [ebp - 0x138]
mov al, byte [ebp - 0x13d]
mov byte [edx], al
mov ecx, dword [ebp - 0x134]
add ecx, 1
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp byte [ebp - 0x13d], 0
jne 0x411bda
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004031f0
add esp, 8
mov byte [eax], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
inc edx
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x144]
mov cl, byte [eax]
mov byte [ebp - 0x149], cl
inc dword [ebp - 0x144]
cmp byte [ebp - 0x149], 0
jne 0x411c4a
mov edx, dword [ebp - 0x144]
sub edx, dword [ebp - 0x148]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x114]
jbe 0x411cc6
lea ecx, [ebp - 0x110]
push ecx
call fcn.004157f0
add esp, 4
test eax, eax
je 0x411cc6
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x411cad
jmp 0x411cc6
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.004031f0
add esp, 8
mov byte [eax], 0
jmp 0x411c31
mov ecx, dword [ebp - 4]
add ecx, 0x410
mov dword [ebp - 4], ecx
jmp 0x411b65
mov eax, dword [ebp - 0x11c]
jmp 0x411ce1
xor eax, eax
mov ecx, dword [ebp - 8]
call fcn.004635af
mov esp, ebp
pop ebp
ret
Function at 0x411cf0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x411d53
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x208]
test ecx, ecx
je 0x411d4e
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
add eax, 0x208
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x411d41
cmp dword [ebp - 4], 0
je 0x411d41
mov dword [ebp - 8], 1
jmp 0x411d48
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x411d58
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x411de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x208]
test ecx, ecx
je 0x411e03
mov edx, dword [ebp + 8]
add edx, 0x208
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x411e08
mov eax, 1
pop ebp
ret
Function at 0x414a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x414a7b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jae 0x414afc
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
movzx ecx, byte [ebp + 8]
xor eax, ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov byte [edx], al
movzx eax, byte [ebp + 8]
shl eax, 3
and eax, 0xf8
movzx ecx, byte [ebp + 8]
sar ecx, 5
and ecx, 7
or eax, ecx
mov byte [ebp + 8], al
movzx edx, byte [ebp + 8]
add edx, 0x49
mov byte [ebp + 8], dl
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 7
div ecx
cmp edx, 2
jne 0x414adc
movzx edx, byte [ebp + 8]
add edx, 0xb
mov byte [ebp + 8], dl
jmp 0x414af7
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 0xd
div ecx
cmp edx, 3
jne 0x414af7
movzx edx, byte [ebp + 8]
add edx, 3
mov byte [ebp + 8], dl
jmp 0x414a72
mov esp, ebp
pop ebp
ret 0xc

Function at 0x415600
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4a57cc]
mov dword [ebp - 8], eax
push edi
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.0040ad30
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41563f
push 0x5c
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.0040ad30
add esp, 8
mov dword [ebp - 4], eax
jmp 0x415646
xor eax, eax
jmp 0x415740
cmp dword [ebp - 4], 0
je 0x4156e9
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.004031d0
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 8]
mov byte [ebp + edx - 0x110], 0
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
jne 0x4156c3
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4156c1
xor eax, eax
jmp 0x415740
jmp 0x4156d0
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x5c
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
call fcn.0040ad30
add esp, 8
mov dword [ebp - 4], eax
jmp 0x415646
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
jne 0x41572e
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41572c
xor eax, eax
jmp 0x415740
jmp 0x41573b
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 8]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4157c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x4157e4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00415600
add esp, 4
jmp 0x4157e6
xor eax, eax
pop ebp
ret

Function at 0x4157f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4a57cc]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x254], 0
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.004031d0
add esp, 0xc
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x110]
add edx, 0xffffffff
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x25d], cl
inc dword [ebp - 0x25c]
cmp byte [ebp - 0x25d], 0
jne 0x415837
mov edi, dword [ebp - 0x25c]
mov edx, dword [0x48ad10]
mov dword [edi], edx
mov al, byte [0x48ad14]
mov byte [edi + 4], al
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x250]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x4158a1
xor eax, eax
jmp 0x41590f
lea eax, [ebp - 0x224]
push eax
push 0x48ad18
call fcn.00403210
add esp, 8
test eax, eax
je 0x4158dd
lea ecx, [ebp - 0x224]
push ecx
push 0x48ad1c
call fcn.00403210
add esp, 8
test eax, eax
je 0x4158dd
mov dword [ebp - 0x254], 1
jmp 0x4158f6
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x4158a1
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
cmp dword [ebp - 0x254], 0
sete al
mov ecx, dword [ebp - 4]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4196a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4a57cc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
inc ecx
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x11c]
mov al, byte [edx]
mov byte [ebp - 0x121], al
inc dword [ebp - 0x11c]
cmp byte [ebp - 0x121], 0
jne 0x4196cd
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x120]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x114], 0
jmp 0x419727
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 8]
jge 0x41977d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x114]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x41975d
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x110], 0
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x110], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x419718
mov ecx, dword [ebp - 0xc]
call fcn.004635af
mov esp, ebp
pop ebp
ret 4
Function at 0x419790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00463720
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1001c], ecx
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4198c6
mov dword [ebp - 0xc], 0
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], 0
je 0x41981e
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0xc]
ja 0x41981e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jbe 0x4198bc
cmp dword [ebp - 0xc], 0x10000
jae 0x41983c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10020], eax
jmp 0x419846
mov dword [ebp - 0x10020], 0x10000
mov ecx, dword [ebp - 0x10020]
mov dword [ebp - 0x10018], ecx
push 0
lea edx, [ebp - 0x10014]
push edx
mov eax, dword [ebp - 0x10018]
push eax
lea ecx, [ebp - 0x10010]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419885
mov eax, dword [ebp - 0x10014]
cmp eax, dword [ebp - 0x10018]
je 0x41988e
mov dword [ebp - 8], 0
jmp 0x4198bc
mov ecx, dword [ebp - 0x10014]
push ecx
lea edx, [ebp - 0x10010]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00438280
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10014]
mov dword [ebp - 0xc], ecx
jmp 0x41981e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.004635af
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ec30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004202e0
movzx eax, al
test eax, eax
jne 0x41ecd4
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp - 0x1c]
call fcn.00420d30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
lea ecx, [ebp - 0x14]
call fcn.00420920
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041fa40
movzx ecx, al
test ecx, ecx
je 0x41ecc5
push 0
lea ecx, [ebp - 0x14]
call fcn.004209a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041fa20
mov eax, dword [ebp - 0x18]
jmp 0x41ecd6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041fa20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41fcb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48452f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.00420920
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.00420920
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.00420920
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x38
call fcn.004209c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd]
call fcn.004210b0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420a80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd]
call fcn.00420770
mov ecx, dword [ebp - 0x14]
add ecx, 0x48
call fcn.00420ac0
mov ecx, dword [ebp - 0x14]
call fcn.00420b00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420160
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x420176
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x42017d
mov dword [ebp - 0xc], 0xffffffff
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
jmp 0x420195
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jae 0x4201c1
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x48be80]
mov dword [ebp - 4], edx
jmp 0x42018c
cmp dword [ebp + 0x10], 0
je 0x4201d7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
jmp 0x4201df
mov edx, dword [ebp - 4]
not edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4207f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4a57cc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
cmp dword [ebp + 0xc], 0
jne 0x420839
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x48c280
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
jmp 0x42089a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x118]
mov cl, byte [eax]
mov byte [ebp - 0x121], cl
mov edx, dword [ebp - 0x11c]
mov al, byte [ebp - 0x121]
mov byte [edx], al
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
cmp byte [ebp - 0x121], 0
jne 0x420857
mov ecx, dword [ebp - 4]
call fcn.004635af
mov esp, ebp
pop ebp
ret 8

Function at 0x420b20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x420b6c
cmp dword [ebp + 0xc], 0
jne 0x420b6c
cmp dword [ebp + 0x10], 0
jne 0x420b6c
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.004209a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
jmp 0x420b8a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x14], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420b90
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x18], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x1c], ecx
push 0
push 0
push 0
call fcn.00420be0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.004209a0
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.004213e0
mov ecx, eax
call fcn.004207a0
mov esp, ebp
pop ebp
ret 4

Function at 0x423f50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48484b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x120]
call fcn.004250d0
mov dword [ebp - 4], 0
push 1
push 0x24
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x11c]
push ecx
push str.Windows
mov ecx, dword [ebp - 0x120]
call fcn.00424110
push 1
push 0x26
lea edx, [ebp - 0x11c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x424033
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 1
push str.ProgramFilesDir
push str.MicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00425e70
add esp, 0x18
test eax, eax
jne 0x424033
mov ecx, dword [str.c:Program_Files]
mov dword [ebp - 0x11c], ecx
mov edx, dword [0x48c2e8]
mov dword [ebp - 0x118], edx
mov eax, dword [0x48c2ec]
mov dword [ebp - 0x114], eax
mov ecx, dword [0x48c2f0]
mov dword [ebp - 0x110], ecx
mov dl, byte [0x48c2f4]
mov byte [ebp - 0x10c], dl
lea eax, [ebp - 0x11c]
push eax
push str.ProgramFiles
mov ecx, dword [ebp - 0x120]
call fcn.00424110
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004266b0
add esp, 4
lea edx, [ebp - 0x11c]
push edx
push str.DeskTop
mov ecx, dword [ebp - 0x120]
call fcn.00424110
lea eax, [ebp - 0x11c]
push eax
call fcn.004266f0
add esp, 4
lea ecx, [ebp - 0x11c]
push ecx
push str.ProgramMenu
mov ecx, dword [ebp - 0x120]
call fcn.00424110
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004635af
mov esp, ebp
pop ebp
ret

Function at 0x425c40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425c8e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x425c84
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x425c90
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret