joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abf26
Capabilities:
Create pipe

Disassembly:
push 0x1c
mov eax, 0x4f7ad8
call fcn.004d2c4d
mov esi, ecx
cmp byte [esi + 0x1c], 0
mov ecx, dword [ebp + 0xc]
je 0x4abf44
mov al, 1
jmp 0x4abfd5
mov al, byte [ebp + 8]
push ecx
lea ecx, [esi + 0x20]
mov byte [esi + 0x1d], al
call fcn.0040423c
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004ac461
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x1d], bl
je 0x4abf98
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x400
push 0x1388
push ecx
push ecx
push 0xff
push 6
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x38], eax
cmp byte [esi + 0x1d], bl
jne 0x4abfbd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x38], eax
cmp eax, 0xffffffff
je 0x4abfc3
mov byte [esi + 0x1c], 1
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00404a9e
mov al, bl
call fcn.004d2bf7
ret 8
Function at 0x4ac1b3
Capabilities:
Connect pipe
Read file on windows
Read pipe

Disassembly:
push 0x38
mov eax, 0x50d78a
call fcn.004d2c4d
mov edi, ecx
mov bl, byte [ebp + 0x10]
xor edx, edx
mov esi, dword [ebp + 8]
mov eax, edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
test bl, bl
jne 0x4ac201
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4ac1ec
xor eax, eax
inc eax
jmp 0x4ac1fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x217
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
xor edx, edx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
inc edx
mov dword [ebp - 4], edx
test eax, eax
jne 0x4ac23f
test bl, bl
jne 0x4ac23f
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ecx
mov word [esi], ax
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], cl
push ecx
push edx
jmp 0x4ac31f
xor ebx, ebx
mov dword [ebp - 0x34], edx
add edi, 0x3c
cmp dword [edi + 0x14], 8
jb 0x4ac251
mov eax, dword [edi]
jmp 0x4ac253
mov eax, edi
push 0
lea edx, [ebp - 0x3c]
push edx
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4ac27e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4ac305
mov ecx, dword [ebp - 0x3c]
add ebx, ecx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x38], ebx
jb 0x4ac290
mov eax, dword [edi]
jmp 0x4ac292
mov eax, edi
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
cmp dword [edi + 0x14], 8
jb 0x4ac2a4
mov ebx, dword [edi]
jmp 0x4ac2a6
mov ebx, edi
xor eax, eax
cmp word [ebx], ax
je 0x4ac2b4
push ebx
call fcn.004d828d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040d083
lea eax, [ebp - 0x34]
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 - 0x34], 0
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
ja 0x4ac247
cmp dword [ebp - 0x40], 0
je 0x4ac305
test ebx, ebx
je 0x4ac305
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040f394
xor ecx, ecx
inc ecx
xor eax, eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], al
push eax
push ecx
jmp 0x4ac31f
xor ecx, ecx
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], ecx
mov word [esi], ax
inc eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], cl
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404a9e
mov eax, esi
call fcn.004d2bf7
ret 0xc
Function at 0x4ac331
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x50d7c8
call fcn.004d2c19
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x4ac368
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov word [eax], cx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
jmp 0x4ac3bc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x10]
add eax, eax
cmp dword [ecx + 0x14], 8
jb 0x4ac378
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 0x4ac3a0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
mov word [eax], cx
jmp 0x4ac35c
push 1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004ac1b3
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
call fcn.004d2be2
ret 0xc

Function at 0x4ac3c4
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 0x4ac3da
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 0x4af30f
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x50e0ec
call fcn.004d2c4d
mov edi, dword [ebp + 8]
sub esp, 0x18
add edi, 4
mov dword [ebp - 0x5c], esp
mov ecx, esp
push edi
call fcn.00409d95
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00462fb0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
jmp 0x4af3a0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004648e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4af35f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], bl
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.00404a9e
test esi, esi
jne 0x4af3d2
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00464d30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
call fcn.00464f40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
push esi
push ebx
call fcn.00404a9e
cmp dword [ebp - 0x18], 0
jne 0x4af347
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.00404a9e
cmp dword [edi + 0x14], 8
jb 0x4af3bd
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
neg eax
sbb eax, eax
neg eax
call fcn.004d2bf7
ret 4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push ebx
call fcn.00404a9e
mov al, bl
jmp 0x4af3ca
Function at 0x4b1ae3
Capabilities:
Parse credit card information

