Function at 0x629624
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x13c]
mov ecx, 0x4f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x629664
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 8]
call fcn.0062dae4
xor al, al
jmp 0x6298c8
mov ecx, dword [ebp - 8]
call fcn.006283e4
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.006283a4
mov dword [ebp - 0x14], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00631a8c
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00631e9f
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00631a8c
add esp, 0xc
cmp dword [ebp - 0x14], 0
jg 0x6296ca
push 0
push 0
push 0
push 0xc
mov ecx, dword [ebp - 8]
call fcn.0062dae4
xor al, al
jmp 0x6298c8
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
call fcn.0063046a
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x20], ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x20]
mov byte [edx + ecx], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00631393
add esp, 0x10
cmp eax, 1
je 0x629741
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0063041a
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 8]
call fcn.0062dae4
xor al, al
jmp 0x6298c8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x41], 0xd
mov byte [ebp - 0x4d], 0xa
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
mov byte [eax], 0
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x629838
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jb 0x629793
mov ecx, dword [0x1003e00c]
add ecx, 0x48
push ecx
push 0x100324e8
push 0x10032648
call fcn.006328df
add esp, 0xc
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x38], eax
jbe 0x6297ba
mov ecx, dword [0x1003e00c]
add ecx, 0x49
push ecx
push 0x100324e8
push 0x1003266c
call fcn.006328df
add esp, 0xc
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jbe 0x6297de
mov ecx, dword [0x1003e00c]
add ecx, 0x4a
push ecx
push 0x100324e8
push 0x10032690
call fcn.006328df
add esp, 0xc
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x629817
mov eax, dword [ebp - 0x38]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x629815
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x629833
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x62975e
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x14]
cmp dword [ebp - 0x38], eax
jbe 0x62985f
mov ecx, dword [0x1003e00c]
add ecx, 0x57
push ecx
push 0x100324e8
push 0x1003266c
call fcn.006328df
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.00632fdb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.0063041a
add esp, 4
mov ecx, dword [ebp - 8]
call fcn.00629124
movzx eax, al
test eax, eax
jne 0x6298b8
mov dword [ebp - 0x13c], 1
jmp 0x6298c2
mov dword [ebp - 0x13c], 0
mov al, byte [ebp - 0x13c]
pop edi
pop esi
pop ebx
add esp, 0x13c
cmp ebp, esp
call fcn.00632fdb
mov esp, ebp
pop ebp
ret 8