Function at 0x410ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b2f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x588790]
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 edi, str._Xml2Install::UninstallCfg2Reg_Start
mov dword [ebp - 4], 2
call fcn.00408b90
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x40]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00404580
lea ecx, [ebp - 0x64]
push ecx
call fcn.00420700
add esp, 0x20
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404580
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x410c40
lea eax, [ebp - 0x2c]
push 0x5379e4
push eax
call fcn.00504d6d
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x410d0d
mov edi, str._fopen_Fail
call fcn.00408b90
mov edi, str._Xml2Install::UninstallCfg2Reg_End
call fcn.00408b90
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x410c82
mov eax, dword [ebp - 0x48]
push eax
call fcn.004ad85d
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x410c9c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ad85d
add esp, 4
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x410cb7
mov edx, dword [ebp - 0x64]
push edx
call fcn.004ad85d
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp + 0x1c], edi
jb 0x410cd8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x410cf2
mov edx, dword [ebp + 0x24]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x410eac
mov eax, dword [ebp + 0x40]
push eax
jmp 0x410ea4
push 2
push ebx
push edi
call fcn.005054ce
add esp, 0xc
push edi
call fcn.00505130
add esp, 4
push ebx
push ebx
push edi
mov esi, eax
call fcn.005054ce
add esp, 0xc
cmp esi, ebx
jbe 0x410d83
push esi
call fcn.005056b6
add esp, 4
push edi
push 1
push esi
push eax
mov dword [ebp - 0x68], eax
call fcn.00505cac
push edi
call fcn.005055b7
mov edi, dword [ebp - 0x68]
add esp, 0x14
push edi
mov eax, esi
call fcn.00421d10
mov esi, eax
mov ecx, esi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x410d67
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.004047d0
push edi
call fcn.0050567c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x24]
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00404580
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.00404580
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov byte [ebp - 4], 7
push 6
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push str.REG_SZ
mov byte [ecx], bl
call fcn.004047d0
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x410df0
lea eax, [ebp - 0x64]
push str.UnInstallCfg
push eax
mov byte [ebp - 4], 5
call fcn.0041d4a0
add esp, 0x5c
mov edi, str._Xml2Install::UninstallCfg2Reg_End
call fcn.00408b90
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x410e22
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004ad85d
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x18], edi
jb 0x410e3c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004ad85d
add esp, 4
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
jb 0x410e57
mov eax, dword [ebp - 0x64]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp + 0x1c], edi
jb 0x410e78
mov edx, dword [ebp + 8]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x410e92
mov eax, dword [ebp + 0x24]
push eax
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x410eac
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.004ad85d
add esp, 4
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.00503edf
mov esp, ebp
pop ebp
ret 0x54