Function at 0x607897
Capabilities:
Check for trap flag exception

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626210
push 0x60db00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x20], 1
push 0x606beb
call fcn.0060d9db
add esp, 4
mov eax, dword [0x62324c]
xor eax, dword [0x6232a4]
push eax
call dword [0x623050]
push eax
push 0x6234c0
lea ecx, [ebp - 0x124]
push ecx
call fcn.0060d901
add esp, 0x10
lea edx, [ebp - 0x124]
push edx
push 0
push 0x1f0001
call dword [0x62304c]
test eax, eax
je 0x607914
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
and eax, 0xff
test eax, eax
je 0x607abb
mov ecx, dword [0x623258]
xor ecx, dword [0x62329c]
xor ecx, dword [0x623270]
and ecx, 0x20
test ecx, ecx
je 0x607abb
mov edx, dword [0x62326c]
xor edx, dword [0x623294]
xor edx, dword [0x62324c]
push edx
push 0x6234cc
lea eax, [ebp - 0x124]
push eax
call fcn.0060d901
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
call dword [0x623048]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
je 0x607abb
call dword [0x623144]
cmp eax, 0xb7
jne 0x607abb
push 0x7530
mov edx, dword [ebp - 0x128]
push edx
call dword [0x623044]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x6079ce
cmp dword [ebp - 0x12c], 0x80
jne 0x607ab1
mov eax, dword [0x62326c]
xor eax, dword [0x623294]
xor eax, dword [0x62324c]
push eax
push 0x6234d4
lea ecx, [ebp - 0x124]
push ecx
call fcn.0060d901
add esp, 0xc
mov dword [ebp - 0x134], 0
jmp 0x607a0f
mov edx, dword [ebp - 0x134]
add edx, 1
mov dword [ebp - 0x134], edx
cmp dword [ebp - 0x134], 0x12c
jge 0x607a48
lea eax, [ebp - 0x124]
push eax
push 0x6234dc
call dword [0x6231dc]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x607a3e
jmp 0x607a48
push 0x64
call dword [0x623040]
jmp 0x607a00
cmp dword [ebp - 0x130], 0
je 0x607aa4
mov ecx, dword [0x62326c]
xor ecx, dword [0x623294]
xor ecx, dword [0x62324c]
mov dword [ebp - 0x140], ecx
mov edx, dword [0x626710]
push edx
call fcn.0060d960
add esp, 4
add eax, 1
mov dword [ebp - 0x13c], eax
mov eax, dword [0x626710]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x140]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x130]
push edx
call dword [0x6231e0]
mov eax, dword [ebp - 0x128]
push eax
call dword [0x62303c]
mov eax, 1
jmp 0x607ef2
push 1
call fcn.00607f03
add esp, 4
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
test ecx, ecx
je 0x607ca4
mov edx, dword [0x623258]
xor edx, dword [0x62329c]
xor edx, dword [0x623270]
and edx, 0x40
test edx, edx
jne 0x607ca4
push 0x200
lea eax, [ebp - 0x340]
push eax
push 0x6234e8
call dword [0x623038]
test eax, eax
jne 0x607ca4
push 0xc8
push 0x23
lea ecx, [ebp - 0x340]
push ecx
call fcn.0060d770
add esp, 0xc
mov byte [ebp - 0x278], 0
mov dword [ebp - 0x444], 1
jmp 0x607b4a
mov edx, dword [ebp - 0x444]
add edx, 1
mov dword [ebp - 0x444], edx
cmp dword [ebp - 0x444], 0x40
jg 0x607b84
mov eax, dword [ebp - 0x444]
push eax
push 0x6234f0
lea ecx, [ebp - 0x440]
push ecx
call fcn.0060d901
add esp, 0xc
lea edx, [ebp - 0x340]
push edx
lea eax, [ebp - 0x440]
push eax
call dword [0x623034]
jmp 0x607b3b
mov ecx, dword [0x623258]
xor ecx, dword [0x62329c]
xor ecx, dword [0x623270]
and ecx, 0x10
test ecx, ecx
jne 0x607ca4
lea edx, [ebp - 0x59c]
push edx
call dword [0x623030]
mov al, byte [0x626a48]
mov byte [ebp - 0x6a0], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x69f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x626a4c]
mov byte [ebp - 0x558], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x557]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x626708], 1
jne 0x607c1f
cmp dword [ebp - 0x590], 0
jne 0x607c1f
lea edx, [ebp - 0x6a0]
push edx
call fcn.00609432
add esp, 4
and eax, 0xff
test eax, eax
je 0x607c1f
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x590], eax
push 0x104
lea ecx, [ebp - 0x558]
push ecx
push 0
call dword [0x62302c]
test eax, eax
jne 0x607c3e
xor eax, eax
jmp 0x607ef2
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x59c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [0x6230b0]
push eax
lea ecx, [ebp - 0x558]
push ecx
call dword [0x623130]
test eax, eax
jne 0x607c9a
mov dword [0x62693c], 6
call dword [0x623144]
push eax
push 0x6234f8
push 0x626940
call fcn.0060d901
add esp, 0xc
xor eax, eax
jmp 0x607ef2
mov eax, 1
jmp 0x607ef2
mov edx, dword [0x623258]
xor edx, dword [0x62329c]
xor edx, dword [0x623270]
and edx, 0x10
test edx, edx
je 0x607e86
mov eax, dword [0x62324c]
xor eax, dword [0x6232a4]
push eax
call dword [0x623050]
push eax
push 0x623518
lea ecx, [ebp - 0x124]
push ecx
call fcn.0060d901
add esp, 0x10
lea edx, [ebp - 0x124]
push edx
push 0
push 0x1f0001
call dword [0x62304c]
test eax, eax
jne 0x607e86
push 1
call dword [0x623134]
push eax
call dword [0x623138]
mov byte [ebp - 0x6a4], 0
push 0x623524
call dword [0x623140]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x607d66
push 0x623530
mov eax, dword [ebp - 0x6a8]
push eax
call dword [0x623148]
mov dword [ebp - 0x740], eax
cmp dword [ebp - 0x740], 0
je 0x607d66
call dword [ebp - 0x740]
test eax, eax
je 0x607d66
mov byte [ebp - 0x6a4], 1
mov dword [ebp - 0x73c], 0x94
lea ecx, [ebp - 0x73c]
push ecx
call dword [0x62313c]
cmp dword [ebp - 0x72c], 2
je 0x607df3
mov byte [ebp - 0x744], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0x607ddc
mov edx, dword [ebp - 0x744]
and edx, 0xff
test edx, edx
jne 0x607df3
mov byte [0x626aa4], 1
mov eax, dword [ebp - 0x6a4]
and eax, 0xff
test eax, eax
je 0x607e30
call dword [0x623050]
push eax
push 0x623544
lea ecx, [ebp - 0x124]
push ecx
call fcn.0060d901
add esp, 0xc
lea edx, [ebp - 0x124]
push edx
push 0
push 0
call dword [0x623048]
jmp 0x607e86
xor eax, eax
cmp dword [0x626708], 0
sete al
push eax
call fcn.006096ed
add esp, 4
and eax, 0xff
test eax, eax
jne 0x607e75
mov dword [0x62693c], 6
call dword [0x623144]
push eax
push 0x62354c
push 0x626940
call fcn.0060d901
add esp, 0xc
xor eax, eax
jmp 0x607ef2
push 0
call fcn.00607f03
add esp, 4
mov eax, 1
jmp 0x607ef2
call fcn.00606c1a
mov dword [ebp - 0x1c], eax
push 0
call fcn.00607f03
add esp, 4
push 0
call fcn.0060d9db
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x607eb9
push 0x626708
call dword [0x626730]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x606beb
call fcn.0060d9db
add esp, 4
cmp dword [0x62672c], 0
je 0x607ed5
call dword [0x62672c]
cmp dword [0x626938], 0
je 0x607eef
push 0
push 0
mov ecx, dword [0x626934]
push ecx
call dword [0x626938]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret