Function at 0x697be4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x697bed
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x698dac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x697c2e
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.006c1fd0
movzx eax, byte [eax + 0x1a9]
mov byte [ebp - 0x1e], al
jmp 0x697c3a
lea eax, [ebp - 4]
call fcn.00405924
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 8]
call fcn.00405924
xor edx, edx
push ebp
push 0x698d7a
push dword fs:[edx]
mov dword fs:[edx], esp
test dword [ebp + 0x10], 1
jle 0x697e8a
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x818]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x697e8a
mov eax, dword [0x6ead30]
cmp byte [eax], 0
je 0x697e8a
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
call fcn.004db790
xor edx, edx
push ebp
push 0x697d77
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
mov edx, dword [ebp + 0x20]
call fcn.004db528
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x697d5d
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov ebx, eax
cmp dword [ebx], 0
jne 0x697ce8
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
call fcn.00405d5c
je 0x697cf5
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
call fcn.00405d5c
jne 0x697d17
mov eax, dword [ebp + 8]
mov edx, 0x698dc4
call fcn.00405978
call fcn.0045f40c
fstp qword [ebx + 0x10]
wait
cmp dword [ebp + 0x10], 1
jle 0x697d5d
sub dword [ebp + 0x10], 2
jmp 0x697d5d
mov edx, dword [ebx]
mov eax, dword [ebp - 0x18]
call fcn.00405f14
test eax, eax
jle 0x697d56
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
call fcn.00405978
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x697d3b
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg byte [ebp - 0x1d]
call fcn.0045f40c
fstp qword [ebx + 0x10]
wait
cmp dword [ebp + 0x10], 1
jle 0x697d5d
sub dword [ebp + 0x10], 2
jmp 0x697d5d
mov dword [ebp - 0x1c], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x697d7e
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
call fcn.004db7b8
ret
mov eax, dword [ebp + 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00696548
cmp dword [ebp - 4], 0
je 0x697f6f
mov edx, dword [ebp - 4]
mov eax, 0x698dd0
call fcn.00405f14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x697f21
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0x1c]
add edx, 2
mov ecx, 0x3e8
mov eax, dword [ebp - 4]
call fcn.00405e30
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 8]
call fcn.00405f14
dec eax
jge 0x697f0d
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x697eff
mov eax, dword [ebp + 0x18]
mov edx, 0x698ddc
call fcn.00405c00
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
call fcn.00405c00
mov eax, dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.00405924
mov edx, dword [ebp - 0x1c]
dec edx
lea eax, [ebp - 4]
call fcn.00406058
mov edx, dword [ebp - 4]
mov eax, 0x698de8
call fcn.00405f14
test eax, eax
jne 0x697f42
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
call fcn.00405c4c
jmp 0x697f6f
mov eax, dword [0x6eaf98]
cmp byte [eax], 0
je 0x697f64
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.00405f14
dec eax
je 0x697f64
lea eax, [ebp - 8]
call fcn.00405924
jmp 0x697f6f
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004059bc
cmp dword [ebp - 8], 0
jne 0x69806e
lea eax, [ebp - 4]
mov edx, dword [ebp + 0x20]
call fcn.004059bc
cmp dword [ebp - 4], 0
jne 0x697f99
lea eax, [ebp - 4]
mov edx, 0x698df4
call fcn.004059bc
jmp 0x697fbb
mov edx, dword [ebp - 4]
mov eax, 0x698e00
call fcn.00405f14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x697fbb
mov edx, dword [ebp - 0x1c]
dec edx
lea eax, [ebp - 4]
call fcn.00406058
xor eax, eax
push ebp
push 0x697ffe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
movzx ecx, byte [ebp - 0x1e]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.006973fc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00405c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x69806e
mov eax, dword [0x6eaf98]
cmp byte [eax], 0
je 0x6980d4
call fcn.006c1ffc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x6980cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x698e48
mov eax, dword [ebp - 0x24]
call fcn.006c3a4c
mov eax, dword [ebp - 0x24]
add eax, 0xcc
call fcn.00405924
lea edx, [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.006c5a1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6980d4
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.006c3530
ret
mov edx, dword [ebp - 8]
mov eax, 0x698e58
call fcn.00405f14
test eax, eax
jg 0x6980fa
mov edx, dword [ebp - 8]
mov eax, 0x698e64
call fcn.00405f14
test eax, eax
jle 0x6981f1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405978
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69811d
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x69815e
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69815e
call fcn.00405328
jmp 0x698d84
cmp byte [ebp + 0xc], 0
je 0x698176
mov eax, dword [ebp + 8]
mov ecx, 0x698e80
mov edx, dword [ebp - 8]
call fcn.00405c4c
jmp 0x698186
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69819e
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6981df
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6981df
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
call fcn.00405924
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp - 8]
test eax, eax
je 0x6981fd
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x698218
mov eax, dword [ebp + 8]
call fcn.00405924
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
cmp byte [eax + edx - 1], 0x5c
jne 0x698786
mov edx, dword [ebp - 8]
mov eax, 0x698e9c
call fcn.00405f14
test eax, eax
jle 0x698508
cmp eax, 0xa
jge 0x698508
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69826f
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6982b0
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6982b0
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6982d8
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698319
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698319
call fcn.00405328
jmp 0x698d84
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405e30
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 0xc]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698356
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698397
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698397
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 0xc]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6983bf
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698400
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698400
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698eb4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698428
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698469
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698469
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698eb4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698491
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6984d2
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6984d2
call fcn.00405328
jmp 0x698d84
cmp byte [ebp + 0xc], 0
je 0x698779
mov eax, dword [ebp + 8]
mov ecx, 0x698ec8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698779
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp - 8]
call fcn.006ac3f0
mov ebx, eax
cmp ebx, 1
jne 0x6985f1
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698544
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698586
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698586
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x6985af
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6985f1
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x6985f1
call fcn.00405328
jmp 0x698d84
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405e30
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 0xc]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x69862f
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698671
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698671
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 0xc]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x69869a
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6986dc
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x6986dc
call fcn.00405328
jmp 0x698d84
dec ebx
jne 0x69874a
mov eax, dword [ebp + 8]
mov ecx, 0x698eb4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698708
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x69874a
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x69874a
call fcn.00405328
jmp 0x698d84
cmp byte [ebp + 0xc], 0
je 0x698779
mov eax, dword [ebp + 8]
mov ecx, 0x698ec8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698779
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
call fcn.00405924
jmp 0x698c5e
mov edx, dword [ebp - 8]
mov eax, 0x698e9c
call fcn.00405f14
test eax, eax
jle 0x6989f3
cmp eax, 0xa
jge 0x6989f3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405978
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6987ce
test bl, 0x10
jne 0x6987ce
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x69880f
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69880f
call fcn.00405328
jmp 0x698d84
cmp ebx, 0xffffffff
je 0x698841
test bl, 0x10
je 0x698841
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698841
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698882
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698882
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6988aa
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6988eb
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6988eb
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698ee4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698913
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698954
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698954
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698ef0
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x69897c
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x6989bd
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x6989bd
call fcn.00405328
jmp 0x698d84
cmp byte [ebp + 0xc], 0
je 0x698c56
mov eax, dword [ebp + 8]
mov ecx, 0x698e80
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac278
test al, al
je 0x698c56
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp - 8]
call fcn.006ac3f0
mov ebx, eax
cmp ebx, 2
jne 0x698a17
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405978
call fcn.00405328
jmp 0x698d84
test ebx, ebx
jne 0x698a6f
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698a6f
lea eax, [ebp - 0x34]
mov ecx, 0x698e70
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp - 0x34]
call fcn.006ac3f0
mov ebx, eax
cmp ebx, 2
jne 0x698a6d
mov eax, dword [ebp + 8]
mov ecx, 0x698e70
mov edx, dword [ebp - 8]
call fcn.00405c4c
call fcn.00405328
jmp 0x698d84
xor ebx, ebx
cmp ebx, 1
jne 0x698a9d
mov eax, dword [ebp + 8]
mov ecx, 0x698ea8
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698a9d
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698adf
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698adf
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698e90
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698b08
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698b4a
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698b4a
call fcn.00405328
jmp 0x698d84
dec ebx
jne 0x698c27
mov eax, dword [ebp + 8]
mov ecx, 0x698ee4
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698b7a
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698bbc
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698bbc
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
mov ecx, 0x698ef0
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698be5
call fcn.00405328
jmp 0x698d84
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xd94]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698c27
mov eax, dword [ebp + 8]
mov edx, 0x698e70
call fcn.00405c00
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698c27
call fcn.00405328
jmp 0x698d84
cmp byte [ebp + 0xc], 0
je 0x698c56
mov eax, dword [ebp + 8]
mov ecx, 0x698e80
mov edx, dword [ebp - 8]
call fcn.00405c4c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.006ac3f0
cmp eax, 2
jne 0x698c56
call fcn.00405328
jmp 0x698d84
mov eax, dword [ebp + 8]
call fcn.00405924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x698d84
test dword [ebp + 0x10], 2
jle 0x698d79
mov eax, dword [0x6eac5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x818]
mov edx, dword [eax]
call dword [edx + 0xd8]
test al, al
je 0x698d79
mov eax, dword [0x6ead30]
cmp byte [eax], 0
je 0x698d79
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
call fcn.004db790
xor eax, eax
push ebp
push 0x698d72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
mov edx, dword [ebp + 0x20]
call fcn.004db528
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x698ce0
mov eax, dword [ebp + 0x20]
call fcn.006a9d54
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x698d58
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x698d18
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x698d58
mov edx, dword [ebx]
mov eax, dword [ebp - 0x18]
call fcn.00405f14
test eax, eax
jle 0x698d58
mov eax, ebx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
call fcn.00405978
cmp dword [ebx + 4], 0
jne 0x698d37
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x18]
call fcn.00405978
jmp 0x698d4f
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x18]
call fcn.00405d5c
je 0x698d4f
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x18]
call fcn.00405978
call fcn.0045f40c
fstp qword [ebx + 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x698d79
mov eax, dword [0x6eaf50]
mov eax, dword [eax]
call fcn.004db7b8
ret
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x698db3
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405948
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405948
ret