joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5dd1
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x51d95d
call fcn.004db753
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x4b5e08
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
jmp 0x4b5e5c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x10]
add eax, eax
cmp dword [ecx + 0x14], 8
jb 0x4b5e18
mov ecx, dword [ecx]
push ebx
lea edx, [ebp + 0x10]
push edx
push eax
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4b5e40
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x4b5dfc
push 1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004b5c57
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
call fcn.004db71c
ret 0xc

Function at 0x4b5e64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov edx, dword [eax + 0x10]
add edx, edx
cmp dword [eax + 0x14], 8
jb 0x4b5e7a
mov eax, dword [eax]
push 0
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop esi
pop ebp
ret 4
Function at 0x4b6e74
Capabilities:
Parse credit card information

Disassembly:
push 0x4c
mov eax, 0x51dd34
call fcn.004db787
mov esi, ecx
push str.PIDTemplate
lea ecx, [ebp - 0x58]
call fcn.00404285
and dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov ecx, dword [ebp - 0x18]
cmp ecx, 3
jb 0x4b6ff2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x3c
jne 0x4b6ff2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x3e
jne 0x4b6ff2
lea eax, [ecx - 2]
xor ebx, ebx
push eax
inc ebx
lea eax, [ebp - 0x58]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cbed
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push eax
call fcn.00404232
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040569b
push str.PIDKEY
lea ecx, [ebp - 0x58]
call fcn.00404285
mov byte [ebp - 4], 4
lea edx, [ebp - 0x58]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0040569b
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x18]
jne 0x4b6fe2
xor esi, esi
test edx, edx
je 0x4b6fe4
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax + esi*2]
cmp eax, 0x3d
ja 0x4b6fa1
je 0x4b6fd7
sub eax, 0x23
je 0x4b6f80
dec eax
sub eax, 1
je 0x4b6f80
sub eax, 1
jmp 0x4b6fb3
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
movzx eax, word [eax + esi*2]
push eax
call fcn.004e3cdf
pop ecx
test eax, eax
je 0x4b6fe2
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x4b6fd4
cmp eax, 0x3f
jb 0x4b6fb5
cmp eax, 0x40
jbe 0x4b6fd7
cmp eax, 0x5e
je 0x4b6fd7
cmp eax, 0x60
je 0x4b6fd7
cmp edi, 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
mov ax, word [eax + esi*2]
cmp ax, word [ecx + esi*2]
jne 0x4b6fe2
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, edx
jb 0x4b6f5b
jmp 0x4b6fe4
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040569b
jmp 0x4b6ff4
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, bl
call fcn.004db731
ret
Function at 0x4b999a
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x51e5d0
call fcn.004db787
mov edi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor esi, esi
add edi, 4
push edi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
call fcn.00404b8e
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046aad0
mov dword [ebp - 4], 1
jmp 0x4b9a30
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046d470
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4b99f2
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040569b
test esi, esi
jne 0x4b9a5e
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046ddc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00404232
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040569b
cmp dword [ebp - 0x18], 0
jne 0x4b99da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [edi + 0x14], 8
jb 0x4b9a4a
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
setne al
call fcn.004db731
ret 4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, 1
jmp 0x4b9a56
Function at 0x4bca22
Capabilities:
Reference sql statements

