joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0a36
Capabilities:
Connect pipe
Read file on windows
Read pipe

Disassembly:
push 0x38
mov eax, 0x515279
call fcn.004d67b7
mov edi, ecx
mov bl, byte [ebp + 0x10]
xor eax, eax
and dword [ebp - 0x30], 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ecx
test bl, bl
jne 0x4b0a81
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4b0a6e
xor eax, eax
inc eax
jmp 0x4b0a7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x217
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x2c]
and dword [ebp - 0x18], 0
xor edx, edx
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
inc edx
mov dword [ebp - 4], edx
test eax, eax
jne 0x4b0abe
test bl, bl
jne 0x4b0abe
and dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], al
jmp 0x4b0b9e
xor ebx, ebx
mov dword [ebp - 0x3c], edx
add edi, 0x3c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4b0ad0
mov eax, dword [edi]
push 0
lea edx, [ebp - 0x40]
push edx
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4b0afb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4b0b84
mov ecx, dword [ebp - 0x40]
mov eax, edi
add ebx, ecx
cmp dword [edi + 0x14], 8
jb 0x4b0b0a
mov eax, dword [edi]
shr ecx, 1
xor edx, edx
mov dword [ebp - 0x38], edi
mov word [eax + ecx*2], dx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4b0b22
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
push eax
call fcn.004dbc76
pop ecx
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00412200
lea eax, [ebp - 0x3c]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x2c]
ja 0x4b0ac6
cmp dword [ebp - 0x34], 0
je 0x4b0b84
test ebx, ebx
je 0x4b0b84
xor ebx, ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x34], bl
mov ecx, esi
push dword [ebp - 0x34]
mov dword [esi + 0x10], ebx
push eax
mov dword [esi + 0x14], ebx
call fcn.00405342
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], bl
jmp 0x4b0b9e
and dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov eax, esi
call fcn.004d6761
ret 0xc
Function at 0x4b0bb0
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x5152b7
call fcn.004d6783
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x4b0be7
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 0x4b0c3b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x10]
add eax, eax
cmp dword [ecx + 0x14], 8
jb 0x4b0bf7
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 0x4b0c1f
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x4b0bdb
push 1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004b0a36
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
call fcn.004d674c
ret 0xc

Function at 0x4b0c43
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 0x4b0c59
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 0x4b1c53
Capabilities:
Parse credit card information

Disassembly:
push 0x4c
mov eax, 0x51568e
call fcn.004d67b7
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 0x4b1dd1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x3c
jne 0x4b1dd1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x3e
jne 0x4b1dd1
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.0041cbfd
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 0x4b1dc1
xor esi, esi
test edx, edx
je 0x4b1dc3
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 0x4b1d80
je 0x4b1db6
sub eax, 0x23
je 0x4b1d5f
dec eax
sub eax, 1
je 0x4b1d5f
sub eax, 1
jmp 0x4b1d92
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
movzx eax, word [eax + esi*2]
push eax
call fcn.004ded0f
pop ecx
test eax, eax
je 0x4b1dc1
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x4b1db3
cmp eax, 0x3f
jb 0x4b1d94
cmp eax, 0x40
jbe 0x4b1db6
cmp eax, 0x5e
je 0x4b1db6
cmp eax, 0x60
je 0x4b1db6
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 0x4b1dc1
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, edx
jb 0x4b1d3a
jmp 0x4b1dc3
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040569b
jmp 0x4b1dd3
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, bl
call fcn.004d6761
ret
Function at 0x4b4779
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x515f2a
call fcn.004d67b7
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.00465b90
mov dword [ebp - 4], 1
jmp 0x4b480f
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00468590
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4b47d1
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 0x4b483d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00468d70
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 0x4b47b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [edi + 0x14], 8
jb 0x4b4829
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
setne al
call fcn.004d6761
ret 4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, 1
jmp 0x4b4835
Function at 0x4b7801
Capabilities:
Reference sql statements

