Function at 0x62d910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0xc0
mov esi, dword [ebp + 8]
mov eax, dword [0x7adbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x17c]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0
test eax, eax
jge 0x62d94f
neg eax
or byte [esi + 0x1aa], 0x20
mov dword [esi + 0x17c], eax
test ebx, ebx
jle 0x62da93
or byte [esi + 0x1ad], 1
mov eax, dword [esi + 0x17c]
cmp ebx, eax
jle 0x62d97b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0
jmp 0x62d990
mov eax, 0
mov dword [ebp - 0x14], ebx
sete al
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], eax
movzx ecx, byte [esi + 0x1a8]
lea eax, [ebp - 0x1c]
and ecx, 0x80
mov edx, edi
mov dword [esp + 0xc], eax
shr ecx, 7
movzx eax, byte [esi + 0x1a9]
mov dword [esp + 0x10], ecx
and eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x16c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x14]
call fcn.0062d00c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add edi, ecx
mov eax, dword [esi + 0x17c]
sub ebx, ecx
sub eax, ecx
test byte [esi + 0x1aa], 0x20
jne 0x62d9fa
mov dword [esi + 0x17c], eax
jmp 0x62da02
neg eax
mov dword [esi + 0x17c], eax
test ecx, ecx
jle 0x62da31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3e3
je 0x62ec8d
cmp dword [ebp - 0x18], 0
je 0x62ebfc
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x62eba8
cmp ecx, dword [ebp - 0x14]
jl 0x62eb84
cmp dword [ebp - 0x20], 1
jne 0x62da4d
test byte [esi + 0x1aa], 0x20
je 0x62dd62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3e3
je 0x62eb77
cmp dword [ebp - 0x18], 0
je 0x62eae6
cmp dword [ebp - 0x1c], 0
je 0x62ea92
cmp dword [ebp - 0x20], 1
je 0x62e2ad
cmp dword [ebp - 0x28], 1
je 0x62e2a0
test ebx, ebx
jg 0x62d957
test edi, edi
je 0x62dab9
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
movzx eax, byte [esi + 0x1ad]
mov ecx, eax
and eax, 0xfffffffe
and ecx, 1
mov byte [esi + 0x1ad], al
movzx eax, byte [esi + 0x1ac]
mov edx, eax
not edx
and edx, 0x80
shr edx, 5
movzx edi, word [esi + 0x18a]
lea ebx, [edx + 4]
mov dword [ebp - 0x98], ebx
test edi, edi
jg 0x62dd44
mov ebx, dword [esi + 0xb0]
test al, 0x40
je 0x62db5f
test ebx, ebx
jbe 0x62db42
mov edi, dword [esi + 0x17c]
lea edx, [edi + edx + 4]
cmp edx, ebx
jae 0x62db20
add dword [esi + 0x50], edx
sub ebx, edx
jmp 0x62dc47
mov eax, edi
cdq
add edi, dword [ebp - 0x98]
mov eax, ebx
adc edx, 0
sub edi, ebx
mov dword [ebp - 0xac], edx
cdq
sbb dword [ebp - 0xac], edx
jmp 0x62dc3d
mov edi, dword [esi + 0x17c]
mov eax, edi
cdq
add edi, dword [ebp - 0x98]
adc edx, 0
mov dword [ebp - 0xac], edx
jmp 0x62dc3d
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x4c]
mov esi, dword [esi + 0x10c]
mov dword [ebp - 0xa0], edx
add edx, ebx
mov dword [ebp - 0x9c], esi
add esi, edi
mov dword [ebp - 0xa8], esi
cmp edx, esi
mov esi, dword [ebp + 8]
je 0x62dbe6
test ecx, ecx
jne 0x62dbd1
mov edx, dword [esi + 0x68]
mov dword [ebp - 0xac], edx
test edx, edx
je 0x62dbd1
cmp edi, dword [ebp - 0xac]
jae 0x62dbd1
mov edx, dword [ebp - 0xa8]
cmp edx, dword [ebp - 0xac]
jb 0x62dbd1
je 0x62dbd1
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0xa0]
mov dword [ebp - 0xac], edx
cmp ebx, edx
je 0x62dbea
mov ebx, edx
mov dword [esi + 0xb0], ebx
jmp 0x62dbea
sub edi, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
lea ebx, [edx + edi]
mov dword [esi + 0xb0], ebx
test ecx, ecx
jne 0x62dc5c
test al, 1
je 0x62dc24
mov edi, dword [ebp - 0x98]
xor edx, edx
sub edi, ebx
mov eax, dword [esi + 0x17c]
sbb edx, 0
add edi, dword [esi + 0x17c]
mov dword [ebp - 0xac], edx
cdq
mov eax, dword [ebp - 0xac]
adc eax, edx
add edi, 0xfffffffc
adc eax, 0xffffffff
mov dword [ebp - 0xac], eax
jmp 0x62dc3d
mov edi, dword [ebp - 0x98]
xor edx, edx
sub edi, ebx
sbb edx, 0
add edi, 0xfffffffc
adc edx, 0xffffffff
mov dword [ebp - 0xac], edx
mov edx, edi
or edx, dword [ebp - 0xac]
jne 0x62dca4
test ecx, ecx
jne 0x62dc77
sub ebx, dword [ebp - 0x98]
add ebx, 4
mov dword [esi + 0xb0], ebx
jmp 0x62dc82
mov edi, dword [esi + 0x17c]
mov eax, edi
cdq
add edi, 4
mov ecx, edi
adc edx, 0
mov dword [ebp - 0xac], edx
or ecx, edx
jne 0x62dca4
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0x64], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
push 1
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0x78]
push edx
push edi
push dword [esi + 0x104]
mov dword [ebp - 0x7c], edi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
mov dword [ebp - 0x7c], edi
cmp edi, 0xffffffff
je 0x62e279
mov ebx, dword [ebp - 0x78]
push 1
xor edx, edx
lea eax, [ebp - 0x70]
push eax
push edx
push dword [esi + 0x104]
mov dword [ebp - 0x74], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor edx, edx
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
je 0x62e259
mov eax, 0xffffffff
sub edi, eax
sub ebx, eax
or edi, ebx
je 0x62e22c
test byte [esi + 0x1aa], 0x20
jne 0x62dd8f
mov eax, dword [esi + 0x4c]
mov dword [esi + 0xb0], edx
mov dword [esi + 0x64], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], edx
mov dword [esi + 0x68], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
and byte [esi + 0x1ad], 0xfe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x43
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.00693023
mov dword [esi + 0xb0], 0
movzx edx, byte [esi + 0x1a8]
and edx, 0x80
mov eax, dword [esi + 0x104]
movzx ebx, byte [esi + 0x1a9]
shr edx, 7
and ebx, 1
mov edi, dword [esi + 0x16c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x28], 0xfffffffc
je 0x62e214
cmp dword [0x80ec60], 0
je 0x62de8f
lea eax, [edi - 1]
cmp eax, 1
ja 0x62ddf5
xor ebx, ebx
jmp 0x62df47
cmp dword [ebp - 0x80], 0
je 0x62de87
cmp edi, 0xfffffffa
je 0x62e082
test edi, edi
je 0x62e049
test ebx, ebx
je 0x62de8f
mov dword [ebp - 0xa0], 0
push dword [ebp - 0x88]
call fcn.00692300
push dword [ebp - 0x88]
call fcn.00692470
add esp, 8
cmp dword [ebp - 0xa0], 0
je 0x62de8f
push dword [ebp - 0x88]
push 4
lea eax, [ebp - 0x6c]
push eax
call fcn.006923a0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x1c], ebx
cmp ebx, 0xffffffff
je 0x62ddee
push 0
push dword [ebp - 0x88]
push 2
push 0x74b6a8
call fcn.00692360
add esp, 0x10
mov byte [ebp + ebx - 0x6c], 0xa
mov ebx, 1
inc dword [ebp - 0x1c]
jmp 0x62df47
test edi, edi
je 0x62e049
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x168]
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x62df1a
cmp eax, 4
jae 0x62df1a
test edi, edi
je 0x62df1a
test eax, eax
lea edi, [ebp - 0x6c]
jne 0x62debd
mov eax, 0x20000
mov ebx, 4
mov esi, eax
push 0
lea edx, [ebp - 0xac]
push edx
push esi
push edi
push dword [ebp - 0x84]
mov dword [edx + 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, eax
test edx, edx
je 0x62df15
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xac]
sub ebx, eax
add dword [ebp - 0x1c], eax
add edi, eax
mov ecx, dword [ecx + 0x168]
test ecx, ecx
jne 0x62df03
mov ecx, 0x20000
cmp ebx, ecx
ja 0x62df09
mov esi, ebx
test ebx, ebx
je 0x62df15
cmp eax, dword [ebp - 0xa8]
je 0x62dec4
mov esi, dword [ebp + 8]
jmp 0x62df40
push 0
lea eax, [ebp - 0xac]
push eax
push 4
lea edx, [ebp - 0x6c]
push edx
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
test edx, edx
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e3
je 0x62e207
test ebx, ebx
je 0x62e17c
cmp dword [ebp - 0x1c], 0
je 0x62e123
movzx ebx, byte [ebp - 0x6c]
movzx ecx, byte [ebp - 0x6b]
movzx edx, byte [ebp - 0x6a]
movzx eax, byte [ebp - 0x69]
test byte [esi + 0x1a5], 0x20
je 0x62df99
shl edx, 8
shl ecx, 0x10
or eax, edx
shl ebx, 0x18
or eax, ecx
or eax, ebx
jl 0x62dfb9
jmp 0x62dfaa
shl ecx, 8
shl edx, 0x10
or ebx, ecx
shl eax, 0x18
or ebx, edx
or eax, ebx
jl 0x62dfb9
mov dword [esi + 0x17c], eax
and byte [esi + 0x1aa], 0xdf
jmp 0x62dfc1
neg eax
mov dword [esi + 0x17c], eax
push 1
mov ebx, eax
lea ecx, [ebp - 0x90]
push ecx
cdq
add ebx, 4
push ebx
adc edx, 0
push dword [esi + 0x104]
mov dword [ecx - 4], ebx
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov dword [ebp - 0x94], ecx
cmp ecx, 0xffffffff
je 0x62e0f5
mov edx, dword [ebp - 0x90]
mov eax, 0xffffffff
sub ecx, eax
sub edx, eax
or ecx, edx
je 0x62e0c5
push 1
xor edx, edx
lea eax, [ebp - 0x98]
push eax
push edx
push dword [esi + 0x104]
mov dword [eax - 4], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x9c], eax
cmp eax, 0xffffffff
je 0x62e0a5
test byte [esi + 0x1aa], 0x20
jne 0x62dd99
xor edx, edx
jmp 0x62dd15
call fcn.00692590
mov dword [ebp - 0x88], eax
cmp dword [0x80ec60], 0
je 0x62de40
cmp dword [ebp - 0x80], 0
je 0x62de40
test ebx, ebx
je 0x62de40
mov dword [ebp - 0xa0], 1
jmp 0x62de1e
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
test ebx, ebx
je 0x62de40
mov dword [ebp - 0xa0], 1
jmp 0x62de1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x62e035
mov eax, 0xffffffff
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
jmp 0x62e035
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x108], eax
and byte [esi + 0x1ad], 0xfe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x62e112
mov eax, 0xffffffff
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
jmp 0x62e0c5
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
jmp 0x62dffc
and byte [esi + 0x1ad], 0xfe
cmp dword [esi + 0x124], 0xfffffffc
je 0x62e14d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
call fcn.0060c3e0
cmp eax, 1
jle 0x62e133
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x30d
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
and byte [esi + 0x1ad], 0xfe
mov dword [esi + 0x108], edi
cmp edi, 0x26
jne 0x62e1b3
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp edi, 0x6d
jne 0x62e1c8
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, dword [esi + 0x104]
je 0x62e1ed
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x62df5b
call fcn.0060c3e0
cmp eax, 1
jle 0x62ddd9
mov ebx, 1
jmp 0x62df47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x108], eax
and byte [esi + 0x1ad], 0xfe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
test eax, eax
je 0x62dcfb
mov eax, 0xffffffff
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
jmp 0x62dcfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x62e295
mov edi, 0xffffffff
mov dword [ebp - 0x7c], edi
mov ebx, edi
mov dword [ebp - 0x78], edi
jmp 0x62dcd3
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x78]
jmp 0x62dcd3
test byte [esi + 0x1aa], 0x20
je 0x62da8b
mov eax, dword [esi + 0x104]
mov dword [ebp - 0x48], eax
movzx eax, byte [esi + 0x1a8]
and eax, 0x80
shr eax, 7
mov dword [ebp - 0x3c], eax
movzx eax, byte [esi + 0x1a9]
and eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x16c]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x28], 0xfffffffc
je 0x62ea75
cmp dword [0x80ec60], 0
je 0x62e3bc
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x62e31c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0
jmp 0x62e4c4
cmp dword [ebp - 0x3c], 0
je 0x62e3b2
cmp dword [ebp - 0x38], 0xfffffffa
je 0x62e7e5
cmp dword [ebp - 0x38], 0
je 0x62e7b0
cmp dword [ebp - 0x44], 0
je 0x62e3bc
mov dword [ebp - 0x7c], 0
push dword [ebp - 0x4c]
call fcn.00692300
push dword [ebp - 0x4c]
call fcn.00692470
add esp, 8
cmp dword [ebp - 0x7c], 0
je 0x62e3bc
push dword [ebp - 0x4c]
push 4
push dword [ebp - 0x34]
call fcn.006923a0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
je 0x62e7a4
push 0
push dword [ebp - 0x4c]
push 2
push 0x74b6a8
mov dword [ebp - 0x68], ecx
call fcn.00692360
mov ecx, dword [ebp - 0x68]
add esp, 0x10
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], 1
mov byte [ecx + eax], 0xa
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x62e4c4
cmp dword [ebp - 0x38], 0
je 0x62e7b0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esi + 0x168]
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x62e497
cmp edx, 4
jae 0x62e497
cmp dword [ebp - 0x38], 0
je 0x62e497
test edx, edx
mov dword [ebp - 0x98], ebx
jne 0x62e3fb
mov edx, 0x20000
mov eax, 4
mov dword [ebp - 0x84], edx
mov esi, eax
mov dword [ebp - 0x94], edi
mov ebx, dword [ebp - 0x34]
push 0
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x8c]
push edx
push ecx
push ebx
push dword [ebp - 0x48]
mov dword [edx + 4], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x8c]
test eax, eax
je 0x62e47d
mov edi, dword [ebp + 8]
sub esi, edx
mov ecx, dword [ebp - 0x1c]
add ebx, edx
add ecx, edx
mov edi, dword [edi + 0x168]
test edi, edi
mov dword [ebp - 0x1c], ecx
jne 0x62e456
mov edi, 0x20000
cmp esi, edi
ja 0x62e460
mov dword [ebp - 0x84], esi
test esi, esi
je 0x62e46c
cmp edx, dword [ebp - 0x88]
je 0x62e411
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp + 8]
jmp 0x62e4b7
mov dword [ebp - 0xa8], edx
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
jmp 0x62e4b7
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
push dword [ebp - 0x34]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], ecx
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x40], eax
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x68], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3e3
je 0x62ea68
cmp dword [ebp - 0x40], 0
je 0x62e9d7
cmp dword [ebp - 0x1c], 0
je 0x62e983
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
movzx ecx, byte [esi + 0x1a8]
movzx eax, byte [esi + 0x1a9]
and ecx, 0x80
and eax, 1
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x16c]
shr ecx, 7
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x1c], 0
cmp dword [esi + 0x28], 0xfffffffc
je 0x62e95a
cmp dword [0x80ec60], 0
je 0x62e5ff
mov eax, dword [ebp - 0x5c]
lea eax, [eax - 1]
cmp eax, 1
ja 0x62e561
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], 0
jmp 0x62e707
test ecx, ecx
je 0x62e5f5
cmp dword [ebp - 0x5c], 0xfffffffa
je 0x62e84c
cmp dword [ebp - 0x5c], 0
je 0x62e80d
cmp dword [ebp - 0x54], 0
je 0x62e5ff
mov dword [ebp - 0x80], 0
push dword [ebp - 0x6c]
call fcn.00692300
push dword [ebp - 0x6c]
call fcn.00692470
add esp, 8
cmp dword [ebp - 0x80], 0
je 0x62e5ff
push dword [ebp - 0x6c]
push 4
push dword [ebp - 0x58]
call fcn.006923a0
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xffffffff
je 0x62e801
push 0
push dword [ebp - 0x6c]
push 2
push 0x74b6a8
mov dword [ebp - 0x78], ecx
call fcn.00692360
mov ecx, dword [ebp - 0x78]
add esp, 0x10
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], 1
mov byte [ecx + eax], 0xa
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x62e707
cmp dword [ebp - 0x5c], 0
je 0x62e80d
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esi + 0x168]
mov dword [ebp - 0x1c], 0
test edx, edx
je 0x62e6da
cmp edx, 4
jae 0x62e6da
cmp dword [ebp - 0x5c], 0
je 0x62e6da
test edx, edx
mov dword [ebp - 0x98], ebx
jne 0x62e63e
mov edx, 0x20000
mov eax, 4
mov dword [ebp - 0x9c], edx
mov esi, eax
mov dword [ebp - 0x94], edi
mov ebx, dword [ebp - 0x58]
push 0
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xa4]
push edx
push ecx
push ebx
push dword [ebp - 0x60]
mov dword [edx + 4], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0xa4]
test eax, eax
je 0x62e6c0
mov edi, dword [ebp + 8]
sub esi, edx
mov ecx, dword [ebp - 0x1c]
add ebx, edx
add ecx, edx
mov edi, dword [edi + 0x168]
test edi, edi
mov dword [ebp - 0x1c], ecx
jne 0x62e699
mov edi, 0x20000
cmp esi, edi
ja 0x62e6a3
mov dword [ebp - 0x9c], esi
test esi, esi
je 0x62e6af
cmp edx, dword [ebp - 0xa0]
je 0x62e654
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp + 8]
jmp 0x62e6fa
mov dword [ebp - 0xac], edx
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
jmp 0x62e6fa
push 0
lea eax, [ebp - 0xa4]
push eax
push 4
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], ecx
test eax, eax
mov eax, 0
setne al
mov dword [ebp - 0x64], eax
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x68], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x3e3
je 0x62e94d
cmp dword [ebp - 0x64], 0
je 0x62e8bc
cmp dword [ebp - 0x1c], 0
je 0x62e868
mov eax, dword [esi + 0x4c]
test byte [esi + 0x1a5], 0x20
movzx edx, byte [eax + 1]
mov dword [ebp - 0x70], edx
movzx edx, byte [eax + 2]
movzx ecx, byte [eax]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x74], edx
je 0x62e76e
shl edx, 8
or eax, edx
mov edx, dword [ebp - 0x70]
shl edx, 0x10
shl ecx, 0x18
or eax, edx
or eax, ecx
jl 0x62e797
jmp 0x62e785
mov edx, dword [ebp - 0x70]
shl edx, 8
or ecx, edx
mov edx, dword [ebp - 0x74]
shl edx, 0x10
shl eax, 0x18
or ecx, edx
or eax, ecx
jl 0x62e797
mov dword [esi + 0x17c], eax
and byte [esi + 0x1aa], 0xdf
jmp 0x62da8b
neg eax
mov dword [esi + 0x17c], eax
jmp 0x62da8b
mov dword [ebp - 0x40], 0
jmp 0x62e4c4
call fcn.00692590
mov dword [ebp - 0x4c], eax
cmp dword [0x80ec60], 0
je 0x62e360
cmp dword [ebp - 0x3c], 0
je 0x62e360
cmp dword [ebp - 0x44], 0
je 0x62e360
mov dword [ebp - 0x7c], 1
jmp 0x62e347
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x44], 0
je 0x62e360
mov dword [ebp - 0x7c], 1
jmp 0x62e347
mov dword [ebp - 0x64], 0
jmp 0x62e707
mov dword [ebp - 0x90], ecx
call fcn.00692590
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
cmp dword [0x80ec60], 0
je 0x62e5a3
test ecx, ecx
je 0x62e5a3
cmp dword [ebp - 0x54], 0
je 0x62e5a3
mov dword [ebp - 0x80], 1
jmp 0x62e58a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x54], 0
je 0x62e5a3
mov dword [ebp - 0x80], 1
jmp 0x62e58a
and byte [esi + 0x1ad], 0xfe
cmp dword [esi + 0x124], 0xfffffffc
je 0x62e895
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
call fcn.0060c3e0
cmp eax, 1
jle 0x62e878
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e16f
mov eax, dword [ebp - 0x50]
and byte [esi + 0x1ad], 0xfe
mov dword [esi + 0x108], eax
cmp eax, 0x26
jne 0x62e8f6
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 0x6d
jne 0x62e90b
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, dword [esi + 0x104]
je 0x62e930
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x62e723
mov dword [ebp - 0x90], ecx
call fcn.0060c3e0
mov ecx, dword [ebp - 0x90]
cmp eax, 1
jle 0x62e53a
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], 1
jmp 0x62e707
and byte [esi + 0x1ad], 0xfe
cmp dword [esi + 0x124], 0xfffffffc
je 0x62e9b0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
call fcn.0060c3e0
cmp eax, 1
jle 0x62e993
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e16f
mov eax, dword [ebp - 0x30]
and byte [esi + 0x1ad], 0xfe
mov dword [esi + 0x108], eax
cmp eax, 0x26
jne 0x62ea11
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 0x6d
jne 0x62ea26
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, dword [esi + 0x104]
je 0x62ea4b
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x62e4e0
call fcn.0060c3e0
cmp eax, 1
jle 0x62e2f5
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 1
jmp 0x62e4c4
and byte [esi + 0x1ad], 0xfe
cmp dword [esi + 0x124], 0xfffffffc
je 0x62eabf
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
call fcn.0060c3e0
cmp eax, 1
jle 0x62eaa2
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e16f
mov eax, dword [ebp - 0x24]
and byte [esi + 0x1ad], 0xfe
mov dword [esi + 0x108], eax
cmp eax, 0x26
jne 0x62eb20
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 0x6d
jne 0x62eb35
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, dword [esi + 0x104]
je 0x62eb5a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x62da63
and byte [esi + 0x1ad], 0xfe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1e0
and byte [esi + 0x1ad], 0xfe
cmp dword [esi + 0x124], 0xfffffffc
je 0x62ebd5
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
call fcn.0060c3e0
cmp eax, 1
jle 0x62ebb8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e16f
mov eax, dword [ebp - 0x2c]
and byte [esi + 0x1ad], 0xfe
mov dword [esi + 0x108], eax
cmp eax, 0x26
jne 0x62ec36
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp eax, 0x6d
jne 0x62ec4b
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp eax, dword [esi + 0x104]
je 0x62ec70
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
mov eax, 0x27
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x7adbc0]
jne 0x62dd8a
jmp 0x62e1a6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x62da1c