Disassembly:
push 0x58
mov eax, 0x51f1c0
call fcn.004db787
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push str.prereq
mov dword [ebp - 0x4c], eax
xor ebx, ebx
call fcn.00404285
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00453156
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0040569b
push str.SELECT__Data__FROM__Binary__WHERE__Name___Prereq.dll
lea ecx, [ebp - 0x44]
call fcn.00404285
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.004acbcf
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.0040569b
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
push 0x5c
cmovae esi, dword [ebp - 0x2c]
push esi
call fcn.004deafa
pop ecx
pop ecx
test eax, eax
jne 0x4bcab1
mov eax, ebx
jmp 0x4bcaba
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
call fcn.004c03a2
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x4bcafe
push str.InstallPrereq
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bcafe
push edi
call eax
mov ecx, dword [ebp - 0x4c]
mov bl, 1
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.004c007f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004db731
ret 4
Function at 0x4bf4df
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x51fc79
call fcn.004db787
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 0x4bf594
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.00404285
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.0046aad0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x230]
push str.msiexec.exe
mov dword [ebp - 0x234], edi
call fcn.00404285
mov dword [ebp - 4], 2
lea eax, [ebp - 0x230]
push eax
mov ecx, esi
call fcn.0043047c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
call fcn.0040569b
mov eax, esi
call fcn.004db731
ret 4
call fcn.004db3cd
int3

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