Disassembly:
push 0x58
mov eax, 0x516b1a
call fcn.004d67b7
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.0045317a
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.004a79b0
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.004d9b2a
pop ecx
pop ecx
test eax, eax
jne 0x4b7890
mov eax, ebx
jmp 0x4b7899
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.004bb1c9
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x4b78dd
push str.InstallPrereq
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b78dd
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.004baea5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004d6761
ret 4
Function at 0x4ba305
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x5175db
call fcn.004d67b7
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 0x4ba3ba
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.00465b90
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.0043048f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
call fcn.0040569b
mov eax, esi
call fcn.004d6761
ret 4
call fcn.004d6401
int3

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

Disassembly:
push 0x78
mov eax, 0x517b9b
call fcn.004d67b7
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.00465b90
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00466310
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4bb9be
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 0x4bb9e3
test ecx, 0x20000
jne 0x4bba2c
cmp esi, 2
jne 0x4bb9f0
test ecx, 0x10000
jne 0x4bba2c
cmp esi, 4
jne 0x4bb9fd
test ecx, 0x40000
jne 0x4bba2c
cmp esi, 5
jne 0x4bba0a
test ecx, 0x80000
jne 0x4bba2c
cmp esi, 6
jne 0x4bba17
test ecx, 0x100000
jne 0x4bba2c
cmp esi, 2
jne 0x4bbad1
test ecx, 0x200000
je 0x4bbad1
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.00466310
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4bba52
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.004ab5b9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov eax, dword [edi + 4]
push ecx
cmp dword [edi + 8], eax
je 0x4bbabd
mov ecx, eax
call fcn.0044d257
add dword [edi + 4], 0x30
jmp 0x4bbac5
push eax
mov ecx, edi
call fcn.004bcd2e
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.004d6761
ret 0x18
Function at 0x4ca8fa
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 0x4caa57
push 0x29
mov eax, ecx
pop ebp
mov ebx, 0x10000000
cmp eax, 0x7c
je 0x4caa57
cmp eax, ebp
jne 0x4ca93d
cmp dword [esi + 0x10], 0
mov eax, ebp
jne 0x4caa57
cmp eax, ebp
jne 0x4ca93d
test dword [esi + 0x50], ebx
je 0x4caa65
cmp eax, 0x2e
jne 0x4ca958
push 5
lea ecx, [esi + 0x24]
call fcn.004cab60
mov ecx, esi
call fcn.004ca8cf
jmp 0x4caa40
cmp eax, 0x5c
jne 0x4ca9ad
mov ecx, esi
call fcn.004ca8cf
test byte [esi + 0x50], 0x80
je 0x4ca9a1
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4ca989
push 4
lea ecx, [esi + 0x24]
call fcn.004cab60
mov ecx, esi
call fcn.004ca8cf
jmp 0x4caa47
cmp eax, 0x42
jne 0x4ca9a1
push 4
lea ecx, [esi + 0x24]
call fcn.004cab60
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4ca97d
mov ecx, esi
call fcn.004cb8ac
jmp 0x4caa40
cmp eax, 0x5b
jne 0x4ca9cd
mov ecx, esi
call fcn.004ca8cf
mov ecx, esi
call fcn.004cb860
cmp dword [esi + 0x4c], 0x5d
je 0x4ca94c
push 4
jmp 0x4caa67
cmp eax, 0x28
jne 0x4ca9e9
mov ecx, esi
call fcn.004ca8cf
mov ecx, esi
call fcn.004cb958
mov bl, al
cmp dword [esi + 0x4c], ebp
jne 0x4caa65
jmp 0x4caa35
cmp eax, 0x5e
jne 0x4ca9f2
push 2
jmp 0x4ca975
cmp eax, 0x24
jne 0x4ca9fe
push 3
jmp 0x4ca975
cmp eax, 0x2a
je 0x4caa61
cmp eax, 0x2b
je 0x4caa61
cmp eax, 0x3f
je 0x4caa61
cmp eax, 0x7b
je 0x4caa61
cmp ecx, 0x7d
jne 0x4caa1c
test dword [esi + 0x50], ebx
je 0x4caa5d
cmp ecx, 0x5d
jne 0x4caa26
test dword [esi + 0x50], ebx
je 0x4ca9c6
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004cbb10
mov bl, 1
mov ecx, esi
call fcn.004ca8cf
test bl, bl
je 0x4caa47
mov ecx, esi
call fcn.004cba47
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x4ca912
pop esi
pop ebp
mov al, dl
pop ebx
ret
push 6
jmp 0x4caa67
push 0xa
jmp 0x4caa67
push 5
call fcn.004c98c6
int3
Function at 0x4ce849
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x51c38c
call fcn.004d67b7
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 0x4ce9fb
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.00465b90
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.0043048f
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.00468590
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4ce936
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.004694b0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00468590
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4ce98a
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 0x4ce9d2
movzx eax, word [edi + edx*2]
cmp eax, 0x2e
je 0x4ce9cc
imul esi, esi, 0xa
add esi, 0xffffffd0
add esi, eax
inc edx
cmp edx, 3
jb 0x4ce9b3
imul esi, esi, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00468f40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040569b
mov eax, esi
call fcn.004d6761
ret
call fcn.004d6401
int3
Function at 0x4cfc6d
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x51c83f
call fcn.004d6783
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 0x4cfd10
dec eax
mov ecx, esi
push eax
call fcn.0046ec10
cmp ax, di
jne 0x4cfd10
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406d8a
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 0x4cfcff
cmp dword [edi + 0xc], 0
jl 0x4cfcf3
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cfcf3
call fcn.004070e8
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4cfcff
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 0x4cfd4d
mov edx, dword [esi]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4cfd4d
cmp dword [edi + 0xc], 0
jl 0x4cfd41
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cfd41
call fcn.004070e8
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4cfd4d
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 0x4cfdac
push 0x5c
push ecx
call fcn.004d9e77
pop ecx
pop ecx
test eax, eax
jne 0x4cfd6d
or eax, 0xffffffff
jmp 0x4cfd71
sub eax, dword [ebx]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00406d8a
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4cfd9d
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004cfc6d
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.004d674c
ret
Function at 0x4cfdc1
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x51c882
call fcn.004d6783
mov ebx, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4cfe91
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.004d9e77
pop ecx
pop ecx
test eax, eax
je 0x4cfe72
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4cfe72
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00406d8a
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 0x4cfe61
cmp dword [edi + 0xc], 0
jl 0x4cfe52
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cfe52
call fcn.004070e8
mov ecx, edi
mov esi, eax
call fcn.0040d635
add esi, 0x10
mov dword [ebp - 0x10], esi
jmp 0x4cfe61
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 0x4cfe75
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4cfe85
mov edx, ebx
lea ecx, [ebp - 0x10]
call fcn.004cfc6d
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040d635
call fcn.004d674c
ret
Function at 0x4d04cb
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x51ca1c
call fcn.004d67b7
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.004d018b
add esp, 0x14
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x4d0540
mov eax, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x4d0661
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.00465b90
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00468d70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.00468520
mov edi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00468520
mov byte [ebp - 4], 5
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x4d05b5
mov edx, dword [edi]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4d05bf
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
cmp eax, dword [edi + 0x10]
jne 0x4d05d6
push eax
push edx
push ecx
call fcn.0040530d
add esp, 0xc
test eax, eax
je 0x4d05da
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 0x4d0649
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00468590
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4d0610
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 0x4d0649
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00468590
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.004d6761
ret
Function at 0x4d0d05
Capabilities:
Check os version

Disassembly:
push pe_nt_image_headers32
mov eax, 0x51cb1b
call fcn.004d67b7
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.0042e490
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
push 0x58
push 0
push edi
call fcn.004d99d0
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.004d99d0
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d0d9b
cmp dword [ebp - 0x120], 5
jae 0x4d0da1
cmp dword [ebp - 0x120], 4
jne 0x4d0d9b
cmp dword [ebp - 0x11c], 0x5a
jae 0x4d0da1
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], 0x5411c8
mov ecx, dword [0x575298]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x64], 0x42dd71
mov dword [esi + 0x24], ecx
call fcn.004d6761
ret 0x18