Disassembly:
push 0x64
mov eax, 0x50e841
call fcn.004d2c4d
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov edi, str.PIDTemplate
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.004d828d
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004087d4
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x40]
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 - 0x40]
push ebx
push 1
call fcn.00404a9e
mov ecx, dword [ebp - 0x18]
cmp ecx, 3
jb 0x4b1caf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x3c
jne 0x4b1caf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x3e
jne 0x4b1caf
lea eax, [ecx - 2]
push eax
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004170c2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c794
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00404a9e
xor eax, eax
mov dword [ebp - 0x30], ebx
mov edi, str.PIDKEY
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.004d828d
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004087d4
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
mov ecx, dword [esi + 4]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00404a9e
mov ebx, dword [ebp - 0x48]
cmp ebx, dword [ebp - 0x18]
jne 0x4b1c9d
xor esi, esi
test ebx, ebx
je 0x4b1c99
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
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
jg 0x4b1c5b
je 0x4b1c90
sub eax, 0x23
je 0x4b1c38
dec eax
sub eax, 1
je 0x4b1c38
sub eax, 1
jmp 0x4b1c6d
cmp edx, 8
lea eax, [ebp - 0x58]
cmovae eax, edi
movzx eax, word [eax + esi*2]
push eax
call fcn.004dc232
pop ecx
test eax, eax
je 0x4b1c9d
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x58]
jmp 0x4b1c8d
cmp eax, 0x3f
jl 0x4b1c6f
cmp eax, 0x40
jle 0x4b1c90
cmp eax, 0x5e
je 0x4b1c90
cmp eax, 0x60
je 0x4b1c90
cmp edx, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
cmovae eax, edi
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
mov ax, word [eax + esi*2]
cmp ax, word [ecx + esi*2]
jne 0x4b1c9d
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, ebx
jb 0x4b1c13
mov bl, 1
jmp 0x4b1c9f
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.00404a9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00404a9e
mov al, bl
call fcn.004d2bf7
ret
Function at 0x4b3807
Capabilities:
Reference sql statements

Disassembly:
push 0x68
mov eax, 0x50ef58
call fcn.004d2c4d
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, str.prereq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
call fcn.004d828d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004087d4
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.0044eb87
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ebx
push 1
call fcn.00404a9e
mov dword [ebp - 0x34], ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov ebx, str.SELECT__Data__FROM__Binary__WHERE__Name___Prereq.dll
push ebx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004d828d
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.004087d4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
lea edx, [ebp - 0x44]
mov ecx, eax
call fcn.004a52b0
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.00404a9e
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
call fcn.00413338
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x68]
push dword [ebp - 0x60]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x64], eax
call fcn.004b73a8
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x60], 0
je 0x4b390e
push str.InstallPrereq
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b390e
push esi
call eax
mov dword [edi], eax
mov bl, 1
jmp 0x4b3910
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.004b70ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
push 0
push 1
call fcn.00404a9e
mov al, bl
call fcn.004d2bf7
ret 4
Function at 0x4b6360
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x220
lea ebp, [esp - 4]
mov eax, dword [0x5651c0]
xor eax, ebp
mov dword [ebp + 0x220], eax
push 0xc
mov eax, 0x50f78c
call fcn.004d2c19
and dword [ebp - 4], 0
lea eax, [ebp + 0x18]
mov esi, dword [ebp + 0x22c]
and dword [ebp - 0x10], 0
push 0x104
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add eax, eax
cmp eax, 0x208
jae 0x4b6454
sub esp, 0x18
xor ecx, ecx
mov word [ebp + eax + 0x18], cx
mov ecx, esp
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], esp
push eax
call fcn.00408867
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00462fb0
xor eax, eax
mov dword [ebp - 4], eax
mov edi, str.msiexec.exe
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x14], 7
mov dword [ebp + 0x10], eax
mov word [ebp], ax
call fcn.004d828d
pop ecx
push eax
push edi
lea ecx, [ebp]
call fcn.004087d4
mov dword [ebp - 4], 2
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0042384b
mov byte [ebp - 4], 0
lea ecx, [ebp]
push 0
push ebx
call fcn.00404a9e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x220]
xor ecx, ebp
call fcn.004d207d
lea esp, [ebp + 0x224]
pop ebp
ret 4
call fcn.004d289c
int3
Function at 0x4b7b28
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x80
mov eax, 0x50fcb2
call fcn.004d2c4d
mov esi, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x8c], eax
push esi
call fcn.00408867
xor edi, edi
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00462fb0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.004633d0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4b7b81
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00404a9e
mov eax, dword [ebp + 0xc]
cmp ebx, 3
jne 0x4b7bab
test eax, 0x20000
jne 0x4b7bef
cmp ebx, 2
jne 0x4b7bb7
test eax, 0x10000
jne 0x4b7bef
cmp ebx, 4
jne 0x4b7bc3
test eax, 0x40000
jne 0x4b7bef
cmp ebx, 5
jne 0x4b7bcf
test eax, 0x80000
jne 0x4b7bef
cmp ebx, 6
jne 0x4b7bdb
test eax, 0x100000
jne 0x4b7bef
cmp ebx, 2
jne 0x4b7cb7
test eax, 0x200000
je 0x4b7cb7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], edi
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.004633d0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4b7c16
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00404a9e
push esi
lea ecx, [ebp - 0x28]
call fcn.00408867
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409d95
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00404a9e
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x58]
push eax
call fcn.004b8dfd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push edi
push 1
call fcn.00404a9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
push edi
push 1
call fcn.00404a9e
call fcn.004d2bf7
ret 0x18
Function at 0x4bc900
Capabilities:
Get common file path