Disassembly:
push 0x78
mov eax, 0x520239
call fcn.004db787
mov ebx, dword [ebp + 8]
sub esp, 0x18
mov edi, dword [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x84], esp
push ebx
call fcn.00404285
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0046aad0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046b330
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4c0b97
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.0040569b
mov ecx, dword [ebp + 0xc]
cmp esi, 3
jne 0x4c0bbc
test ecx, 0x20000
jne 0x4c0c05
cmp esi, 2
jne 0x4c0bc9
test ecx, 0x10000
jne 0x4c0c05
cmp esi, 4
jne 0x4c0bd6
test ecx, 0x40000
jne 0x4c0c05
cmp esi, 5
jne 0x4c0be3
test ecx, 0x80000
jne 0x4c0c05
cmp esi, 6
jne 0x4c0bf0
test ecx, 0x100000
jne 0x4c0c05
cmp esi, 2
jne 0x4c0caa
test ecx, 0x200000
je 0x4c0caa
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.0046b330
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4c0c2b
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.0040569b
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 ebx
call fcn.00404285
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004b07d9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov eax, dword [edi + 4]
push ecx
cmp dword [edi + 8], eax
je 0x4c0c96
mov ecx, eax
call fcn.0044d23f
add dword [edi + 4], 0x30
jmp 0x4c0c9e
push eax
mov ecx, edi
call fcn.004c1f07
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040569b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
call fcn.004db731
ret 0x18
Function at 0x4cfa85
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor dl, dl
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4cfbe2
push 0x29
mov eax, ecx
pop ebp
mov ebx, 0x10000000
cmp eax, 0x7c
je 0x4cfbe2
cmp eax, ebp
jne 0x4cfac8
cmp dword [esi + 0x10], 0
mov eax, ebp
jne 0x4cfbe2
cmp eax, ebp
jne 0x4cfac8
test dword [esi + 0x50], ebx
je 0x4cfbf0
cmp eax, 0x2e
jne 0x4cfae3
push 5
lea ecx, [esi + 0x24]
call fcn.004cfceb
mov ecx, esi
call fcn.004cfa5a
jmp 0x4cfbcb
cmp eax, 0x5c
jne 0x4cfb38
mov ecx, esi
call fcn.004cfa5a
test byte [esi + 0x50], 0x80
je 0x4cfb2c
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4cfb14
push 4
lea ecx, [esi + 0x24]
call fcn.004cfceb
mov ecx, esi
call fcn.004cfa5a
jmp 0x4cfbd2
cmp eax, 0x42
jne 0x4cfb2c
push 4
lea ecx, [esi + 0x24]
call fcn.004cfceb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4cfb08
mov ecx, esi
call fcn.004d0a37
jmp 0x4cfbcb
cmp eax, 0x5b
jne 0x4cfb58
mov ecx, esi
call fcn.004cfa5a
mov ecx, esi
call fcn.004d09eb
cmp dword [esi + 0x4c], 0x5d
je 0x4cfad7
push 4
jmp 0x4cfbf2
cmp eax, 0x28
jne 0x4cfb74
mov ecx, esi
call fcn.004cfa5a
mov ecx, esi
call fcn.004d0ae3
mov bl, al
cmp dword [esi + 0x4c], ebp
jne 0x4cfbf0
jmp 0x4cfbc0
cmp eax, 0x5e
jne 0x4cfb7d
push 2
jmp 0x4cfb00
cmp eax, 0x24
jne 0x4cfb89
push 3
jmp 0x4cfb00
cmp eax, 0x2a
je 0x4cfbec
cmp eax, 0x2b
je 0x4cfbec
cmp eax, 0x3f
je 0x4cfbec
cmp eax, 0x7b
je 0x4cfbec
cmp ecx, 0x7d
jne 0x4cfba7
test dword [esi + 0x50], ebx
je 0x4cfbe8
cmp ecx, 0x5d
jne 0x4cfbb1
test dword [esi + 0x50], ebx
je 0x4cfb51
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004d0c9b
mov bl, 1
mov ecx, esi
call fcn.004cfa5a
test bl, bl
je 0x4cfbd2
mov ecx, esi
call fcn.004d0bd2
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x4cfa9d
pop esi
pop ebp
mov al, dl
pop ebx
ret
push 6
jmp 0x4cfbf2
push 0xa
jmp 0x4cfbf2
push 5
call fcn.004cea51
int3
Function at 0x4d39d4
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x5249df
call fcn.004db787
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 0x4d3b86
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.00404285
xor esi, esi
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046aad0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x234]
push str.msi.dll
call fcn.00404285
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0043047c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.0040569b
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x25c]
sar eax, 1
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x234]
push eax
call fcn.0046d470
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4d3ac1
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.0040569b
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x25c]
inc eax
push ecx
push eax
call fcn.0046e500
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0046d470
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4d3b15
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.0040569b
mov edi, dword [ebp - 0x25c]
mov edx, esi
cmp edx, dword [ebp - 0x250]
jae 0x4d3b5d
movzx eax, word [edi + edx*2]
cmp eax, 0x2e
je 0x4d3b57
imul esi, esi, 0xa
add esi, 0xffffffd0
add esi, eax
inc edx
cmp edx, 3
jb 0x4d3b3e
imul esi, esi, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.0046df90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040569b
mov eax, esi
call fcn.004db731
ret
call fcn.004db3cd
int3
Function at 0x4d4d69
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x524e92
call fcn.004db753
mov esi, edx
mov ebx, ecx
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d156
mov dword [ebp - 4], 1
mov eax, dword [esi]
push 0x5c
pop edi
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4d4e0c
dec eax
mov ecx, esi
push eax
call fcn.00473c60
cmp ax, di
jne 0x4d4e0c
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406d83
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4d4dfb
cmp dword [edi + 0xc], 0
jl 0x4d4def
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d4def
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4d4dfb
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d89e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040d635
jmp 0x4d4e49
mov edx, dword [esi]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4d4e49
cmp dword [edi + 0xc], 0
jl 0x4d4e3d
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d4e3d
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4d4e49
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d89e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x4d4ea8
push 0x5c
push ecx
call fcn.004dee47
pop ecx
pop ecx
test eax, eax
jne 0x4d4e69
or eax, 0xffffffff
jmp 0x4d4e6d
sub eax, dword [ebx]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00406d83
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4d4e99
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004d4d69
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040d635
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040d635
call fcn.004db71c
ret
Function at 0x4d4ebd
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x524ed5
call fcn.004db753
mov ebx, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4d4f8d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0040d32d
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d156
mov dword [ebp - 4], 1
push 0x5c
push dword [esi]
call fcn.004dee47
pop ecx
pop ecx
test eax, eax
je 0x4d4f6e
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4d4f6e
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00406d83
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov esi, dword [ebp - 0x10]
lea ecx, [edx - 0x10]
lea edi, [esi - 0x10]
cmp ecx, edi
je 0x4d4f5d
cmp dword [edi + 0xc], 0
jl 0x4d4f4e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4d4f4e
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
add esi, 0x10
mov dword [ebp - 0x10], esi
jmp 0x4d4f5d
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d89e
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040d635
jmp 0x4d4f71
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4d4f81
mov edx, ebx
lea ecx, [ebp - 0x10]
call fcn.004d4d69
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d635
call fcn.004db71c
ret
Function at 0x4d55c7
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x52506f
call fcn.004db787
mov dword [ebp - 0x78], edx
mov edx, ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x74], 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 - 0x7c], 0
mov dword [ebp - 0x80], ecx
mov ecx, edx
push eax
mov dword [ebp - 0x88], edx
call fcn.00404b28
push dword [ebp + 0x1c]
and dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp - 0x78]
inc eax
push esi
push edi
push ebx
push dword [ebp - 0x80]
mov ebx, dword [ebp - 0x84]
mov edx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], eax
call fcn.004d5287
add esp, 0x14
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4d563c
mov eax, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4d575d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
push ebx
call fcn.00404b28
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0046aad0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.0046ddc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0046d400
mov edi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d400
mov byte [ebp - 4], 5
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4d56b1
mov edx, dword [edi]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4d56bb
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x4d56d2
push eax
push edx
push ecx
call fcn.0040530d
add esp, 0xc
test eax, eax
je 0x4d56d6
mov byte [ebp - 0x74], 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.004056f2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004056f2
cmp byte [ebp - 0x74], 0
je 0x4d5745
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d470
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4d570c
mov eax, dword [eax]
push eax
call esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004056f2
test esi, esi
je 0x4d5745
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0046d470
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00404232
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004056f2
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040dca3
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.0040dca3
mov eax, ebx
call fcn.004db731
ret
Function at 0x4d5e01
Capabilities:
Check os version

