Function at 0x1001a030
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.1001ebe0
add esp, 4
cmp eax, ebx
mov dword [0x100719e4], eax
jne 0x1001a05d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ecx, 0x10
xor eax, eax
mov edi, 0x10071960
mov dword [0x100719e0], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x100719a0
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x10071920
rep stosd dword es:[edi], eax
mov al, byte [0x100633d4]
mov dword [0x10065f14], ebx
cmp al, bl
push 0x1005e74c
jne 0x1001a0af
push str.sntlconfig.xml
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov esi, eax
jmp 0x1001a0c5
push 0x100633d4
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov esi, eax
mov byte [0x100633d4], bl
cmp esi, ebx
jne 0x1001a0e1
mov eax, dword [0x100719e4]
push eax
call fcn.1001efa0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [sym.imp.MSVCR100.dll_fseek]
push 2
push ebx
push esi
call edi
add esp, 0xc
test eax, eax
je 0x1001a108
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
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 dword [sym.imp.MSVCR100.dll_fgetpos]
push ebx
push ebx
push esi
call edi
add esp, 0x14
test eax, eax
je 0x1001a134
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
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 dword [sym.imp.MSVCR100.dll_malloc]
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x1001a168
mov eax, dword [0x100719e4]
push eax
call fcn.1001efa0
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
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 dword [sym.imp.MSVCR100.dll_fread]
push esi
mov edi, eax
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCR100.dll_fclose]
mov ecx, dword [0x100719e4]
push 0x1001a7b0
push 0x1001a2a0
push ecx
call fcn.1001f0f0
mov edx, dword [0x100719e4]
push edi
push edi
push ebp
push edx
call fcn.1001f120
add esp, 0x30
test eax, eax
jne 0x1001a1e6
push ebp
call dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [0x100719e4]
push eax
call fcn.1001efa0
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, 0x10071a00
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, 0x10071960
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x100719a0
lea edi, [edx + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x10071920
lea edi, [edx + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x100719e0]
mov dword [edx + 0x100], ecx
mov eax, dword [0x10065f14]
mov dword [edx + 0x104], eax
mov ecx, dword [0x100719e4]
push ecx
call fcn.1001efa0
push ebp
call dword [sym.imp.MSVCR100.dll_free]
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret