Function at 0x4231b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9033
mov eax, dword fs:[0]
push eax
sub esp, 0xb1c
mov eax, dword [0x5365f0]
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 ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x4010c4], esi
jne 0x423213
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 8
jb 0x423206
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x1c], esi
mov eax, 1
jmp 0x423542
mov dword [ebp - 0xadc], esi
cmp dword [ebp + 0x28], esi
je 0x4232a7
push 0x24
call fcn.004d67b0
add esp, 4
mov dword [ebp - 0xb24], eax
mov byte [ebp - 4], 1
cmp eax, esi
je 0x423244
push eax
call fcn.0041f5b0
mov edi, eax
jmp 0x423246
xor edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
mov dword [edi], edx
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x42325b
lea eax, [ebp + 0xc]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423260
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [edi + 4]
call fcn.004027c0
push 0
push edi
mov dword [edi + 0x20], ebx
mov eax, dword [ebx + 0x4010cc]
push 0x5000
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x42351c
mov dword [ebp - 0xadc], 1
jmp 0x42351c
push 0x1fe
lea edx, [ebp - 0x20e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x210], cx
call fcn.004da450
add esp, 0xc
cmp dword [ebp + 8], esi
jne 0x4232ef
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 8
jb 0x4232e3
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], esi
xor eax, eax
jmp 0x423544
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0xb00]
push edx
call edi
lea eax, [ebp - 0xb10]
push eax
call edi
lea ecx, [ebp - 0xaf0]
push ecx
call edi
lea edx, [ebp - 0xb20]
push edx
call edi
mov ecx, str.SendEventSynchronous
cmp dword [ebp + 0x2c], esi
jne 0x423328
mov ecx, str.SendEvent
push str.FaronicsWebAgent_v1
xor edx, edx
lea edi, [ebp - 0xad8]
call fcn.0045b880
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, 8
push str.064ABC97_E328_46C6_AAE1_55CD191408B0
mov word [ebp - 0xb00], ax
call edi
mov dword [ebp - 0xaf8], eax
push str.productId
lea ebx, [ebp - 0xb00]
lea eax, [ebp - 0xad8]
call fcn.0045c000
test eax, eax
jns 0x423391
push eax
lea ecx, [ebp - 0x210]
push str.An_error_occured_while_setting_parameter_product_id._Error_code__0x_x
push ecx
call fcn.004d7ee5
add esp, 0xc
jmp 0x4234c1
mov eax, dword [ebp + 8]
mov edx, 3
mov dword [ebp - 0xb08], eax
push str.eventId
lea ebx, [ebp - 0xb10]
lea eax, [ebp - 0xad8]
mov word [ebp - 0xb10], dx
call fcn.0045c000
test eax, eax
jns 0x4233da
push eax
lea ecx, [ebp - 0x210]
push str.An_error_occured_while_setting_parameter_event_id._Error_code__0x_x
push ecx
call fcn.004d7ee5
add esp, 0xc
jmp 0x4234c1
cmp dword [ebp + 0x1c], 0
je 0x423434
mov eax, dword [ebp + 0xc]
mov edx, 8
mov word [ebp - 0xaf0], dx
cmp dword [ebp + 0x20], edx
jae 0x4233f7
lea eax, [ebp + 0xc]
push eax
call edi
mov dword [ebp - 0xae8], eax
push str.optionalXmlFragment
lea ebx, [ebp - 0xaf0]
lea eax, [ebp - 0xad8]
call fcn.0045c000
test eax, eax
jns 0x423434
push eax
lea eax, [ebp - 0x210]
push str.An_error_occured_while_setting_parameter_optional_Xml._Error_code__0x_x
push eax
call fcn.004d7ee5
add esp, 0xc
jmp 0x4234c1
lea ecx, [ebp - 0xad8]
call fcn.0045c0b0
test eax, eax
jns 0x42345a
push eax
lea ecx, [ebp - 0x210]
push str.Error_in_execution_of_SentEvent_method._Error_code__0x_x
push ecx
call fcn.004d7ee5
add esp, 0xc
jmp 0x4234c1
cmp dword [ebp - 0xad8], 0
je 0x4234a9
mov eax, dword [ebp - 0xacc]
test eax, eax
jne 0x423474
mov eax, 0x80004003
jmp 0x423492
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [ebp - 0xb20]
push ecx
push 0
push str.ReturnValue
push eax
call edx
test eax, eax
jns 0x4234b0
push eax
lea eax, [ebp - 0x210]
push str.Could_not_retrieve_WMI_communication_result._Error_code__0x_x
push eax
call fcn.004d7ee5
add esp, 0xc
jmp 0x4234c1
mov eax, 0x80004005
jmp 0x423492
xor ecx, ecx
cmp dword [ebp - 0xb18], ecx
sete cl
mov dword [ebp - 0xadc], ecx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0xb00]
push edx
call esi
lea eax, [ebp - 0xb20]
push eax
call esi
lea ecx, [ebp - 0xaf0]
push ecx
call esi
lea edx, [ebp - 0xb10]
push edx
call esi
cmp dword [ebp - 0xadc], 0
jne 0x42350c
xor eax, eax
cmp ax, word [ebp - 0x210]
je 0x42350c
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea edx, [ebp - 0xad8]
push edx
call fcn.0045bd40
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], 8
jb 0x423535
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d5559
add esp, 4
mov eax, dword [ebp - 0xadc]
mov dword [ebp + 0x1c], 0
xor ecx, ecx
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], cx
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.004d5564
mov esp, ebp
pop ebp
ret 0x28