Function at 0x47a480
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0047eac0
add esp, 4
cmp eax, ebx
mov dword [0x5df8b8], eax
jne 0x47a4ad
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, 0x10
xor eax, eax
mov edi, 0x5df940
mov dword [0x5df8bc], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x5df8c0
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x5df900
rep stosd dword es:[edi], eax
mov al, byte [0x5d92c8]
mov dword [0x5dba04], ebx
cmp al, bl
push 0x5cee00
jne 0x47a4fe
push str.sntlconfig.xml
call fcn.004cfac9
add esp, 8
mov esi, eax
jmp 0x47a513
push 0x5d92c8
call fcn.004cfac9
add esp, 8
mov esi, eax
mov byte [0x5d92c8], bl
cmp esi, ebx
jne 0x47a52f
mov eax, dword [0x5df8b8]
push eax
call fcn.0047ee70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 2
push ebx
push esi
call fcn.004d05ac
add esp, 0xc
test eax, eax
je 0x47a552
push esi
call fcn.004d0793
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004d4159
push ebx
push ebx
push esi
call fcn.004d05ac
add esp, 0x14
test eax, eax
je 0x47a57f
push esi
call fcn.004d0793
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x10]
inc edx
push edx
call fcn.004cf255
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x47a5b1
mov eax, dword [0x5df8b8]
push eax
call fcn.0047ee70
push esi
call fcn.004d0793
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
inc ecx
mov edi, ebp
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
push eax
push 1
push ebp
call fcn.004cfd80
push esi
mov edi, eax
mov dword [esp + 0x30], ebx
call fcn.004d0793
mov ecx, dword [0x5df8b8]
push 0x47abf0
push 0x47a6e0
push ecx
call fcn.0047efc0
mov edx, dword [0x5df8b8]
push edi
push edi
push ebp
push edx
call fcn.0047eff0
add esp, 0x30
test eax, eax
jne 0x47a62c
push ebp
call fcn.004ce2e1
mov eax, dword [0x5df8b8]
push eax
call fcn.0047ee70
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x24]
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ebx, [edx + 0x40]
mov ecx, 0x10
mov edi, ebx
mov esi, 0x5df980
rep stosd dword es:[edi], eax
lea edi, [edx + 0x80]
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea edi, [edx + 0xc0]
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x5df940
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x5df8c0
lea edi, [edx + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x5df900
lea edi, [edx + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x5df8bc]
mov dword [edx + 0x100], ecx
mov eax, dword [0x5dba04]
mov dword [edx + 0x104], eax
mov ecx, dword [0x5df8b8]
push ecx
call fcn.0047ee70
push ebp
call fcn.004ce2e1
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret