Function at 0x41b10f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
call fcn.00401005
test al, al
je 0x41b17f
push str.inst_detect.xml
push str.inst_config_
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00407bf4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00440090
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.00440090
add esp, 0xc
push eax
mov ecx, edi
call fcn.0043f840
lea ecx, [ebp - 8]
call fcn.0043f790
lea ecx, [ebp - 0x14]
call fcn.0043f790
lea ecx, [ebp - 0x1c]
call fcn.0043f790
push ebx
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004030b0
add esp, 0xc
push eax
mov ecx, edi
call fcn.0043f840
lea ecx, [ebp - 0x1c]
call fcn.0043f790
push str.http:__
push 7
lea eax, [ebp - 0x14]
add esi, 0x8d4
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0043ff80
push eax
call fcn.00401046
pop ecx
pop ecx
test al, al
jne 0x41b1f0
push str.file:__
push 7
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0043ff80
push eax
call fcn.00401046
pop ecx
pop ecx
mov byte [ebp + 0xb], bl
test al, al
je 0x41b1f4
mov byte [ebp + 0xb], 1
test byte [ebp - 4], 2
je 0x41b206
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x1c]
call fcn.0043f790
test byte [ebp - 4], 1
je 0x41b214
lea ecx, [ebp - 0x14]
call fcn.0043f790
cmp byte [ebp + 0xb], bl
je 0x41b28e
lea ecx, [ebp - 0x50]
call fcn.0040b5d3
lea ecx, [ebp - 0x24]
call fcn.0040c35b
cmp byte [esi + 7], 0xff
jne 0x41b231
mov esi, dword [esi]
push ebx
push 1
push 3
push ebx
push esi
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x50]
call fcn.0040bb18
mov esi, eax
lea ecx, [ebp - 0x24]
cmp esi, ebx
jge 0x41b263
call fcn.0040c36f
lea ecx, [ebp - 0x50]
call fcn.0040baf5
mov eax, esi
jmp 0x41b361
mov edi, dword [ebp - 0xc]
add edi, 0x8bc
call fcn.0040c3d1
push eax
mov ecx, edi
call fcn.0043f8e0
lea ecx, [ebp - 0x24]
call fcn.0040c36f
lea ecx, [ebp - 0x50]
call fcn.0040baf5
jmp 0x41b33c
cmp byte [edi + 7], 0xff
jne 0x41b296
mov edi, dword [edi]
push 0x47e808
push edi
call fcn.0045fd50
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
jne 0x41b2d8
push str.actionerrorvaluelocal_detect_xml_missing
lea ecx, [ebp - 8]
call fcn.0043f7b0
mov ecx, dword [ebp - 0xc]
push ebx
lea eax, [ebp - 8]
push eax
call fcn.00410896
lea ecx, [ebp - 8]
call fcn.0043f790
mov eax, 0x80004005
jmp 0x41b361
push 2
push ebx
push edi
call fcn.00464c82
push edi
call fcn.00464b93
push ebx
push ebx
push edi
mov esi, eax
call fcn.00464c82
mov edi, dword [ebp - 0xc]
add esp, 0x1c
lea eax, [esi + 2]
add edi, 0x8bc
push eax
mov ecx, edi
call fcn.00440160
lea ecx, [esi + 1]
push ecx
push ebx
push eax
mov dword [ebp - 0xc], eax
call fcn.0045f090
push dword [ebp + 8]
push esi
mov esi, dword [ebp - 0xc]
push 1
push esi
call fcn.00464924
push dword [ebp + 8]
mov byte [eax + esi], bl
call fcn.0045fae8
add esp, 0x20
push 0xffffffffffffffff
mov ecx, edi
call fcn.004401f0
push 1
mov esi, 0x47ece8
push esi
push 0x47ecd8
mov ecx, edi
call fcn.00440610
push 1
push esi
push 0x4819e8
mov ecx, edi
call fcn.00440610
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4