Function at 0x4240b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560a84
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x5b7f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 4], ebx
cmp dword [0x5c1b00], ebx
jne 0x424114
call fcn.00420290
mov eax, dword [0x5c1b00]
push eax
lea ecx, [ebp - 0x17c]
mov edx, edi
call fcn.00420cc0
cmp dword [ebp - 0x17c], ebx
jne 0x424195
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x42413a
mov eax, dword [eax]
push eax
push str.Not_Adding_Notification_configuration:_Product__s_is_not_registered_with_the_CSM.
push 8
call fcn.004060b0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x178]
add esp, 0xc
cmp esi, ebx
je 0x424b5e
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x424b5e
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x424b5e
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
jmp 0x424b5e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], 0x58dcc8
mov dword [ebp - 0x4c], 0x58ed8c
call esi
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x74], cx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0x4c]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0xb0]
push 0x1a
push ecx
mov byte [ebp - 4], 1
call fcn.004022c0
add esp, 8
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4241fc
add eax, 4
jmp 0x4241fe
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x74]
call fcn.004021c0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004026f0
push 1
lea edx, [ebp - 0x159]
push edx
push str.FLEXnetConnectDatabase_
lea ecx, [ebp - 0x44]
call fcn.004136e0
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00411660
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004026f0
push edi
mov ecx, str..xml
lea edi, [ebp - 0xb0]
call fcn.0041e530
add esp, 4
add eax, 4
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x424271
mov eax, dword [eax]
push 1
lea ecx, [ebp - 0x159]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004136e0
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.00411660
lea ecx, [ebp - 0x44]
call fcn.004026f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004026f0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x60], edi
jae 0x4242b4
lea eax, [ebp - 0x74]
push eax
push str.Attempting_to_create_config_file:__s
push 0x200
call fcn.004060b0
add esp, 0xc
lea ecx, [ebp - 0x158]
call fcn.0040feb0
mov dword [ebp - 0x44], 0x58dcc8
mov dword [ebp - 0x18], 0x58ed8c
call esi
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov byte [ebp - 4], 7
push ebx
lea eax, [ebp - 0x74]
xor edx, edx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], dx
call fcn.004021c0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx + 4]
mov edx, dword [ebp + eax - 0x18]
lea eax, [ebp + eax - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push ebx
push 2
push 0x80
push 1
push 0x40000000
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 8
call fcn.0040ffd0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004026f0
push 1
lea ecx, [ebp - 0x159]
push ecx
push str.__xml_version_1.0__encoding_utf_8____NotifyConfiguration_xmlns_http:__www.flexerasoftware.com_fnc_notify_schema_1.0__xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance__xsi:noNamespaceSchemaLocation_CustomNotifyIconSchema.xsd____
lea ecx, [ebp - 0x104]
call fcn.004136e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xf0]
lea edi, [eax + eax + 2]
mov esi, eax
mov eax, dword [ebp - 0xe4]
cmp edi, dword [ebp - 0xe0]
jae 0x424390
cmp eax, ebx
jne 0x4243b5
push eax
call fcn.0043097b
shr edi, 6
inc edi
shl edi, 6
add esp, 4
push edi
mov dword [ebp - 0xe0], edi
call fcn.00430986
add esp, 4
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe0]
push 3
push edx
push eax
lea ecx, [ebp - 0x104]
call fcn.00401bb0
cmp esi, 0xffffffff
jne 0x4243d4
mov esi, 1
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x150]
push ebx
lea eax, [ebp - 0x174]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42441a
push 1
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040f9e0
push 0x5ab0d8
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00533fcd
lea ecx, [ebp - 0x158]
call fcn.004102b0
mov esi, vtable.XMLHelper.0
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], ebx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x74]
mov edi, 8
cmp dword [ebp - 0x60], edi
jae 0x42444a
lea eax, [ebp - 0x74]
push 1
lea edx, [ebp - 0x159]
push edx
push eax
lea ecx, [ebp - 0x44]
call fcn.004136e0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401060
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x159], al
mov byte [ebp - 4], 0xa
call fcn.004026f0
cmp byte [ebp - 0x159], bl
je 0x424ad1
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, 0x5c1d8c
call fcn.00401460
mov dword [ebp - 0x160], ebx
push 1
lea edx, [ebp - 0x159]
push edx
push str.__fnc:NotifyConfiguration
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.004136e0
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x168]
cmp esi, ebx
je 0x4244e9
lea ecx, [ebp - 0x44]
call fcn.0041e440
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x160]
push edx
push eax
mov eax, dword [ecx + 0x94]
push esi
call eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.004026f0
push 1
lea ecx, [ebp - 0x159]
push ecx
push 0x590a14
lea ecx, [ebp - 0x44]
call fcn.004136e0
mov edx, dword [ebp - 0x184]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x160]
push ecx
mov byte [ebp - 4], 0xe
call fcn.0040f0d0
lea ecx, [ebp - 0x44]
call fcn.004026f0
mov dword [ebp - 0x170], ebx
push 1
lea edx, [ebp - 0x159]
push edx
push str.fnc:Icon
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004136e0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x16c]
push edx
mov byte [ebp - 4], 0x10
call fcn.004011c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004026f0
push 1
lea eax, [ebp - 0x159]
push eax
push 0x58ef00
lea ecx, [ebp - 0x44]
call fcn.004136e0
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x170]
push eax
mov byte [ebp - 4], 0x11
call fcn.0040f0d0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004026f0
push 1
lea ecx, [ebp - 0x159]
push ecx
push 0x58ef10
lea ecx, [ebp - 0x44]
call fcn.004136e0
mov edx, dword [ebp - 0x180]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x170]
push ecx
mov byte [ebp - 4], 0x12
call fcn.0040f0d0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.004026f0
mov eax, dword [ebp - 0x160]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x170]
push ebx
mov edx, dword [edx + 0x54]
push ecx
push eax
call edx
mov dword [ebp - 0x164], ebx
push 1
lea eax, [ebp - 0x159]
push eax
push str.fnc:BalloonTip
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004136e0
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 0x14
call fcn.004011c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004026f0
push 1
lea ecx, [ebp - 0x159]
push ecx
push str.true
lea ecx, [ebp - 0xb0]
call fcn.004136e0
push 1
lea edx, [ebp - 0x159]
push edx
push str.show
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.004136e0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x164]
push edx
mov byte [ebp - 4], 0x16
call fcn.0040f0d0
lea ecx, [ebp - 0x44]
call fcn.004026f0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
call fcn.004026f0
push 1
lea eax, [ebp - 0x159]
push eax
push str.true
lea ecx, [ebp - 0x44]
call fcn.004136e0
push 1
lea ecx, [ebp - 0x159]
push ecx
push str.messages
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x17
call fcn.004136e0
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x164]
push ecx
mov byte [ebp - 4], 0x18
call fcn.0040f0d0
lea ecx, [ebp - 0xb0]
call fcn.004026f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004026f0
push 1
lea edx, [ebp - 0x159]
push edx
push str.true
lea ecx, [ebp - 0x44]
call fcn.004136e0
push 1
lea eax, [ebp - 0x159]
push eax
push str.updates
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x19
call fcn.004136e0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040f0d0
lea ecx, [ebp - 0xb0]
call fcn.004026f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004026f0
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x164]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov dword [ebp - 0x174], ebx
push 1
lea ecx, [ebp - 0x159]
push ecx
push str.fnc:Schedule
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x1b
call fcn.004136e0
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x16c]
push ecx
mov byte [ebp - 4], 0x1c
call fcn.004011c0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x1b
call fcn.004026f0
push 1
lea edx, [ebp - 0x159]
push edx
push str.daily
lea ecx, [ebp - 0x44]
call fcn.004136e0
push 1
lea eax, [ebp - 0x159]
push eax
push str.check
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x1d
call fcn.004136e0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x174]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040f0d0
lea ecx, [ebp - 0xb0]
call fcn.004026f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.004026f0
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x174]
mov ecx, dword [eax]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x60], edi
jae 0x424867
lea eax, [ebp - 0x74]
push 1
lea ecx, [ebp - 0x159]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.004136e0
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x1f
call fcn.00401390
lea ecx, [ebp - 0xb0]
mov esi, eax
mov byte [ebp - 4], 0x1b
call fcn.004026f0
cmp esi, ebx
jl 0x4249fc
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x60], edi
jae 0x4248b6
lea eax, [ebp - 0x74]
push 1
lea ecx, [ebp - 0x159]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004136e0
push 1
lea edx, [ebp - 0x159]
push edx
push str.CustomIconConfig
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x20
call fcn.004136e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x21
push ecx
mov ecx, dword [ebp - 0x17c]
call fcn.0041b780
lea ecx, [ebp - 0xb0]
call fcn.004026f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.004026f0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x60], edi
jae 0x424921
lea eax, [ebp - 0x74]
push eax
push str.Successfully_created_XML_configuration_file:__s
push 0x200
call fcn.004060b0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x174]
add esp, 0xc
cmp eax, ebx
je 0x42494a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x164]
cmp eax, ebx
je 0x424960
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x170]
cmp eax, ebx
je 0x424976
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x160]
cmp eax, ebx
je 0x42498c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x168]
mov dword [ebp - method.XMLHelper.virtual_0], vtable.XMLHelper.0
cmp eax, ebx
je 0x4249ac
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x104]
call fcn.004026f0
mov dword [ebp - method.is::file.virtual_0], vtable.is::file.0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x22
call fcn.004102b0
lea ecx, [ebp - 0x14c]
call fcn.004026f0
lea ecx, [ebp - 0x78]
call fcn.004026f0
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ea10
mov al, 1
jmp 0x424b60
push esi
push str.Failed_to_create_XML_configuration_file:__d
push edi
call fcn.004060b0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x174]
add esp, 0xc
cmp eax, ebx
je 0x424a21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x164]
cmp eax, ebx
je 0x424a37
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x170]
cmp eax, ebx
je 0x424a4d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x160]
cmp eax, ebx
je 0x424a63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x168]
mov dword [ebp - method.XMLHelper.virtual_0], vtable.XMLHelper.0
cmp eax, ebx
je 0x424a83
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x104]
call fcn.004026f0
mov dword [ebp - method.is::file.virtual_0], vtable.is::file.0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x23
call fcn.004102b0
lea ecx, [ebp - 0x14c]
call fcn.004026f0
lea ecx, [ebp - 0x78]
call fcn.004026f0
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ea10
jmp 0x424b5e
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], esi
cmp eax, ebx
je 0x424aed
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x104]
call fcn.004026f0
mov dword [ebp - method.is::file.virtual_0], vtable.is::file.0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x24
call fcn.004102b0
lea ecx, [ebp - 0x14c]
call fcn.004026f0
lea ecx, [ebp - 0x78]
call fcn.004026f0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x178]
cmp esi, ebx
je 0x424b5e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x424b5e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x424b5e
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005319a6
mov esp, ebp
pop ebp
ret