Function at 0x439a39
Capabilities:
Read file on windows

Disassembly:
push 0x64
mov eax, 0x4c21f8
call fcn.004943c6
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.00472c70
push eax
mov dword [ebp - 4], ebx
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00472320
push ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004183e0
add esp, 0xc
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004723d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472320
push 7
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00472b10
push str.http:__
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], edi
call fcn.0040d604
pop ecx
pop ecx
test al, al
jne 0x439af1
push 7
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00472b10
push 3
pop ecx
push str.file:__
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], ecx
call fcn.0040d604
pop ecx
pop ecx
mov byte [ebp + 0xb], bl
test al, al
je 0x439af5
mov byte [ebp + 0xb], 1
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 2
je 0x439b0e
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.00472320
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x10], 1
je 0x439b20
lea ecx, [ebp - 0x34]
call fcn.00472320
cmp byte [ebp + 0xb], bl
je 0x439d0a
lea ecx, [ebp - 0x70]
call fcn.004232d8
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 4
call fcn.004245ac
cmp byte [esi + 7], 0xff
mov byte [ebp - 4], 5
mov eax, esi
jne 0x439b4e
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.00423937
mov dword [ebp + 8], eax
cmp eax, ebx
jge 0x439ca7
mov eax, str.LogAction
mov edi, str.LogDebug
cmp eax, str.NULL
je 0x439bd1
cmp edi, str.__noop
je 0x439bd1
push str.E_NODETECTXML
lea ecx, [ebp - 0x2c]
call fcn.00472340
push eax
lea eax, [ebp - 0x34]
push str.actioninternalerrorvalue
push eax
mov byte [ebp - 4], 6
call fcn.00472c70
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.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00472320
cmp edi, str.NULL
je 0x439c87
cmp edi, str.__noop
je 0x439c87
push str.INTERNAL_ERROR:
lea ecx, [ebp - 0x14]
call fcn.00472340
push str.Cant_access_detect_XML
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call fcn.00472c20
push 0x4d1e68
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.00472c20
push str.path:
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00472c20
push esi
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xb
call fcn.00472bd0
push eax
mov byte [ebp - 4], 0xc
call fcn.00411af0
add esp, 0x34
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00472320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00472320
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00472320
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00472320
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004245dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004235f1
mov eax, dword [ebp + 8]
jmp 0x439ddd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.00424565
mov ecx, dword [ebp + 0xc]
push edi
mov esi, 0x4d2400
push esi
push 0x4d1a38
call fcn.004732b0
push str.___got_from_web
lea ecx, [ebp - 0x1c]
call fcn.00472340
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00411af0
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00472320
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004245dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004235f1
jmp 0x439dbd
cmp byte [esi + 7], 0xff
jne 0x439d12
mov esi, dword [esi]
push 0x4d1a24
push esi
call fcn.00494eaf
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
jne 0x439d32
mov eax, 0x80004005
jmp 0x439ddd
push 2
push ebx
push edi
call fcn.0049a947
push edi
call fcn.0049a858
push ebx
push ebx
push edi
mov esi, eax
call fcn.0049a947
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
lea eax, [esi + 2]
push eax
call fcn.00472db0
mov edi, eax
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.00493d40
push dword [ebp + 8]
push esi
push 1
push edi
call fcn.0049a5ee
push dword [ebp + 8]
mov byte [eax + edi], bl
call fcn.00494a18
mov ecx, dword [ebp + 0xc]
add esp, 0x20
push 0xffffffffffffffff
call fcn.00472e40
push str.got_local
lea ecx, [ebp - 0x24]
call fcn.00472340
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 0xe
call fcn.00411af0
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00472320
xor edi, edi
inc edi
mov esi, 0x4d2400
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4d1a38
call fcn.004732b0
mov ecx, dword [ebp + 0xc]
push edi
push esi
push 0x4d9628
call fcn.004732b0
xor eax, eax
call fcn.0049449e
ret 8