Disassembly:
push 0x254
mov eax, 0x510b85
call fcn.004d2c4d
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 0x4bcada
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.00408867
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00462fb0
mov dword [ebp - 4], 1
xor eax, eax
mov esi, str.msi.dll
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
push esi
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
call fcn.004d828d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.004087d4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042384b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a9e
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x250], ebx
call fcn.004648e0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4bca10
mov eax, dword [eax]
mov esi, dword [sym.imp.msi.dll_MsiMessageBoxW]
lea ecx, [ebp - 0x250]
push ebx
push ebx
push ecx
push ebx
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a9e
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x25c]
inc eax
push eax
call fcn.00464af0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004648e0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4bca66
mov eax, dword [eax]
mov edi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x250]
push ebx
push ebx
push ecx
push edi
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.00404a9e
mov eax, ebx
mov edx, ebx
cmp edx, dword [ebp - 0x250]
jae 0x4bcaae
movzx esi, word [edi + edx*2]
cmp esi, 0x2e
je 0x4bcaa8
imul ecx, eax, 0xa
lea eax, [esi - 0x30]
add eax, ecx
inc edx
cmp edx, 3
jb 0x4bca8f
imul esi, eax, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00465130
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
push ebx
push 1
call fcn.00404a9e
mov eax, esi
call fcn.004d2bf7
ret
call fcn.004d289c
int3
Function at 0x4c4f0e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4c5071
mov ebp, 0x10000000
cmp eax, 0x7c
je 0x4c5071
cmp eax, 0x29
jne 0x4c4f49
cmp dword [esi + 0x10], 0
jne 0x4c5071
test dword [esi + 0x50], ebp
je 0x4c507f
cmp eax, 0x2e
jne 0x4c4f64
push 5
lea ecx, [esi + 0x24]
call fcn.004c517c
mov ecx, esi
call fcn.004c4ee9
jmp 0x4c505a
cmp eax, 0x5c
jne 0x4c4fc1
mov ecx, esi
call fcn.004c4ee9
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4c4f97
cmp word [esi + 0x48], 0x62
jne 0x4c4f97
push 4
lea ecx, [esi + 0x24]
call fcn.004c517c
mov ecx, esi
call fcn.004c4ee9
jmp 0x4c5061
test eax, eax
je 0x4c4fb5
cmp word [esi + 0x48], 0x42
jne 0x4c4fb5
push 4
lea ecx, [esi + 0x24]
call fcn.004c517c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4c4f8b
mov ecx, esi
call fcn.004c5a99
jmp 0x4c505a
cmp eax, 0x5b
jne 0x4c4fe5
mov ecx, esi
call fcn.004c4ee9
mov ecx, esi
call fcn.004c5a4d
cmp dword [esi + 0x4c], 0x5d
je 0x4c4f58
push 4
jmp 0x4c5081
cmp eax, 0x28
jne 0x4c5002
mov ecx, esi
call fcn.004c4ee9
mov ecx, esi
call fcn.004c5b47
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x4c504f
jmp 0x4c507f
cmp eax, 0x5e
jne 0x4c500e
push 2
jmp 0x4c4f83
cmp eax, 0x24
jne 0x4c501a
push 3
jmp 0x4c4f83
cmp eax, 0x2a
je 0x4c507b
cmp eax, 0x2b
je 0x4c507b
cmp eax, 0x3f
je 0x4c507b
cmp eax, 0x7b
je 0x4c507b
cmp eax, 0x7d
jne 0x4c5038
test dword [esi + 0x50], ebp
je 0x4c5077
cmp eax, 0x5d
jne 0x4c5042
test dword [esi + 0x50], ebp
je 0x4c4fde
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004c5ce6
mov ecx, esi
call fcn.004c4ee9
test bl, bl
je 0x4c5061
mov ecx, esi
call fcn.004c5c23
mov eax, dword [esi + 0x4c]
mov cl, 1
mov bl, cl
cmp eax, 0xffffffff
jne 0x4c4f28
pop esi
pop ebp
mov al, cl
pop ebx
ret
push 6
jmp 0x4c5081
push 0xa
jmp 0x4c5081
push 5
call fcn.004cc9ee
int3
Function at 0x4c9540
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x51401d
call fcn.004d2c19
mov edi, edx
mov esi, ecx
call fcn.00406d01
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b29
mov dword [ebp - 4], 1
mov eax, dword [edi]
push 0x5c
pop ebx
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4c95af
dec eax
mov ecx, edi
push eax
call fcn.0046ddb0
cmp ax, bx
jne 0x4c95af
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00444ed9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.004434b9
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406df6
jmp 0x4c95b8
push edi
lea ecx, [ebp - 0x10]
call fcn.004434b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, dword [ecx - 0xc]
jge 0x4c9616
push ebx
push ecx
call fcn.004d5852
pop ecx
pop ecx
test eax, eax
jne 0x4c95d7
or eax, 0xffffffff
jmp 0x4c95db
sub eax, dword [esi]
sar eax, 1
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00444ed9
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4c9607
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004c9540
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00406df6
call fcn.004d2be2
ret

