Function at 0x435fd2
Capabilities:
Read file on windows

Disassembly:
push 0x64
mov eax, 0x4c1d9e
call fcn.00494508
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x14]
push str.___XML_GetDetectionFile_
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00473090
push eax
mov dword [ebp - 4], ebx
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00472740
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004109b0
add esp, 0xc
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004727f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472740
push 7
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00472f30
push str.http:__
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], edi
call fcn.0040d57d
pop ecx
pop ecx
test al, al
jne 0x43608a
push 7
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00472f30
push 3
pop ecx
push str.file:__
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
call fcn.0040d57d
pop ecx
pop ecx
mov byte [ebp + 0xb], bl
test al, al
je 0x43608e
mov byte [ebp + 0xb], 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 2
je 0x4360a7
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.00472740
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
je 0x4360b9
lea ecx, [ebp - 0x34]
call fcn.00472740
cmp byte [ebp + 0xb], bl
je 0x4362a3
lea ecx, [ebp - 0x70]
call fcn.004212cb
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.0042259f
cmp byte [esi + 7], 0xff
mov byte [ebp - 4], 5
mov eax, esi
jne 0x4360e7
mov eax, dword [esi]
push ebx
push edi
push 3
push ebx
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x70]
call fcn.0042192a
mov dword [ebp + 8], eax
cmp eax, ebx
jge 0x436240
mov eax, str.LogAction
mov edi, str.LogDebug
cmp eax, str.NULL
je 0x43616a
cmp edi, str.__noop
je 0x43616a
push str.E_NODETECTXML
lea ecx, [ebp - 0x2c]
call fcn.00472760
push eax
lea eax, [ebp - 0x34]
push str.actioninternalerrorvalue
push eax
mov byte [ebp - 4], 6
call fcn.00473090
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push ebx
push eax
mov byte [ebp - 4], 7
call dword [edx + 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00472740
cmp edi, str.NULL
je 0x436220
cmp edi, str.__noop
je 0x436220
push str.INTERNAL_ERROR:
lea ecx, [ebp - 0x14]
call fcn.00472760
push str.Cant_access_detect_XML
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.00473040
push 0x4cdc80
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.00473040
push str.path:
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00473040
push esi
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xb
call fcn.00472ff0
push eax
mov byte [ebp - 4], 0xc
call fcn.00411cd0
add esp, 0x34
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00472740
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00472740
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00472740
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00472740
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004225b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004215e4
mov eax, dword [ebp + 8]
jmp 0x436376
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.00422558
mov ecx, dword [ebp + 0xc]
push edi
mov esi, 0x4ce1ec
push esi
push 0x4cd9e8
call fcn.004736d0
push str.___got_from_web
lea ecx, [ebp - 0x1c]
call fcn.00472760
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00411cd0
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004225b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004215e4
jmp 0x436356
cmp byte [esi + 7], 0xff
jne 0x4362ab
mov esi, dword [esi]
push 0x4cd9d4
push esi
call fcn.00494fff
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
jne 0x4362cb
mov eax, 0x80004005
jmp 0x436376
push 2
push ebx
push edi
call fcn.0049aa87
push edi
call fcn.0049a998
push ebx
push ebx
push edi
mov esi, eax
call fcn.0049aa87
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
lea eax, [esi + 2]
push eax
call fcn.004731d0
mov edi, eax
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.00493f80
push dword [ebp + 8]
push esi
push 1
push edi
call fcn.0049a72e
push dword [ebp + 8]
mov byte [eax + edi], bl
call fcn.00494b68
mov ecx, dword [ebp + 0xc]
add esp, 0x20
push 0xffffffffffffffff
call fcn.00473260
push str.got_local
lea ecx, [ebp - 0x24]
call fcn.00472760
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0xe
call fcn.00411cd0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472740
xor edi, edi
inc edi
mov esi, 0x4ce1ec
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4cd9e8
call fcn.004736d0
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4d4fec
call fcn.004736d0
xor eax, eax
call fcn.004945e0
ret 8