joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4170a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.CRegEmsDeployment::SetRebootNeededFlag
push str._ws__
call fcn.00416990
add esp, 8
call fcn.00416870
mov esi, eax
test esi, esi
je 0x4170e6
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push 4
push 0
push str.reboot_needed
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4170f0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [0x47bc00], eax
push esi
push edi
push eax
push str.CRegEmsDeployment::SetSchId
push str._ws____dwId_d
xor edi, edi
call fcn.00416990
add esp, 0xc
call fcn.00416870
mov esi, eax
test esi, esi
jne 0x417129
lea eax, [edi - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.sch_setup_schid
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41715e
cmp dword [ebp - 8], 4
jne 0x41715e
mov eax, dword [0x47bc00]
cmp eax, dword [ebp - 0xc]
je 0x4171bb
push str.sch_setup_schid
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.sch_setup_starttime
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.sch_setup_user_notified_flag
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.reboot_needed
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.sch_setup_reporthistory
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 4
push 0x47bc00
push 4
push 0
push str.sch_setup_schid
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 0xfffffff5
cmovne edi, ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4171d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.CRegEmsDeployment::SetSchTime
push str._ws____t0x_lx
call fcn.00416990
add esp, 0xc
call fcn.00416870
mov esi, eax
test esi, esi
jne 0x417206
pop edi
pop esi
lea eax, [ebx - 2]
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 4
push 0
push str.sch_setup_starttime
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x417238
push esi
mov ebx, 0xfffffff6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalSCH_CHANGED_AFB3D555_AE04_460A_8F7B_81FCD5F72A30
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0xc
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 0
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x41728b
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4172a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push str.CRegEmsDeployment::SetUserNotifiedFlag
push str._ws____flag0x_lx
call fcn.00416990
add esp, 0xc
call fcn.00416870
mov esi, eax
test esi, esi
jne 0x4172ce
lea eax, [edi - 2]
pop edi
pop esi
pop ebp
ret
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push str.sch_setup_user_notified_flag
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 0xfffffff6
cmovne edi, ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x417360
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x834], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x838], eax
test esi, esi
jne 0x4173ac
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x4173d6
lea eax, [ebx - 2]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push 0x412
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0042b800
mov eax, dword [ebp - 0x830]
add esp, 0xc
test eax, eax
jne 0x417425
push 0x412
push eax
lea eax, [ebp - 0x82c]
push eax
call fcn.0042b800
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x82c]
push str._winsrvc
push eax
push str._s__s
lea eax, [ebp - 0x418]
push 0x208
push eax
call fcn.00410d00
add esp, 0x14
mov ecx, dword [ebp - 0x838]
lea eax, [ebp - 0x418]
test ecx, ecx
push 0
push 0
push 0x45dea0
push 0
push 0
push eax
push 1
push dword [ebp - 0x834]
mov eax, esi
push 0x10
push 0xf01ff
cmovne eax, ecx
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x417488
lea edi, [eax - 3]
jmp 0x4174a9
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], 1
push eax
push 3
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x417e10
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x417e3a
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x417e74
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x14
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x417e8b
lea ebx, [eax - 3]
jmp 0x417ef0
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x417e9f
lea ebx, [eax - 4]
jmp 0x417ee9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x51eb851f
xor esi, esi
mul dword [ebp + 0xc]
mov ebx, edx
shr ebx, 5
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 2
jne 0x417ed9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, ebx
jbe 0x417eb6
mov eax, dword [ebp - 0x1c]
cmp eax, 4
mov ecx, 0xfffffffb
mov ebx, 0
cmovne ebx, ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x417f10
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x417f3a
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push 1
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x417f74
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x24
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x417f8b
lea ebx, [eax - 3]
jmp 0x417ff2
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x417fa1
lea ebx, [eax - 4]
jmp 0x417feb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x51eb851f
xor esi, esi
mul dword [ebp + 0xc]
mov ebx, edx
shr ebx, 5
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x417fdb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, ebx
jbe 0x417fb8
mov eax, dword [ebp - 0x1c]
cmp eax, 1
mov ecx, 0xfffffffb
mov ebx, 0
cmovne ebx, ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x418010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x41803b
push 0x42
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.00418400
test esi, esi
jne 0x41804b
push 0x43
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.00418400
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x418154
cmp eax, 0x104
jae 0x418154
lea eax, [ebp - 0x414]
push eax
push 0
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4180c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4180a0
movzx esi, si
or esi, 0x80070000
test esi, esi
mov eax, 0x80004005
cmovns esi, eax
push esi
push 0x53
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.00418700
push 0
push str.Failed_to_GetTempFileName.
push esi
push 4
push 0x53
jmp 0x41818c
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
je 0x4180d9
cmp ecx, 0x7fffffff
jbe 0x4180de
mov eax, 0x80070057
test eax, eax
js 0x418139
test ecx, ecx
je 0x418110
mov edx, SysReAllocString
lea edi, [ebp - 0x414]
sub edx, ecx
sub edi, esi
lea eax, [edx + ecx]
test eax, eax
je 0x418110
movzx eax, word [edi + esi]
test ax, ax
je 0x418110
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x4180f5
test ecx, ecx
lea eax, [esi - 2]
pop edi
cmovne eax, esi
xor edx, edx
test ecx, ecx
pop esi
mov word [eax], dx
mov eax, 0x8007007a
cmovne eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
je 0x41819b
xor ecx, ecx
pop edi
mov word [esi], cx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428a27
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x418169
movzx esi, si
or esi, 0x80070000
test esi, esi
mov eax, 0x80004005
cmovns esi, eax
push esi
push 0x4e
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.00418700
push 0
push str.Failed_to_GetTempPath.
push esi
push 4
push 0x4e
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.004188c0
mov eax, esi
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4181b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4181d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4181dc
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
movzx eax, word [esi]
mov ecx, esi
push edi
xor edi, edi
test ax, ax
je 0x418291
mov edx, eax
nop
cmp dx, 0x5c
mov eax, ecx
cmovne eax, edi
add ecx, 2
mov edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4181f0
test edi, edi
je 0x418291
push ebx
xor eax, eax
push esi
mov word [edi], ax
call fcn.004181b0
mov ebx, eax
mov eax, 0x5c
mov word [edi], ax
test ebx, ebx
jns 0x41824e
push esi
push str.failed_to_create_path:__S
push ebx
push 3
push 0x83
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.004188c0
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x418288
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x418275
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
test eax, eax
jle 0x4182c4
pop edi
movzx eax, ax
pop esi
or eax, 0x80070000
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070003
push 0x7e
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.00418700
push 0
push str.cannot_find_parent_path
push 0x80070003
push 3
push 0x7e
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildirutil.cpp
call fcn.004188c0
mov eax, 0x80070003
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x418730
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x41878e
push str.REPORT_NONE_is_not_a_valid_tracing_level
push 0x11e
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildutil.cpp
push str.Assertion_failed_in__s___i_n_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00418380
add esp, 0x18
test eax, eax
js 0x418784
lea eax, [ebp - 0x804]
push eax
jmp 0x418789
push str.Assert_failed_to_build_string
call fcn.00418460
cmp dword [0x4799e0], esi
jl 0x4188af
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call fcn.00403200
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004326ec
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x418863
cmp eax, 0x3ff
ja 0x418863
jne 0x4187e6
mov byte [ebp - 5], 0
mov eax, str.Trace_u
sub esi, 1
je 0x418808
sub esi, 1
je 0x418801
sub esi, 1
jne 0x41880d
mov eax, str.Trace_d
jmp 0x41880d
mov eax, str.Trace_v
jmp 0x41880d
mov eax, str.Trace_s
cmp dword [0x47bc3c], 0
lea ecx, [ebp - 0x404]
push ecx
je 0x41883d
push dword [ebp + 0xc]
push edi
push eax
push str._s___s__d_:__s_r_n
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00418380
add esp, 0x1c
jmp 0x418857
push eax
push str._s:__s_r_n
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00418380
add esp, 0x14
test eax, eax
js 0x418867
lea eax, [ebp - 0x804]
jmp 0x4188a8
mov byte [ebp - 5], 0
cmp dword [0x47bc3c], 0
lea eax, [ebp - 0xc04]
je 0x41888f
push dword [ebp + 0xc]
push edi
push str.Trace___s__d_:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x14
jmp 0x4188a2
push str.Trace:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0xc
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x4188c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
cmp eax, 4
je 0x4188eb
cmp dword [0x4799e0], eax
jl 0x418a3f
push ebx
push esi
lea eax, [ebp + 0x1c]
push eax
push 0
push dword [ebp + 0x18]
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call fcn.00403200
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004326ec
mov esi, dword [ebp + 0x14]
or ecx, 0xffffffff
mov ebx, dword [ebp + 0xc]
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x4189bc
cmp eax, 0x3ff
ja 0x4189bc
jne 0x418942
mov byte [ebp - 0x405], 0
cmp dword [0x47bc3c], 0
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
je 0x418989
push ebx
push edi
test esi, esi
jns 0x418974
push esi
push str.TraceError_0x_x___s__d_:__s_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x1c
jmp 0x4189b6
push str.TraceError___s__d_:__s_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x18
jmp 0x4189b6
test esi, esi
jns 0x4189a3
push esi
push str.TraceError_0x_x:__s_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x14
jmp 0x4189b6
push str.TraceError:__s_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x10
test eax, eax
jns 0x418a30
jmp 0x4189c3
mov byte [ebp - 0x405], 0
cmp dword [0x47bc3c], 0
lea eax, [ebp - 0x404]
je 0x418a03
push ebx
push edi
test esi, esi
jns 0x4189ee
push esi
push str.TraceError_0x_x___s__d_:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x18
jmp 0x418a30
push str.TraceError___s__d_:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x14
jmp 0x418a30
test esi, esi
jns 0x418a1d
push esi
push str.TraceError_0x_x:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0x10
jmp 0x418a30
push str.TraceError:_message_too_long__skipping_r_n
push 0x400
push eax
call fcn.00418380
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x418a50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.00429120
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x418ab2
push str.REPORT_NONE_is_not_a_valid_tracing_level
push 0xe3
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutildutil.cpp
push str.Assertion_failed_in__s___i_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00418380
add esp, 0x18
test eax, eax
js 0x418aa8
lea eax, [ebp - 0x404]
push eax
jmp 0x418aad
push str.Assert_failed_to_build_string
call fcn.00418460
cmp dword [0x4799e0], esi
jl 0x418bdd
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x1004]
push 0x3ff
push eax
call fcn.00403200
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00432710
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x418b8c
cmp eax, 0x3ff
ja 0x418b8c
jne 0x418b0f
xor eax, eax
mov word [ebp - 0x806], ax
mov eax, 0x45ec1c
sub esi, 1
je 0x418b31
sub esi, 1
je 0x418b2a
sub esi, 1
jne 0x418b36
mov eax, 0x45ec4c
jmp 0x418b36
mov eax, 0x45ec3c
jmp 0x418b36
mov eax, 0x45ec2c
cmp dword [0x47bc3c], 0
lea ecx, [ebp - 0x1004]
push ecx
je 0x418b66
push dword [ebp + 0xc]
push edi
push eax
push 0x45ec5c
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00411480
add esp, 0x1c
jmp 0x418b80
push eax
push 0x45ec80
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.00411480
add esp, 0x14
test eax, eax
js 0x418b95
lea eax, [ebp - 0x804]
jmp 0x418bd6
xor eax, eax
mov word [ebp - 0x806], ax
cmp dword [0x47bc3c], 0
lea eax, [ebp - 0x1804]
je 0x418bbd
push dword [ebp + 0xc]
push edi
push 0x45ec98
push 0x400
push eax
call fcn.00411480
add esp, 0x14
jmp 0x418bd0
push 0x45ecf0
push 0x400
push eax
call fcn.00411480
add esp, 0xc
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00428a27
mov esp, ebp
pop ebp
ret
Function at 0x418bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x47a42c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x214], edi
test eax, eax
je 0x418c34
cmp word [eax], 0
jne 0x418c43
push 0x2c2
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutil_fileutil.cpp
call fcn.00418400
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push eax
push 0x104
mov esi, 0x80004005
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x418cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x418c82
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x418cb5
push esi
push 0x2cd
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutil_fileutil.cpp
call fcn.00418700
push 0
push str.failed_to_get_temp_path
push esi
push 4
push 0x2cd
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutil_fileutil.cpp
call fcn.004188c0
add esp, 0x18
jmp 0x418d71
xor edi, edi
cmp ebx, 0xffffffff
jne 0x418d49
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push edi
push dword [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push str._s_s_05d._s
push eax
call fcn.004285e0
add esp, 0x18
mov esi, eax
push 0
test esi, esi
js 0x418dbf
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x418d3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x418d2c
movzx esi, si
or esi, 0x80070000
cmp esi, 0x80070050
jne 0x418d38
xor esi, esi
jmp 0x418d3c
test esi, esi
js 0x418daa
inc edi
cmp edi, 0x3e8
jl 0x418cb7
mov edi, dword [ebp - 0x214]
test edi, edi
je 0x418d55
mov dword [edi], ebx
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x418d71
mov eax, dword [ebp - 0x210]
mov dword [ecx], eax
mov dword [ebp - 0x210], 0
test esi, esi
js 0x418d79
test edi, edi
jne 0x418d85
cmp ebx, 0xffffffff
je 0x418d85
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x418d95
push eax
call fcn.00428900
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428a27
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x210]
push str.failed_to_create_file:__S
push esi
push 3
push 0x2de
jmp 0x418dcc
push str.failed_to_allocate_memory_for_log_file
push esi
push 4
push 0x2d2
push str.c:jenkins_fct1_svn_forticlienthsinstallationwix_fct_enterprise_fcsetupexedutil_fileutil.cpp
call fcn.004188c0
mov edi, dword [ebp - 0x214]
add esp, 0x18
jmp 0x418d71