Function at 0x43811d
Capabilities:
Read file on windows

Disassembly:
push 0x64
mov eax, 0x4c02ad
call fcn.00492516
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.00470fb0
push eax
mov dword [ebp - 4], ebx
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00470660
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004113a0
add esp, 0xc
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00470710
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00470660
push 7
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00470e50
push str.http:__
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], edi
call fcn.0040d567
pop ecx
pop ecx
test al, al
jne 0x4381d5
push 7
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00470e50
push 3
pop ecx
push str.file:__
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
call fcn.0040d567
pop ecx
pop ecx
mov byte [ebp + 0xb], bl
test al, al
je 0x4381d9
mov byte [ebp + 0xb], 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 2
je 0x4381f2
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.00470660
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
je 0x438204
lea ecx, [ebp - 0x34]
call fcn.00470660
cmp byte [ebp + 0xb], bl
je 0x4383ee
lea ecx, [ebp - 0x70]
call fcn.00422b38
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.00423e0c
cmp byte [esi + 7], 0xff
mov byte [ebp - 4], 5
mov eax, esi
jne 0x438232
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.00423197
mov dword [ebp + 8], eax
cmp eax, ebx
jge 0x43838b
mov eax, str.LogAction
mov edi, str.LogDebug
cmp eax, str.NULL
je 0x4382b5
cmp edi, str.__noop
je 0x4382b5
push str.E_NODETECTXML
lea ecx, [ebp - 0x2c]
call fcn.00470680
push eax
lea eax, [ebp - 0x34]
push str.actioninternalerrorvalue
push eax
mov byte [ebp - 4], 6
call fcn.00470fb0
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.00470660
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00470660
cmp edi, str.NULL
je 0x43836b
cmp edi, str.__noop
je 0x43836b
push str.INTERNAL_ERROR:
lea ecx, [ebp - 0x14]
call fcn.00470680
push str.Cant_access_detect_XML
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.00470f60
push 0x4cfe44
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.00470f60
push str.path:
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00470f60
push esi
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xb
call fcn.00470f10
push eax
mov byte [ebp - 4], 0xc
call fcn.004126e0
add esp, 0x34
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00470660
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00470660
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00470660
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00470660
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00423e20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00422e51
mov eax, dword [ebp + 8]
jmp 0x4384c1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.00423dc5
mov ecx, dword [ebp + 0xc]
push edi
mov esi, 0x4d03c8
push esi
push 0x4cfa38
call fcn.004715f0
push str.___got_from_web
lea ecx, [ebp - 0x1c]
call fcn.00470680
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004126e0
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00470660
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00423e20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00422e51
jmp 0x4384a1
cmp byte [esi + 7], 0xff
jne 0x4383f6
mov esi, dword [esi]
push 0x4cfa24
push esi
call fcn.00492fff
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
jne 0x438416
mov eax, 0x80004005
jmp 0x4384c1
push 2
push ebx
push edi
call fcn.00498a87
push edi
call fcn.00498998
push ebx
push ebx
push edi
mov esi, eax
call fcn.00498a87
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
lea eax, [esi + 2]
push eax
call fcn.004710f0
mov edi, eax
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.00491e90
push dword [ebp + 8]
push esi
push 1
push edi
call fcn.0049872e
push dword [ebp + 8]
mov byte [eax + edi], bl
call fcn.00492b68
mov ecx, dword [ebp + 0xc]
add esp, 0x20
push 0xffffffffffffffff
call fcn.00471180
push str.got_local
lea ecx, [ebp - 0x24]
call fcn.00470680
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0xe
call fcn.004126e0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00470660
xor edi, edi
inc edi
mov esi, 0x4d03c8
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4cfa38
call fcn.004715f0
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4d7328
call fcn.004715f0
xor eax, eax
call fcn.004925ee
ret 8