Disassembly:
push pe_nt_image_headers32
mov eax, 0x52516e
call fcn.004db787
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.0042e47d
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
push 0x58
push 0
push edi
call fcn.004de9a0
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.004de9a0
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d5e97
cmp dword [ebp - 0x120], 5
jae 0x4d5e9d
cmp dword [ebp - 0x120], 4
jne 0x4d5e97
cmp dword [ebp - 0x11c], 0x5a
jae 0x4d5e9d
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], 0x54a388
mov ecx, dword [0x57e2d8]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x42dd5e
mov dword [esi + 0x24], ecx
call fcn.004db731
ret 0x18

Function at 0x4d6220
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 0x4d953b
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x52523c
call fcn.004db787
mov edi, ecx
mov dword [ebp - 0x30], edi
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x4d9670
cmp byte [edi + 0x3e], bl
je 0x4d9670
mov eax, dword [edi]
mov ecx, 0xffff
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x52729c]
mov ecx, edi
call esi
mov ecx, 0xffff
cmp cx, ax
jne 0x4d9588
xor al, al
jmp 0x4d9672
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.00453804
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 0x4d95bd
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d95c7
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 dword [0x52729c]
mov ecx, edi
call dword [esi + 0x20]
sub eax, ebx
je 0x4d95f7
sub eax, 1
jne 0x4d9655
mov edi, dword [ebp - 0x30]
jmp 0x4d95fd
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 0x4d960d
mov edx, eax
mov esi, dword [ebp - 0x38]
sub esi, edx
je 0x4d9637
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d961e
mov edx, eax
push dword [edi + 0x4c]
push esi
push 1
push edx
call fcn.004ecbfc
add esp, 0x10
cmp esi, eax
jne 0x4d9660
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
cmp byte [edi + 0x3e], 0
je 0x4d965e
test esi, esi
jne 0x4d95af
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00453715
jmp 0x4d95a9
dec eax
sub eax, 1
jne 0x4d9664
inc eax
jmp 0x4d9662
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.00405ade
mov al, bl
jmp 0x4d9672
mov al, 1
call fcn.004db731
ret