joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3331
Capabilities:
Reference sql statements

Disassembly:
push 0x50
mov eax, 0x5132cc
call fcn.004d0e17
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push str.prereq
xor ebx, ebx
call fcn.004042a7
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044ea2a
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004050c4
push str.SELECT__Data__FROM__Binary__WHERE__Name___Prereq.dll
lea ecx, [ebp - 0x40]
call fcn.004042a7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.004a4771
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004050c4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041eb3d
mov dword [ebp - 0x44], eax
lea edx, [ebp - 0x4c]
push dword [ebp - 0x44]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
call fcn.004b699d
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x44], ebx
je 0x4b33f0
push str.InstallPrereq
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b33f0
push esi
call eax
mov dword [edi], eax
mov bl, 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004b66aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004050c4
mov al, bl
call fcn.004d0dc1
ret 4
Function at 0x4b5c34
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x513cbd
call fcn.004d0e17
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 8]
push 0x104
push eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add eax, eax
cmp eax, 0x208
jae 0x4b5ce9
sub esp, 0x18
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
mov ecx, esp
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], esp
push eax
call fcn.004042a7
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.004661c0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x230]
push str.msiexec.exe
mov dword [ebp - 0x234], edi
call fcn.004042a7
mov dword [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.0042da0a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
call fcn.004050c4
mov eax, esi
call fcn.004d0dc1
ret 4
call fcn.004d0a67
int3

Function at 0x4b71d1
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x78
mov eax, 0x514273
call fcn.004d0e17
mov edi, dword [ebp + 8]
sub esp, 0x18
mov ebx, dword [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x84], esp
push edi
call fcn.004042a7
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004661c0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00466d90
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4b7223
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004050c4
mov ecx, dword [ebp + 0xc]
cmp esi, 3
jne 0x4b7248
test ecx, 0x20000
jne 0x4b7291
cmp esi, 2
jne 0x4b7255
test ecx, 0x10000
jne 0x4b7291
cmp esi, 4
jne 0x4b7262
test ecx, 0x40000
jne 0x4b7291
cmp esi, 5
jne 0x4b726f
test ecx, 0x80000
jne 0x4b7291
cmp esi, 6
jne 0x4b727c
test ecx, 0x100000
jne 0x4b7291
cmp esi, 2
jne 0x4b7320
test ecx, 0x200000
je 0x4b7320
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00466d90
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4b72b7
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004050c4
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push edi
call fcn.004042a7
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004a7ebd
mov byte [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.004b831c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004050c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004050c4
call fcn.004d0dc1
ret 0x18
Function at 0x4bc581
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x64
lea ebp, [esp - 4]
mov eax, dword [0x570074]
xor eax, ebp
mov dword [ebp + 0x64], eax
push 0x44
mov eax, 0x515465
call fcn.004d0de3
mov esi, dword [ebp + 0x70]
lea eax, [ebp + 0x1c]
push eax
call fcn.004b5c34
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0x4c]
push 0x529f54
call fcn.004042a7
mov byte [ebp - 4], 1
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00469200
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bc5db
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00411963
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x34]
call fcn.004050c4
mov edi, 0x53aae4
push edi
call fcn.004d5c34
pop ecx
push eax
push edi
lea ecx, [ebp + 0x4c]
call fcn.00411963
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp + 0x10]
call fcn.004bc722
push esi
lea ecx, [ebp + 0x10]
call fcn.00404051
push ecx
lea ecx, [ebp + 0x10]
call fcn.004bc812
push ecx
lea ecx, [ebp + 0x10]
call fcn.004bc902
lea edx, [ebp + 0x10]
lea ecx, [ebp + 0x34]
call fcn.0047a420
mov byte [ebp - 4], 4
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4bc653
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00411963
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x34]
call fcn.004050c4
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x44
push ebx
push eax
call fcn.004d39c0
xor eax, eax
lea edi, [ebp]
stosd dword es:[edi], eax
lea ecx, [ebp + 0x1c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x34]
push eax
call fcn.00469200
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x4c]
cmp dword [ebp + 0x60], 8
cmovae ecx, dword [ebp + 0x4c]
cmp dword [eax + 0x14], 8
jb 0x4bc6ad
mov eax, dword [eax]
lea edx, [ebp]
push edx
lea edx, [ebp - 0x50]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x34]
call fcn.004050c4
test esi, esi
je 0x4bc6e0
push 0xffffffffffffffff
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.004042fb
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x4c]
call fcn.004050c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004050c4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.004d0217
lea esp, [ebp + 0x68]
pop ebp
ret 4
Function at 0x4c5501
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4c5661
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x4c5661
cmp eax, 0x29
jne 0x4c553a
cmp dword [esi + 0x10], 0
jne 0x4c5661
test dword [esi + 0x50], ebp
je 0x4c566f
cmp eax, 0x2e
jne 0x4c5555
push 5
lea ecx, [esi + 0x24]
call fcn.004c576a
mov ecx, esi
call fcn.004c54dc
jmp 0x4c564c
cmp eax, 0x5c
jne 0x4c55aa
mov ecx, esi
call fcn.004c54dc
test byte [esi + 0x50], 0x80
je 0x4c559e
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4c5586
push 4
lea ecx, [esi + 0x24]
call fcn.004c576a
mov ecx, esi
call fcn.004c54dc
jmp 0x4c5653
cmp eax, 0x42
jne 0x4c559e
push 4
lea ecx, [esi + 0x24]
call fcn.004c576a
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4c557a
mov ecx, esi
call fcn.004c64f6
jmp 0x4c564c
cmp eax, 0x5b
jne 0x4c55ca
mov ecx, esi
call fcn.004c54dc
mov ecx, esi
call fcn.004c64aa
cmp dword [esi + 0x4c], 0x5d
je 0x4c5549
push 4
jmp 0x4c5671
cmp eax, 0x28
jne 0x4c55f2
mov ecx, esi
call fcn.004c54dc
mov ecx, esi
call fcn.004c65a4
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4c566f
mov ecx, esi
call fcn.004c54dc
jmp 0x4c5648
cmp eax, 0x5e
jne 0x4c55fe
push 2
jmp 0x4c5572
cmp eax, 0x24
jne 0x4c560a
push 3
jmp 0x4c5572
cmp eax, 0x2a
je 0x4c566b
cmp eax, 0x2b
je 0x4c566b
cmp eax, 0x3f
je 0x4c566b
cmp eax, 0x7b
je 0x4c566b
cmp eax, 0x7d
jne 0x4c5628
test dword [esi + 0x50], ebp
je 0x4c5667
cmp eax, 0x5d
jne 0x4c5632
test dword [esi + 0x50], ebp
je 0x4c55c3
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004c6743
mov ecx, esi
call fcn.004c54dc
mov bl, 1
test bl, bl
je 0x4c5653
mov ecx, esi
call fcn.004c6680
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4c5519
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x4c5671
push 0xa
jmp 0x4c5671
push 5
call fcn.004c4431
int3
Function at 0x4c9309
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x518b28
call fcn.004d0e17
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x250], eax
add eax, eax
cmp eax, 0x208
jae 0x4c94ad
sub esp, 0x18
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
mov ecx, esp
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x260], esp
push eax
call fcn.004042a7
xor esi, esi
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004661c0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x234]
push str.msi.dll
call fcn.004042a7
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042da0a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004050c4
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], esi
call fcn.00469200
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4c93e8
mov eax, dword [eax]
mov edi, dword [sym.imp.msi.dll_MsiMessageBoxW]
lea ecx, [ebp - 0x250]
push esi
push esi
push ecx
push esi
push eax
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004050c4
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x25c]
inc eax
push ecx
push eax
call fcn.0046a1c0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00469200
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4c943c
mov eax, dword [eax]
push esi
push esi
lea ecx, [ebp - 0x250]
push ecx
push dword [ebp - 0x25c]
push eax
call edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.004050c4
mov edi, dword [ebp - 0x25c]
mov edx, esi
cmp edx, dword [ebp - 0x250]
jae 0x4c9484
movzx eax, word [edi + edx*2]
cmp eax, 0x2e
je 0x4c947e
imul esi, esi, 0xa
add esi, 0xffffffd0
add esi, eax
inc edx
cmp edx, 3
jb 0x4c9465
imul esi, esi, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00469e80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.004050c4
mov eax, esi
call fcn.004d0dc1
ret
call fcn.004d0a67
int3
Function at 0x4ca52a
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x518ff7
call fcn.004d0de3
mov edi, edx
mov esi, ecx
call fcn.0040cc51
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ca68
mov dword [ebp - 4], 1
mov eax, dword [edi]
push 0x5c
pop ebx
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4ca599
dec eax
mov ecx, edi
push eax
call fcn.0046fde0
cmp ax, bx
jne 0x4ca599
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040666a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.0044d0c3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
jmp 0x4ca5a2
push edi
lea ecx, [ebp - 0x10]
call fcn.0044d0c3
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x4ca600
push ebx
push ecx
call fcn.004d3e4b
pop ecx
pop ecx
test eax, eax
jne 0x4ca5c1
or eax, 0xffffffff
jmp 0x4ca5c5
sub eax, dword [esi]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040666a
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4ca5f1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004ca52a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
call fcn.004d0dac
ret