Function at 0x4c962b
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x514060
call fcn.004d2c19
mov edi, edx
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4c96be
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00406d01
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b29
mov dword [ebp - 4], 1
push 0x5c
push dword [esi]
call fcn.004d5852
pop ecx
pop ecx
test eax, eax
je 0x4c969f
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x4c969f
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00444ed9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push eax
call fcn.004434b9
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406df6
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4c96b2
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.004c9540
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406df6
call fcn.004d2be2
ret
Function at 0x4c9cbf
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x51425b
call fcn.004d2c4d
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.00409d95
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.004c9948
add esp, 0x14
cmp dword [edi + 0x14], 8
jb 0x4c9d2f
mov eax, dword [edi]
jmp 0x4c9d31
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c9e43
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
push edi
call fcn.00409d95
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00462fb0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00464d30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x58]
call fcn.00464870
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00464870
mov edx, esi
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.0040e0d6
xor esi, esi
mov byte [ebp - 4], 4
push 0
inc esi
lea ecx, [ebp - 0x70]
push esi
mov bl, al
call fcn.00404a9e
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404a9e
test bl, bl
je 0x4c9e2b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004648e0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4c9de5
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 3
push 0
push esi
lea ecx, [ebp - 0x28]
setne bl
call fcn.00404a9e
test bl, bl
je 0x4c9e2b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004648e0
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.0040c794
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404a9e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00407e2f
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00407e2f
mov eax, edi
call fcn.004d2bf7
ret