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

Disassembly:
push 0x18
mov eax, 0x51b33b
call fcn.004db767
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push 0xc
push 0
push eax
call fcn.004de980
add esp, 0xc
lea eax, [ebp - 0x24]
push 0
push eax
push 0xa
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a93c0
cmp dword [ebp - 0x24], 0xa
jne 0x4a93c0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d92c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push str._aiu_
call fcn.00407037
mov ebx, eax
lea ecx, [ebp - 0x20]
neg ebx
sbb bl, bl
inc bl
call fcn.0040d148
mov al, bl
jmp 0x4a93c2
xor al, al
call fcn.004db711
ret 8

Function at 0x4a93ca
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x51b368
call fcn.004db767
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 6
push 0
push eax
call fcn.004de980
add esp, 0xc
lea eax, [ebp - 0x20]
push 0
push eax
push 5
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a9437
cmp dword [ebp - 0x20], 5
jne 0x4a9437
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00489087
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push str._aiu_
call fcn.00407037
mov ebx, eax
lea ecx, [ebp - 0x1c]
neg ebx
sbb bl, bl
inc bl
call fcn.0040d148
mov al, bl
jmp 0x4a9439
xor al, al
call fcn.004db711
ret 8

Function at 0x4a9740
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x51810e
call fcn.004db733
mov ebx, ecx
mov edx, dword [0x57e2d8]
lea edi, [ebx + 4]
push ecx
mov ecx, dword [edi]
call fcn.00475b90
mov ecx, edi
call fcn.0042ded0
mov eax, dword [ebx + 0x28]
push dword [eax]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.0040ce82
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0xdc
call fcn.0040d59d
push 0x40a
push dword [edi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [edi]
lea ecx, [ebx + 0x40]
call fcn.004ab8e9
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0x14]
push eax
xor eax, eax
push eax
push ebx
push 0x4a97e3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x30], eax
call fcn.0040d148
xor eax, eax
call fcn.004db6fc
ret 0x10

Function at 0x4aa1a0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0x1c], 0
je 0x4aa1d9
push 0xe801
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0xc], 2
jne 0x4aa1c9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4aa1e0
cmp dword [esp + 0xc], 0
jne 0x4aa1d9
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 1
je 0x4aa1f6
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
mov ecx, edi
push eax
call fcn.004aa1fc
xor eax, eax
pop edi
ret 0x10
Function at 0x4aac14
Capabilities:
Query service status
Start service

Disassembly:
sub esp, 0x20
mov eax, dword [0x57c080]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push edi
push 1
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4aac3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4aac9e
push ebx
push esi
push 0x14
push 0x5451e8
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
push edi
call ebx
test esi, esi
je 0x4aac8f
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4aac8c
cmp dword [esp + 0x14], 4
je 0x4aac97
push ebp
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4aac97
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4aac9c
push esi
call ebx
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
pop edi
pop ebp
xor ecx, esp
call fcn.004dab24
add esp, 0x20
ret

Function at 0x4ab63a
Capabilities:
Shutdown system

Disassembly:
push 0x1c
mov eax, 0x51b69e
call fcn.004db767
and dword [ebp - 0x24], 0
mov esi, 0x533e68
mov dword [ebp - 0x28], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4ab6b9
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
xor ecx, ecx
mov dword [ebp - 0x14], 2
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push ecx
push dword [ebp - 0x24]
inc ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4ab6b9
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4ab6bb
xor bl, bl
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esi
je 0x4ab6d5
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x24], 0
mov al, bl
call fcn.004db711
ret

Function at 0x4abb02
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
push 2
pop ecx
mov edx, dword [eax]
xor eax, eax
cmp byte [edi + 0x24], al
cmovne eax, ecx
push eax
push 0
push edi
push 0x4abb6c
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x4abb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x1e], 0
mov esi, eax
je 0x4abb4a
push ecx
push esi
push ecx
mov ecx, edi
call fcn.004abc6d
mov eax, esi
jmp 0x4abb67
cmp byte [edi + 0x1c], 0
je 0x4abb65
cmp byte [edi + 0x1d], 0
je 0x4abb65
push ecx
push dword [edi + 0x20]
mov ecx, edi
call fcn.004abc4c
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x4acc5a
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x51ba7b
call fcn.004db733
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 0x20], 0x533e68
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4acc87
mov eax, dword [eax]
push ecx
push 0x80
push 2
push ecx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e086
push ebx
push esi
call dword [sym.imp.msi.dll_MsiRecordGetStringW]
push ecx
push 0xc800
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], eax
xor edi, edi
call fcn.004779f0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xc800
push eax
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiRecordSetStringA]
test eax, eax
jne 0x4acd00
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jne 0x4accc9
cmp dword [ebp + 8], edi
sete bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00477a90
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x533e68
test esi, esi
je 0x4acd2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
mov al, bl
call fcn.004db6fc
ret