Function at 0x4ca615
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x51903a
call fcn.004d0de3
mov edi, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4ca6a8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040cc51
push eax
lea ecx, [ebp - 0x10]
call fcn.0040ca68
mov dword [ebp - 4], 1
push 0x5c
push dword [esi]
call fcn.004d3e4b
pop ecx
pop ecx
test eax, eax
je 0x4ca689
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4ca689
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040666a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.0044d0c3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040cf54
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4ca69c
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.004ca52a
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040cf54
call fcn.004d0dac
ret
Function at 0x4cac4f
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x5191cf
call fcn.004d0e17
mov dword [ebp - 0x80], edx
mov edx, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
and dword [ebp - 0x74], 0
mov dword [ebp - 0x78], ecx
mov ecx, edx
push eax
mov dword [ebp - 0x88], edx
call fcn.0040475a
push dword [ebp + 0x1c]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x80]
push esi
push edi
mov edi, dword [ebp - 0x7c]
mov edx, edi
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 1
call fcn.004ca91b
add esp, 0x14
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4cacbf
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cadbf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push edi
call fcn.0040475a
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004661c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00469c40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.00469190
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00469190
mov edx, esi
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.0040463e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.004050ef
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004050ef
test bl, bl
je 0x4cada7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00469200
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4cad6a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004050ef
test esi, esi
je 0x4cada7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00469200
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00404252
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004050ef
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040d5ad
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0040d5ad
mov eax, edi
call fcn.004d0dc1
ret
Function at 0x4cb442
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x5192ce
call fcn.004d0e17
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.0042bc4f
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
push 0x58
push 0
push edi
call fcn.004d39c0
xor eax, eax
mov dword [esi + 0x78], 1
xor ecx, ecx
mov dword [edi], 0x58
lea ebx, [esi + 0x27c]
mov word [esi + 0x7c], cx
push 0x110
mov word [ebx], ax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [ebp - 0x124], 0x114
call fcn.004d39c0
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cb4d8
cmp dword [ebp - 0x120], 5
jae 0x4cb4de
cmp dword [ebp - 0x120], 4
jne 0x4cb4d8
cmp dword [ebp - 0x11c], 0x5a
jae 0x4cb4de
mov dword [edi], 0x4c
and dword [esi + 0x5c], 0
lea eax, [esi + 0x7c]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0x104
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880024
mov dword [esi + 0x2c], 0x53dac8
mov ecx, dword [0x5722d8]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x42b4ef
mov dword [esi + 0x24], ecx
call fcn.004d0dc1
ret 0x18

