joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48193f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x494484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00471854
mov dword [ebp - 0x14], eax
cmp dword [0xa8eb10], esi
jne 0x481a32
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4819bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x481b12
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x481b12
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x481b12
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa8eb10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa8eb14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa8eb18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8eb20], eax
test eax, eax
je 0x481a2f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa8eb1c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x481a57
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x481a4a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x481a6c
push 4
pop eax
jmp 0x481b14
cmp dword [ebp - 0x14], esi
je 0x481a6c
push dword [0xa8eb10]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x481a51
mov eax, dword [0xa8eb1c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x481aca
cmp dword [0xa8eb20], edi
je 0x481aca
push eax
call ebx
push dword [0xa8eb20]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x481aca
test eax, eax
je 0x481aca
call ecx
test eax, eax
je 0x481abf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x481abf
test byte [ebp - 8], 1
jne 0x481aca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x481afa
mov eax, dword [0xa8eb14]
cmp eax, edi
je 0x481af7
push eax
call ebx
test eax, eax
je 0x481af7
call eax
mov esi, eax
test esi, esi
je 0x481af7
mov eax, dword [0xa8eb18]
cmp eax, edi
je 0x481af7
push eax
call ebx
test eax, eax
je 0x481af7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa8eb10]
call ebx
test eax, eax
je 0x481b12
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x481b14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470cfb
mov esp, ebp
pop ebp
ret
Function at 0x404f6a
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x43b068]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, str.ZaloStubExecutable
xor esi, esi
push edi
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x405197
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], 7
mov word [esp + 0xa4], ax
call fcn.00404665
push eax
lea ecx, [esp + 0xa8]
call fcn.00405329
lea ecx, [esp + 0x8c]
call fcn.004046b1
push 0x435eb8
lea edx, [esp + 0x90]
lea ecx, [esp + 0xd8]
call fcn.004064db
pop ecx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call fcn.00405f87
push eax
lea ecx, [esp + 0xc0]
call fcn.00408464
lea ecx, [esp + 0xd4]
call fcn.00408497
push 0x44
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0040ec90
xor eax, eax
mov dword [esp + 0x34], 0x44
lea edi, [esp + 0x24]
mov dword [esp + 0x60], 1
stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
add esp, 0xc
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 7
stosd dword es:[edi], eax
push 0x435ebc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [esp + 0x78], ax
call fcn.00405329
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x78]
call fcn.00405f87
push 0x435ec0
lea ecx, [esp + 0x78]
call fcn.00405f60
push ebx
lea ecx, [esp + 0x78]
call fcn.00405f60
cmp dword [esp + 0x88], 8
lea eax, [esp + 0x74]
cmovae eax, dword [esp + 0x74]
push eax
call fcn.0041257d
cmp dword [esp + 0xa4], 8
mov edi, eax
pop ecx
lea ecx, [esp + 0x8c]
cmovae ecx, dword [esp + 0x8c]
push ecx
call fcn.0041257d
mov ebx, eax
mov dword [esp + 0x14], esi
pop ecx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea edx, [esp + 0x10]
mov ecx, eax
call fcn.00404ed1
test al, al
je 0x40510e
xor eax, eax
jmp 0x405112
mov ax, word [ebp + 0x14]
mov word [esp + 0x58], ax
call fcn.004085ff
call fcn.0040894d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push esi
push 1
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x405143
or esi, 0xffffffff
jmp 0x405166
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0x1388
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x74]
call fcn.00408497
lea ecx, [esp + 0xbc]
call fcn.00408497
lea ecx, [esp + 0x8c]
call fcn.00408497
lea ecx, [esp + 0xa4]
call fcn.00408497
mov eax, esi
jmp 0x40519a
or eax, 0xffffffff
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c9b0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408c4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x408c74
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409821
jmp 0x408d29
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x408c96
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x408c98
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x408d1d
jg 0x408cad
test esi, esi
je 0x408d1d
test ecx, ecx
jl 0x408cf6
jg 0x408cb7
test eax, eax
je 0x408cf6
cmp edi, ecx
jg 0x408ccb
jl 0x408cc1
cmp esi, eax
jae 0x408ccb
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.0040e190
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x408cf9
mov edx, dword [ebp + 8]
test edi, edi
jl 0x408d1d
jg 0x408d03
test esi, esi
je 0x408d1d
cmp dword [ebx + 0x4c], 0
je 0x408d1d
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.00413a40
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408d32
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x408d59
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004098e8
jmp 0x408e28
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x408d7b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x408d7d
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x408e1c
jg 0x408d9a
test esi, esi
je 0x408e1c
test ecx, ecx
jl 0x408de7
jg 0x408da4
test eax, eax
je 0x408de7
cmp ebx, ecx
jg 0x408db8
jl 0x408dae
cmp esi, eax
jae 0x408db8
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0040e190
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x408dee
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x408e1c
jg 0x408df8
test esi, esi
je 0x408e1c
cmp dword [edi + 0x4c], 0
je 0x408e1c
mov ecx, edi
call fcn.00409d7f
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.00413c8d
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4090aa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x43b068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x4090d0
xor eax, eax
jmp 0x409195
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4090f9
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4090f9
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x409195
cmp dword [esi + 0x4c], 0
je 0x409193
mov ecx, esi
call fcn.00409d7f
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x409126
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004128c7
cmp eax, edi
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x409193
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x409193
cmp eax, 1
jle 0x409162
cmp eax, 3
jne 0x409193
push dword [esi + 0x4c]
movsx ecx, byte [ebp - 0x25]
push ecx
jmp 0x409118
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x409185
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.00413a40
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x409193
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x409195
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c9b0
leave
ret 4

