joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432035
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552a84
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5b4a28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2d]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00431bdd
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43209b
push 0x56e06c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
jbe 0x432118
xor eax, eax
shl eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax]
mov dword [ecx], eax
and dword [ebp - 0x24], 0
jmp 0x4320c5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
cmp dword [ebp - 0x24], eax
jae 0x432118
cmp dword [ebp - 0x24], 0
jne 0x4320f7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + eax*4]
push 0x56dfac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004b811a
add esp, 0x10
jmp 0x432116
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + eax*4]
push dword [ebp + 0xc]
push str._s__lu
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004b811a
add esp, 0x14
jmp 0x4320be
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004336a5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x44273a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x9c0], 1
jmp 0x442775
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c0]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x9c0], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9c0], 0x270
jae 0x4427ca
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c0]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x9c0]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 4]
shr ecx, 0x1e
mov edx, dword [ebp - 8]
xor ecx, dword [edx + eax*4 - 4]
imul ecx, ecx, 0x6c078965
mov eax, dword [ebp - 8]
add ecx, dword [eax + 0x9c0]
and ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9c0]
mov edx, dword [ebp - 8]
mov dword [edx + eax*4], ecx
jmp 0x442762
leave
ret 4
Function at 0x4430d1
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 4]
and dword [eax + 0x54], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x58], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x5c], 0
leave
ret
Function at 0x44ab16
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 1
jl 0x44ab2d
cmp dword [ebp + 0xc], 8
jg 0x44ab2d
mov byte [ebp - 8], 1
jmp 0x44ab31
mov byte [ebp - 8], 0
push str.bad_pack_level
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00448925
add esp, 0xc
mov eax, dword [ebp + 8]
and dword [eax + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x44ab74
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
and dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call fcn.004b7da0
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x570272]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x570270]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x570274]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax*8 + 0x570276]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x44abfd
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x44ac12
cmp dword [ebp + 0xc], 8
jl 0x44ac12
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp + 8]
and dword [eax + 0x6af84], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 8]
call dword [eax + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0
je 0x44ac6e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x44ac87
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 1
mov eax, dword [ebp + 8]
and dword [eax + 0x6af90], 0
jmp 0x44acf1
mov eax, dword [ebp + 8]
and dword [eax + 0x6af8c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0x106
jae 0x44aca9
push dword [ebp + 8]
call fcn.0044b035
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x6af7c], 0
and dword [ebp - 4], 0
jmp 0x44acc0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x44acf1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx ecx, byte [ecx + 0x1af70]
xor eax, ecx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x44acb9
leave
ret
Function at 0x44c8a9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x44c8b9
xor eax, eax
jmp 0x44ca3c
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44ca02
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x44c8c2
cmp dword [ebp + 0x10], 0
je 0x44ca36
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5705b8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x44ca08
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x44d1d4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x44d30d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x20]
jb 0x44d2dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x1c]
add ecx, dword [ebp + 0xc]
cmp eax, ecx
jbe 0x44d221
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x44d22d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d259
mov eax, 0x300
jmp 0x44d341
and dword [ebp - 0xc], 0
push dword [ebp - 4]
push 0
push 0
push 0xf001f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44d292
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 8], 0
mov eax, 0x300
jmp 0x44d341
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
push dword [ebp - 0xc]
call fcn.004b3170
add esp, 0xc
mov eax, dword [ebp - 0x14]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x1c]
push eax
call fcn.004b3170
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0xc]
jmp 0x44d341
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x44d335
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
jmp 0x44d341
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], 0x1000000
xor eax, eax
leave
ret 8
Function at 0x44d8af
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x58], 0
je 0x44d951
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x60]
cmp eax, dword [ecx + 0x5c]
jb 0x44d8da
xor eax, eax
jmp 0x44d9bb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0x5c]
sub eax, dword [ecx + 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jbe 0x44d8f7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x60]
push eax
push dword [ebp + 8]
call fcn.004b3170
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x60]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], eax
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x4c]
call fcn.0044c8a9
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 4]
jmp 0x44d9bb
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x50], 0
je 0x44d9af
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x50]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d97f
xor eax, eax
jmp 0x44d9bb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x4c]
call fcn.0044c8a9
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp - 0xc]
jmp 0x44d9bb
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x1000000
xor eax, eax
leave
ret 8
Function at 0x44eaa2
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x258], 0
push 0x103
push 0
lea eax, [ebp - 0x257]
push eax
call fcn.004b7da0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x44eaee
push 4
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0044e8a7
add esp, 0x14
jmp 0x44eaf5
xor eax, eax
jmp 0x44ed00
push dword [ebp + 0xc]
lea eax, [ebp - 0x258]
push eax
call fcn.004b9b40
pop ecx
pop ecx
push 0x570d18
lea eax, [ebp - 0x258]
push eax
call fcn.004b9b50
pop ecx
pop ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x258]
push eax
call fcn.004b9b50
pop ecx
pop ecx
push 0x570d1c
lea eax, [ebp - 0x258]
push eax
call fcn.004b9b50
pop ecx
pop ecx
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x44eb67
xor eax, eax
jmp 0x44ed00
mov byte [ebp - 0x149], 1
movzx eax, byte [ebp - 0x149]
test eax, eax
je 0x44ecf1
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x44ecc8
push 0x570d20
lea eax, [ebp - 0x11c]
push eax
call fcn.004b9e63
pop ecx
pop ecx
test eax, eax
je 0x44ebc6
push 0x570d24
lea eax, [ebp - 0x11c]
push eax
call fcn.004b9e63
pop ecx
pop ecx
test eax, eax
jne 0x44ebc8
jmp 0x44eb6e
mov eax, dword [ebp - 0x148]
and eax, 0x10
je 0x44ec4b
mov byte [ebp - 0x368], 0
push 0x103
push 0
lea eax, [ebp - 0x367]
push eax
call fcn.004b7da0
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x368]
push eax
call fcn.004b9b50
pop ecx
pop ecx
push 0x570d28
lea eax, [ebp - 0x368]
push eax
call fcn.004b9b50
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x368]
push eax
call fcn.004b9b50
pop ecx
pop ecx
lea eax, [ebp - 0x368]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044eaa2
add esp, 0xc
test eax, eax
jne 0x44ec49
xor eax, eax
jmp 0x44ed00
jmp 0x44ecc6
mov byte [ebp - 0x470], 0
push 0x103
push 0
lea eax, [ebp - 0x46f]
push eax
call fcn.004b7da0
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x470]
push eax
call fcn.004b9b40
pop ecx
pop ecx
push 0x570d2c
lea eax, [ebp - 0x470]
push eax
call fcn.004b9b50
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.004b9b50
pop ecx
pop ecx
push 2
push 0
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x470]
push eax
push dword [ebp + 8]
call fcn.0044e8a7
add esp, 0x14
test eax, eax
je 0x44ecc6
xor eax, eax
jmp 0x44ed00
jmp 0x44ecec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x44ecdc
mov byte [ebp - 0x149], 0
jmp 0x44ecec
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x44ed00
jmp 0x44eb6e
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b2f5a
leave
ret
Function at 0x4520d7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557212
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x5d]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041bda0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x70]
call fcn.0043c176
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x45215d
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041bda0
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x51]
jmp 0x452275
mov dword [ebp - 0x38], 0x34
mov byte [ebp - 0x39], 0
cmp dword [ebp - 0x18], 8
jb 0x452176
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
jmp 0x45217c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x78], eax
push 0
push dword [ebp - 0x78]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x452255
push dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00452581
mov byte [ebp - 4], 3
push dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.004525ee
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x18], 8
jb 0x4521c1
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
jmp 0x4521c7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x40]
push dword [ebp - 0x34]
push 0
push dword [ebp - 0x7c]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x452245
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x570f10
push dword [ebp - 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x452245
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
shr eax, 0x10
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov word [ecx], ax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov word [ecx + 2], ax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
shr eax, 0x10
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov word [ecx + 4], ax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov ecx, dword [ebp + 8]
mov word [ecx + 6], ax
mov byte [ebp - 0x39], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.0043dbd3
mov byte [ebp - 4], 1
mov al, byte [ebp - 0x39]
mov byte [ebp - 0x52], al
mov dword [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041bda0
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x52]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2f5a
leave
ret 4
Function at 0x4537d9
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x570f48
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x453810
jmp 0x453854
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x570f78
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x45383e
jmp 0x453854
mov eax, dword [ebp - 8]
imul eax, eax, 0xf4240
xor ecx, ecx
mov dword [0x5b3f58], eax
mov dword [0x5b3f5c], ecx
leave
ret
Function at 0x453d9c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x50], ecx
cmp dword [ebp + 8], 0
jne 0x453dbc
xor al, al
jmp 0x453f27
cmp dword [ebp + 0xc], 0
jle 0x453dcf
cmp dword [ebp + 0x10], 0
jne 0x453dcf
xor al, al
jmp 0x453f27
push 0x570f88
push dword [ebp + 8]
call fcn.004b9444
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x453dee
xor al, al
jmp 0x453f27
mov eax, dword [str.FREP0001]
mov dword [ebp - 0x40], eax
mov eax, dword [0x5b3f64]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5b3f58]
mov dword [ebp - 0x38], eax
mov eax, dword [0x5b3f5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
push dword [ebp - 0xc]
push 1
push 0x28
lea eax, [ebp - 0x40]
push eax
call fcn.004b4592
add esp, 0x10
cmp eax, 1
je 0x453e54
push dword [ebp - 0xc]
call fcn.004b42b0
pop ecx
xor al, al
jmp 0x453f27
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
imul eax, eax, 0x4c
mov ecx, dword [ebp + 0xc]
shl ecx, 6
add eax, ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.004b3b45
pop ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
call fcn.004b7da0
add esp, 0xc
push dword [ebp - 8]
mov eax, dword [ebp - 0x50]
push dword [eax + 4]
mov ecx, dword [ebp - 0x50]
call fcn.00454139
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
imul eax, eax, 0x4c
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
and dword [ebp - 0x44], 0
jmp 0x453eb5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0xc]
jge 0x453eec
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + eax*4], 0
je 0x453ee1
push 0x3f
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
push dword [ecx + eax*4]
push 0x40
push dword [ebp - 4]
call fcn.004ba04f
add esp, 0x10
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
jmp 0x453eae
mov byte [ebp - 0x11], 1
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.004b4592
add esp, 0x10
cmp eax, 1
je 0x453f0c
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
call fcn.004b3165
pop ecx
push dword [ebp - 0xc]
call fcn.004b42b0
pop ecx
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b2f5a
leave
ret 0xc