Function at 0x4cb860
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4cec19
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x5193e9
call fcn.004d0e17
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x4ced4c
cmp byte [edi + 0x3e], bl
je 0x4ced4c
mov eax, dword [edi]
mov ecx, 0xffff
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.004d0d73
mov ecx, edi
call esi
mov ecx, 0xffff
cmp cx, ax
jne 0x4cec65
xor al, al
jmp 0x4ced4e
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.0044ef58
lea eax, [edi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
cmp ecx, 0x10
jb 0x4cec9a
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4ceca4
mov edx, eax
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
mov esi, dword [edi]
push eax
push edx
push dword [ebp - 0x34]
mov ecx, dword [esi + 0x20]
call fcn.004d0d73
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x4cecd3
sub eax, 1
jne 0x4ced31
mov edi, dword [ebp - 0x30]
jmp 0x4cecd9
mov edi, dword [ebp - 0x30]
mov byte [edi + 0x3e], bl
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4cece9
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x4ced13
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4cecfa
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.004e1ce9
add esp, 0x10
cmp esi, eax
jne 0x4ced3c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3e], 0
je 0x4ced3a
test esi, esi
jne 0x4cec8c
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0044ee8b
jmp 0x4cec86
dec eax
sub eax, 1
jne 0x4ced40
inc eax
jmp 0x4ced3e
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00405418
mov al, bl
jmp 0x4ced4e
mov al, 1
call fcn.004d0dc1
ret
Function at 0x4cf210
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x5193bc
call fcn.004d0e17
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x4cf235
xor eax, eax
jmp 0x4cf3b9
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf261
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4cf261
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4cf3b9
cmp dword [esi + 0x4c], 0
je 0x4cf3b6
mov ecx, esi
call fcn.004cee38
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4cf294
push dword [esi + 0x4c]
push edi
call fcn.004ce9e5
pop ecx
pop ecx
test al, al
je 0x4cf3b6
movzx ebx, di
jmp 0x4cf3b6
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0044ef58
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x4cf2ce
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4cf2d8
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call fcn.004d0d73
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4cf3ae
cmp eax, 1
jg 0x4cf389
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4cf322
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x4cf351
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4cf333
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.004e1ce9
add esp, 0x10
cmp edi, eax
jne 0x4cf384
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x4cf354
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], edx
jne 0x4cf37e
test edi, edi
jne 0x4cf2c0
cmp dword [ebp - 0x18], 0x20
jae 0x4cf3a8
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044ee8b
jmp 0x4cf2ba
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4cf3a8
cmp eax, 3
jne 0x4cf3ae
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004ce9e5
pop ecx
pop ecx
test al, al
je 0x4cf3a8
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call fcn.00405418
mov ax, bx
call fcn.004d0dc1
ret 4