Function at 0x4b59da
Capabilities:
Create pipe

Disassembly:
push 0x24
mov eax, 0x51d7ee
call fcn.004db767
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp byte [esi + 0x1c], bl
je 0x4b59f9
mov al, 1
jmp 0x4b5a88
mov al, byte [ebp + 8]
push ecx
lea ecx, [esi + 0x20]
mov byte [esi + 0x1d], al
call fcn.00405726
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004b5eba
mov dword [ebp - 4], ebx
mov al, byte [esi + 0x1d]
test al, al
je 0x4b5a4f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
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
mov al, byte [esi + 0x1d]
test al, al
jne 0x4b5a74
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
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 0x4b5a7a
mov byte [esi + 0x1c], 1
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004db711
ret 8
Function at 0x4b5c3c
Capabilities:
Connect pipe
Read file on windows
Read pipe

Disassembly:
push 0x38
mov eax, 0x51d8f9
call fcn.004db767
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 0x4b5c87
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4b5c74
xor eax, eax
inc eax
jmp 0x4b5c84
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 0x4b5cc4
test bl, bl
jne 0x4b5cc4
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 0x4b5da4
xor ebx, ebx
mov dword [ebp - 0x3c], edx
add edi, 0x3c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4b5cd6
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 0x4b5d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4b5d8a
mov ecx, dword [ebp - 0x40]
mov eax, edi
add ebx, ecx
cmp dword [edi + 0x14], 8
jb 0x4b5d10
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 0x4b5d28
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
push eax
call fcn.004e0c26
pop ecx
push eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00412210
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 0x4b5ccc
cmp dword [ebp - 0x34], 0
je 0x4b5d8a
test ebx, ebx
je 0x4b5d8a
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 0x4b5da4
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.004db711
ret 0xc
Function at 0x4b5db6
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x51d937
call fcn.004db733
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0xc], 0xffffffff
mov dword [ebp - 0x10], ebx
jne 0x4b5ded
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 0x4b5e41
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x10]
add eax, eax
cmp dword [ecx + 0x14], 8
jb 0x4b5dfd
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 0x4b5e25
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
mov word [eax], cx
jmp 0x4b5de1
push 1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004b5c3c
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
call fcn.004db6fc
ret 0xc

Function at 0x4b5e49
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 0x4b5e5f
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 0x4b6e59
Capabilities:
Parse credit card information