Function at 0x409e07
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43b068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x409e89
cmp byte [esi + 0x3d], 0
je 0x409e89
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x409e5b
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x409e5f
sub eax, 1
je 0x409e63
dec eax
sub eax, 1
je 0x409e89
xor al, al
jmp 0x409e8b
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x409e80
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00413a40
add esp, 0x10
cmp edi, eax
jne 0x409e5b
cmp byte [esi + 0x3d], 0
sete al
jmp 0x409e8b
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040c9b0
leave
ret

Function at 0x419f9c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419e12
Function at 0x4026f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402714
xor eax, eax
jmp 0x402794
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40272b
xor eax, eax
jmp 0x402794
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x402777
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x402777
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40274e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x402783
xor eax, eax
jmp 0x402794
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x402791
xor eax, eax
jmp 0x402794
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4158c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x41f6a4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4158f7
push 0x41f6e4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea edx, [ebp - 4]
push edx
push 0xf003f
push 0
push str.SOFTWAREMTA_Services__Inc.Perfect_Care_for_WindowsInstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415925
push str.ClientVersion
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x415940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x41f654
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4159ab
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.Success
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x41f69c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x415d20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418a8c
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
push 0x44
push 0
lea eax, [ebp - 0x1c4]
push eax
call fcn.004047c0
add esp, 0xc
mov dword [ebp - 0x1c4], 0x44
push str.ApplicationClientCRRuntime_32bit_13_0_13.msi
lea ecx, [ebp - 0x154]
call fcn.00401640
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x168]
push ecx
mov ecx, dword [ebp - 0x15c]
call fcn.004161f0
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
call fcn.004017d0
push eax
push 0
lea ecx, [ebp - 0x154]
call fcn.00401480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00401620
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x415e14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00401620
jmp 0x415ec1
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.msiexec__i__
push 0
lea ecx, [ebp - 0x154]
call fcn.00401480
push str.___qb__norestart_AGREETOLICENSE_yes__UPGRADE1
lea ecx, [ebp - 0x154]
call fcn.004017a0
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x1c4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x154]
call fcn.004017d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x415e9b
mov dword [ebp - 0x170], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x180]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x415eaf
push str.Unable_to_run_Crystal_Runtime_13.0.13_install.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret
Function at 0x415ee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418abf
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0x104
lea ecx, [ebp - 0x220]
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401730
mov ecx, dword [ebp - 0x22c]
call fcn.00417bb0
test eax, eax
je 0x415fcb
lea eax, [ebp - 0x21c]
push eax
push 0xf013f
push 0
push 0x41f2f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415fbc
mov dword [ebp - 0x224], 0x104
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
push 0x41f2dc
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415fbc
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x220]
call fcn.004015e0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x416043
lea ecx, [ebp - 0x21c]
push ecx
push 0xf003f
push 0
push str.SOFTWARESAP_BusinessObjectsCrystal_Reports_for_.NET_Framework_4.0Crystal_Reports
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416036
mov dword [ebp - 0x224], 0x104
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0
push str.CRRuntime32Version
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416036
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.004015e0
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.13.0.13
lea edx, [ebp - 0x220]
push edx
call fcn.00401380
add esp, 8
movzx eax, al
test eax, eax
je 0x416068
mov dword [ebp - 0x228], 1
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00401620
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret
Function at 0x4160b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418af2
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x118]
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00401730
lea eax, [ebp - 0x120]
push eax
push 0xf003f
push 0
push 0x41f198
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416188
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x130]
push eax
push 0
push str.Target
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x416188
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x118]
call fcn.004015e0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004016c0
mov edx, dword [ebp - 0x124]
or edx, 1
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401620
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret 4

Function at 0x4161f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418b25
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x118]
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00401730
lea eax, [ebp - 0x120]
push eax
push 0xf003f
push 0
push 0x41f14c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4162c8
mov dword [ebp - 0x11c], 0x104
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x130]
push eax
push 0
push str.ServerPath
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4162c8
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x118]
call fcn.004015e0
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004016c0
mov edx, dword [ebp - 0x124]
or edx, 1
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00401620
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret 4