Function at 0x482b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], ebx
push esi
lea esi, [ebp + 0x10]
push edi
lea edi, [ebp - 0xf4]
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x4830b1
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4830b1
mov edx, dword [ebp - 0x7c]
cmp edx, dword [eax + 0x22c]
jb 0x482d29
cmp dword [eax + 0x208], 0
je 0x482d29
mov edi, dword [ebp - 0x80]
xor esi, esi
mov dword [ebp - 0x48], edi
inc edi
mov dword [ebp - 0x60], 0
movzx ecx, word [eax + 0x234]
push edx
mov dword [ebp - 0x54], ecx
imul edi, ecx
mov byte [ebp - 0x49], 0
call fcn.0052f54b
push dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
push esi
push eax
call fcn.0052f1e0
add esp, 0x10
cmp dword [ebp - 0x7c], esi
jbe 0x482df7
mov edx, dword [ebp - 0x80]
jmp 0x482c10
cmp byte [0x6f2444], 1
je 0x482d09
test edx, edx
js 0x482cf7
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + 0x234]
shr ecx, 2
imul ecx, dword [eax + 0x214]
cmp edx, ecx
jle 0x482c4e
push str.SAT_index_out_of_bounds._n
call fcn.004812b0
add esp, 4
mov byte [ebp - 0x49], 1
push 0
push 0
push edi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [ebp - 0x49], 0
jne 0x482c7c
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebp - 0x48]
mov eax, dword [ecx + 0x208]
mov edi, dword [eax + edi*4]
movzx eax, word [ecx + 0x234]
inc edi
imul edi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x7c]
movzx eax, word [eax + 0x234]
add eax, esi
cmp eax, ecx
jbe 0x482c98
mov eax, ecx
sub eax, esi
mov dword [ebp - 0x54], eax
jmp 0x482c9b
mov eax, dword [ebp - 0x54]
push 0
lea ecx, [ebp - 0x60]
push ecx
push eax
mov eax, dword [ebp - 0x50]
add eax, esi
push eax
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x60]
add esi, eax
cmp eax, dword [ebp - 0x54]
jb 0x482ce5
cmp byte [ebp - 0x49], 1
je 0x482df7
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x48]
mov eax, dword [eax + 0x208]
mov edx, dword [eax + edx*4]
mov dword [ebp - 0x48], edx
cmp esi, dword [ebp - 0x7c]
jb 0x482c10
jmp 0x482df7
push str.Premature_end_of_file_encountered_while_updating_the_directory._n
call fcn.004812b0
add esp, 4
jmp 0x482df7
push str.Invalid_SAT_termination_index._n
call fcn.004812b0
add esp, 4
jmp 0x482df7
push dword [ebp - 0x50]
call fcn.0052ee15
add esp, 4
mov al, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0x88
cmp dword [eax + 0x210], 0
je 0x483087
cmp dword [eax + 0x20c], 0
je 0x483087
mov edi, dword [ebp - 0x80]
push edx
call fcn.0052f54b
push dword [ebp - 0x7c]
mov dword [ebp - 0x50], eax
push 0
push eax
call fcn.0052f1e0
xor esi, esi
add esp, 0x10
lea ebx, [esi + 0x40]
cmp dword [ebp - 0x7c], esi
jbe 0x482df4
jmp 0x482d70
cmp byte [0x6f2444], 1
je 0x482d09
test edi, edi
js 0x482de7
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x10]
movzx eax, word [ecx + 0x234]
shr eax, 2
imul eax, dword [ecx + 0x220]
cmp edi, eax
jg 0x482de0
mov edx, edi
lea eax, [esi + 0x40]
shl edx, 6
cmp eax, dword [ebp - 0x7c]
jbe 0x482daa
mov ebx, dword [ebp - 0x7c]
sub ebx, esi
mov eax, dword [ecx + 0x210]
add eax, edx
push ebx
push eax
mov eax, dword [ebp - 0x7c]
sub eax, esi
push eax
mov eax, dword [ebp - 0x50]
add eax, esi
push eax
call fcn.005303b3
mov eax, dword [ebp - 0x48]
add esi, ebx
add esp, 0x10
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x20c]
mov edi, dword [eax + edi*4]
cmp esi, dword [ebp - 0x7c]
jb 0x482d70
jmp 0x482df4
push str.Short_SAT_index_out_of_bounds._n
jmp 0x482dec
push str.Invalid_Short_SAT_termination_index._n
call fcn.004812b0
add esp, 4
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x483087
mov esi, dword [ebp - 0x7c]
cmp esi, 4
jbe 0x483087
push 2
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push 4
push eax
call fcn.005303b3
push 2
lea eax, [edi + 2]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0x236
push 2
push eax
call fcn.005303b3
mov eax, dword [ebp - 0x48]
xor ecx, ecx
add esp, 0x20
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x64], ecx
cmp eax, esi
jae 0x48307e
nop
cmp byte [0x6f2444], 1
je 0x4830c6
test ebx, ebx
jne 0x482e6b
test ecx, ecx
je 0x48307e
mov ebx, ecx
push 4
add eax, edi
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x54]
push 4
push eax
call fcn.005303b3
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], eax
add eax, edi
push 4
push eax
lea eax, [ebp - 0x5c]
push 4
push eax
call fcn.005303b3
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
add eax, 4
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x48], eax
add eax, edi
push 8
push eax
lea eax, [ebp - 0x6c]
push 8
push eax
call fcn.005303b3
mov edi, dword [ebp - 0x48]
mov ecx, 0x1000
add edi, 8
add esp, 0x30
mov dword [ebp - 0x48], edi
mov eax, dword [ebx + 0x10]
cmp word [eax + 0x234], cx
jne 0x482f11
mov eax, dword [ebp - 0x50]
push 4
add eax, edi
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x58]
push 4
push eax
call fcn.005303b3
mov edi, dword [ebp - 0x48]
add esp, 0x10
mov eax, dword [ebp - 0x54]
add edi, 4
sub eax, 4
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x54], eax
jmp 0x482f14
mov eax, dword [ebp - 0x54]
add eax, 0xffffffec
mov dword [ebp - 0x58], eax
cmp eax, esi
ja 0x48309c
lea esi, [eax + 2]
push esi
call fcn.0052f54b
mov ecx, dword [ebp - 0x58]
shr ecx, 1
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, edi
shr esi, 1
push ecx
mov edi, eax
mov dword [ebp - 0x74], eax
push esi
push edi
call fcn.00531731
mov eax, dword [ebx + 0x10]
add esp, 0x14
cmp word [eax + 0x236], 1
mov eax, dword [ebp - 0x5c]
jne 0x482f5d
lea eax, [eax + eax*4]
add eax, eax
push eax
push 0x644b58
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00530606
lea eax, [ebp - 0x44]
push eax
call fcn.00483620
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x44]
add esp, 0x14
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482fa6
test dx, dx
je 0x482fa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482fa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x482f80
xor eax, eax
jmp 0x482fab
sbb eax, eax
or eax, 1
test eax, eax
je 0x483000
mov eax, dword [ebp - 0x70]
mov esi, eax
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x483000
jmp 0x482fc0
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x44]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x482fec
test dx, dx
je 0x482fe8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x482fec
add ecx, 4
add eax, 4
test dx, dx
jne 0x482fc6
xor eax, eax
jmp 0x482ff1
sbb eax, eax
or eax, 1
test eax, eax
je 0x482ffe
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x482fc0
jmp 0x483000
mov ebx, esi
mov eax, dword [ebp - 0x6c]
push dword [ebx + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 0xc], eax
call fcn.0052ee15
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ebx + 0x18], edi
movzx eax, word [ecx + 0x236]
dec eax
cmp eax, 6
ja case.0x483031.2
movzx eax, byte [eax + 0x4830f0]
jmp dword [eax*4 + 0x4830e4]
cmp dword [ebp - 0x58], 2
jbe case.0x483031.1
cmp word [edi + 2], 0x3a
jne case.0x483031.1
cmp word [edi + 4], 0x5c
jne case.0x483031.1
mov byte [ecx + 0x238], 1
jmp 0x48305c
mov byte [ecx + 0x238], 2
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add ecx, 4
mov esi, dword [ebp - 0x7c]
add eax, ecx
mov ebx, dword [ebx + 0x14]
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
cmp eax, esi
jb 0x482e50
push edi
call fcn.0052ee15
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0x88
push dword [ebp - 0x50]
call fcn.0052ee15
push str.Invalid_directory_entry._n
call fcn.004812b0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0x88
push edi
call fcn.0052ee15
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 2
pop edi
pop esi
pop ebx
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret 0x88