Disassembly:
push 0x4c
mov eax, 0x51dd0e
call fcn.004db767
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 0x4b6fd7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax], 0x3c
jne 0x4b6fd7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x3e
jne 0x4b6fd7
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 0x4b6fc7
xor esi, esi
test edx, edx
je 0x4b6fc9
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 0x4b6f86
je 0x4b6fbc
sub eax, 0x23
je 0x4b6f65
dec eax
sub eax, 1
je 0x4b6f65
sub eax, 1
jmp 0x4b6f98
cmp edi, 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
movzx eax, word [eax + esi*2]
push eax
call fcn.004e3cbf
pop ecx
test eax, eax
je 0x4b6fc7
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x4b6fb9
cmp eax, 0x3f
jb 0x4b6f9a
cmp eax, 0x40
jbe 0x4b6fbc
cmp eax, 0x5e
je 0x4b6fbc
cmp eax, 0x60
je 0x4b6fbc
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 0x4b6fc7
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, edx
jb 0x4b6f40
jmp 0x4b6fc9
xor bl, bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040569b
jmp 0x4b6fd9
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, bl
call fcn.004db711
ret
Function at 0x4b997f
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x51e5aa
call fcn.004db767
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.0046aae0
mov dword [ebp - 4], 1
jmp 0x4b9a15
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046d480
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4b99d7
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 0x4b9a43
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 0x4b99bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
cmp dword [edi + 0x14], 8
jb 0x4b9a2f
mov edi, dword [edi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
setne al
call fcn.004db711
ret 4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040569b
mov al, 1
jmp 0x4b9a3b
Function at 0x4bca07
Capabilities:
Reference sql statements

Disassembly:
push 0x58
mov eax, 0x51f19a
call fcn.004db767
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.00453160
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.004acbb4
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.004deada
pop ecx
pop ecx
test eax, eax
jne 0x4bca96
mov eax, ebx
jmp 0x4bca9f
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.004c0384
pop ecx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x4bcae3
push str.InstallPrereq
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4bcae3
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.004c0061
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040569b
mov al, bl
call fcn.004db711
ret 4
Function at 0x4bf4c1
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x51fc53
call fcn.004db767
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 0x4bf576
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.0046aae0
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.00430487
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
call fcn.0040569b
mov eax, esi
call fcn.004db711
ret 4
call fcn.004db3ad
int3

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

Disassembly:
push 0x78
mov eax, 0x520213
call fcn.004db767
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.0046aae0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0046b340
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4c0b79
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 0x4c0b9e
test ecx, 0x20000
jne 0x4c0be7
cmp esi, 2
jne 0x4c0bab
test ecx, 0x10000
jne 0x4c0be7
cmp esi, 4
jne 0x4c0bb8
test ecx, 0x40000
jne 0x4c0be7
cmp esi, 5
jne 0x4c0bc5
test ecx, 0x80000
jne 0x4c0be7
cmp esi, 6
jne 0x4c0bd2
test ecx, 0x100000
jne 0x4c0be7
cmp esi, 2
jne 0x4c0c8c
test ecx, 0x200000
je 0x4c0c8c
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.0046b340
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4c0c0d
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.004b07bd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov eax, dword [edi + 4]
push ecx
cmp dword [edi + 8], eax
je 0x4c0c78
mov ecx, eax
call fcn.0044d249
add dword [edi + 4], 0x30
jmp 0x4c0c80
push eax
mov ecx, edi
call fcn.004c1ee9
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.004db711
ret 0x18
Function at 0x4cfa67
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 0x4cfbc4
push 0x29
mov eax, ecx
pop ebp
mov ebx, 0x10000000
cmp eax, 0x7c
je 0x4cfbc4
cmp eax, ebp
jne 0x4cfaaa
cmp dword [esi + 0x10], 0
mov eax, ebp
jne 0x4cfbc4
cmp eax, ebp
jne 0x4cfaaa
test dword [esi + 0x50], ebx
je 0x4cfbd2
cmp eax, 0x2e
jne 0x4cfac5
push 5
lea ecx, [esi + 0x24]
call fcn.004cfccd
mov ecx, esi
call fcn.004cfa3c
jmp 0x4cfbad
cmp eax, 0x5c
jne 0x4cfb1a
mov ecx, esi
call fcn.004cfa3c
test byte [esi + 0x50], 0x80
je 0x4cfb0e
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4cfaf6
push 4
lea ecx, [esi + 0x24]
call fcn.004cfccd
mov ecx, esi
call fcn.004cfa3c
jmp 0x4cfbb4
cmp eax, 0x42
jne 0x4cfb0e
push 4
lea ecx, [esi + 0x24]
call fcn.004cfccd
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4cfaea
mov ecx, esi
call fcn.004d0a19
jmp 0x4cfbad
cmp eax, 0x5b
jne 0x4cfb3a
mov ecx, esi
call fcn.004cfa3c
mov ecx, esi
call fcn.004d09cd
cmp dword [esi + 0x4c], 0x5d
je 0x4cfab9
push 4
jmp 0x4cfbd4
cmp eax, 0x28
jne 0x4cfb56
mov ecx, esi
call fcn.004cfa3c
mov ecx, esi
call fcn.004d0ac5
mov bl, al
cmp dword [esi + 0x4c], ebp
jne 0x4cfbd2
jmp 0x4cfba2
cmp eax, 0x5e
jne 0x4cfb5f
push 2
jmp 0x4cfae2
cmp eax, 0x24
jne 0x4cfb6b
push 3
jmp 0x4cfae2
cmp eax, 0x2a
je 0x4cfbce
cmp eax, 0x2b
je 0x4cfbce
cmp eax, 0x3f
je 0x4cfbce
cmp eax, 0x7b
je 0x4cfbce
cmp ecx, 0x7d
jne 0x4cfb89
test dword [esi + 0x50], ebx
je 0x4cfbca
cmp ecx, 0x5d
jne 0x4cfb93
test dword [esi + 0x50], ebx
je 0x4cfb33
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004d0c7d
mov bl, 1
mov ecx, esi
call fcn.004cfa3c
test bl, bl
je 0x4cfbb4
mov ecx, esi
call fcn.004d0bb4
mov ecx, dword [esi + 0x4c]
mov dl, 1
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x4cfa7f
pop esi
pop ebp
mov al, dl
pop ebx
ret
push 6
jmp 0x4cfbd4
push 0xa
jmp 0x4cfbd4
push 5
call fcn.004cea33
int3