Function at 0x60dd61
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x454004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x450a48
push dword [ecx]
lea eax, [ebp - 0x318]
mov dword [ebp - 0x314], edx
push eax
call fcn.0062c760
add esp, 0xc
test eax, eax
jne 0x60df01
push esi
push edi
push dword [ebp - 0x318]
lea eax, [ebp - 0x104]
push 0x100
push 1
push eax
call fcn.0062f7c1
mov esi, eax
push esi
push 0x450a50
call fcn.0060c111
push dword [ebp - 0x318]
call fcn.0062c893
add esp, 0x1c
cmp esi, 4
jb 0x60de5b
cmp byte [ebp - 0x101], 0xa
jne 0x60de5b
cmp byte [ebp - 0x102], 0xd
jne 0x60de5b
movzx ecx, byte [ebp - 0x103]
xor edi, edi
movzx eax, byte [ebp - 0x104]
shl cx, 8
or cx, ax
movzx eax, cx
mov cx, word [0x4548d0]
mov dword [ebp - 0x310], eax
test cx, cx
je 0x60de5b
movzx edx, cx
mov esi, 0x4548d4
nop dword [eax]
cmp ax, dx
jb 0x60de45
cmp ax, word [esi - 2]
ja 0x60de45
xor edx, edx
mov ecx, esi
call fcn.0060cf01
mov edi, eax
test edi, edi
jne 0x60e234
mov eax, dword [ebp - 0x310]
movzx ecx, word [esi + 0x10]
add esi, 0x14
mov edx, ecx
test cx, cx
jne 0x60de21
test edi, edi
jne 0x60e234
mov eax, dword [0x454a90]
mov esi, 0x454a90
test eax, eax
je 0x60de8d
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 4]
push eax
call fcn.0062dcf1
add esp, 0xc
test eax, eax
je 0x60de8f
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jne 0x60de69
jmp 0x60de93
xor esi, esi
test esi, esi
jne 0x60deb9
lea eax, [ebp - 0x104]
push 0x450af8
mov dword [ebp - 0x30c], eax
call fcn.0060c111
add esp, 4
lea edx, [ebp - 0x104]
mov esi, 0x454a90
jmp 0x60ded7
push dword [esi + 8]
push 0x450b60
call fcn.0060c111
lea edx, [ebp - 0x104]
add esp, 8
add edx, dword [esi]
mov dword [ebp - 0x30c], edx
lea ecx, [edx + 0x100]
mov edi, edx
cmp edx, ecx
jae 0x60def2
mov al, byte [edi]
cmp al, 0xd
je 0x60df0f
cmp al, 0xa
je 0x60df0f
inc edi
cmp edi, ecx
jb 0x60dee3
push 0x450bc0
call fcn.0060c111
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060eeb6
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
cmp eax, 0x4b0
jne 0x60df1c
inc edi
jmp 0x60df26
cmp eax, 0x2ee0
jne 0x60df26
add edi, 3
mov esi, edi
add edi, 1
je 0x60def2
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x310], ecx
cmp eax, 0x2ee0
ja 0x60e075
je 0x60e007
sub eax, 0x4b0
je 0x60dfc9
sub eax, 1
jne 0x60deff
test cl, 1
je 0x60df77
push ecx
push 0x450c20
call fcn.0060c111
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060eeb6
mov esp, ebp
pop ebp
ret
test ecx, ecx
jle 0x60e10a
lea edi, [ebp - 0x308]
sub edi, dword [ebp - 0x30c]
lea edx, [ebp + ecx - 0x30a]
mov dword [ebp - 0x30c], edi
lea edi, [ecx - 1]
mov ecx, dword [ebp - 0x30c]
shr edi, 1
inc edi
movzx eax, byte [esi - 1]
lea esi, [esi - 2]
mov byte [ecx + esi + 2], al
lea edx, [edx - 2]
movzx eax, byte [esi + 2]
mov byte [edx + 2], al
sub edi, 1
jne 0x60dfa4
mov ecx, dword [ebp - 0x310]
jmp 0x60e10a
push ecx
test cl, 1
je 0x60dfec
push 0x450ca0
call fcn.0060c111
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060eeb6
mov esp, ebp
pop ebp
ret
push edx
lea eax, [ebp - 0x308]
push eax
call fcn.00618271
mov ecx, dword [ebp - 0x310]
add esp, 0xc
jmp 0x60e10a
mov eax, ecx
and eax, 0x80000003
jns 0x60e017
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x60e037
push ecx
push 0x450d48
call fcn.0060c111
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060eeb6
mov esp, ebp
pop ebp
ret
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
jle 0x60e10a
lea esi, [ecx - 1]
add edi, 0xfffffffc
shr esi, 2
lea edx, [ebp + eax - 0x30a]
inc esi
movzx eax, byte [edi + 1]
lea edi, [edi - 4]
mov byte [edx + 1], al
lea edx, [edx - 2]
movzx eax, byte [edi + 4]
mov byte [edx + 2], al
sub esi, 1
jne 0x60e057
jmp 0x60e10a
cmp eax, 0x2ee1
je 0x60e0a2
cmp eax, 0xfde9
jne 0x60deff
push 0x100
lea esi, [ebp - 0x308]
push esi
push ecx
push edx
push 0
push eax
call dword [0x448068]
mov ecx, eax
jmp 0x60e10c
mov eax, ecx
and eax, 0x80000003
jns 0x60e0b2
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x60e0d2
push ecx
push 0x450cf8
call fcn.0060c111
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.0060eeb6
mov esp, ebp
pop ebp
ret
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
jle 0x60e10a
lea edi, [ecx - 1]
shr edi, 2
lea edx, [ebp + eax - 0x30a]
inc edi
nop word [eax + eax]
movzx eax, byte [esi - 1]
lea esi, [esi - 4]
mov byte [edx + 1], al
lea edx, [edx - 2]
movzx eax, byte [esi + 4]
mov byte [edx + 2], al
sub edi, 1
jne 0x60e0f1
shr ecx, 1
test ecx, ecx
jle 0x60deff
dec ecx
lea eax, [ecx + ecx]
cmp eax, 0x202
jae 0x60e22f
xor edx, edx
mov word [ebp + eax - 0x308], dx
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x30c]
mov edx, ecx
push eax
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x308]
call fcn.0060d891
mov esi, dword [ebp - 0x310]
add esp, 0xc
mov edi, eax
test esi, esi
je 0x60deff
push esi
push 0x450d98
call fcn.0060c111
add esp, 8
test edi, edi
je 0x60e252
push 0x20
push esi
call fcn.0060ff56
mov edi, eax
add esp, 8
test edi, edi
je 0x60e198
xor eax, eax
lea ecx, [edi + 2]
mov word [edi], ax
call fcn.0060c0d1
mov edi, eax
push 6
push 0x4508b4
push esi
call fcn.0062f8fc
add esp, 0xc
test eax, eax
jne 0x60e265
add esi, 0xc
cmp dword [ebp - 0x31c], eax
je 0x60e201
movzx eax, word [esi]
test ax, ax
je 0x60e1d0
push eax
call fcn.0062f281
add esp, 4
test eax, eax
je 0x60e201
push 0x450e18
call fcn.0060c111
add esp, 4
mov ecx, 0x44fd88
call fcn.0060d431
test eax, eax
jne 0x60e272
push 0x450e64
push 0x450e7c
call fcn.0060c111
add esp, 8
cmp word [esi], 0
je 0x60e216
mov ecx, esi
call fcn.0060db21
test eax, eax
je 0x60e2a0
mov edx, 1
mov ecx, esi
call fcn.0060cf01
test eax, eax
jne 0x60e2ba
jmp 0x60e2ad
call fcn.0060efe8
push edi
push 0x450aa0
call fcn.0060c111
add esp, 8
lea ecx, [edi + 0x14]
xor edx, edx
push dword [ebp - 0x314]
call fcn.0060d271
push dword [ebp - 0x314]
mov edx, dword [ebp - 0x30c]
mov ecx, esi
call fcn.0060d271
push esi
push 0x450de0
push 0x66
call fcn.0060c161
lea esi, [eax + 0x208]
push esi
push 0x450e7c
call fcn.0060c111
push esi
push 0x450ea8
call fcn.0060c111
add esp, 0x10
mov edx, edi
mov ecx, esi
push dword [ebp - 0x314]
call fcn.0060d271
push esi
push 0x450ee8
push 0x66
call fcn.0060c161
push esi
push 0x451030
push 0x67
call fcn.0060c161
push dword [ebp - 0x314]
lea ecx, [eax + 0x14]
mov edx, edi
call fcn.0060d271
int3