Function at 0x46aa33
Capabilities:
Check for trap flag exception

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503018
push 0x4e39d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x28], 1
mov eax, dword [0x50105c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [0x5011dc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [0x5011e0]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
push 0x4c718c
call dword [0x501120]
add esp, 4
mov eax, dword [0x5012a0]
xor eax, dword [0x50125c]
push eax
call dword [0x501058]
push eax
push 0x501518
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x501134]
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x501054]
test eax, eax
je 0x46aae7
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x46ac90
mov ecx, dword [0x501290]
xor ecx, dword [0x5012a4]
xor ecx, dword [0x5012a8]
and ecx, 0x20
test ecx, ecx
je 0x46ac90
mov edx, dword [0x50129c]
xor edx, dword [0x501278]
xor edx, dword [0x5012a0]
push edx
push 0x501510
lea eax, [ebp - 0x12c]
push eax
call dword [0x501134]
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [0x501050]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x46ac90
call dword [0x5010e4]
cmp eax, 0xb7
jne 0x46ac90
push 0x7530
mov edx, dword [ebp - 0x130]
push edx
call dword [0x50104c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x46aba2
cmp dword [ebp - 0x134], 0x80
jne 0x46ac86
mov eax, dword [0x50129c]
xor eax, dword [0x501278]
xor eax, dword [0x5012a0]
push eax
push 0x501508
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x501134]
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x46abe4
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x12c
jge 0x46ac1d
lea eax, [ebp - 0x12c]
push eax
push 0x5014fc
call dword [0x5011e4]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x46ac13
jmp 0x46ac1d
push 0x64
call dword [0x501048]
jmp 0x46abd5
cmp dword [ebp - 0x138], 0
je 0x46ac79
mov ecx, dword [0x50129c]
xor ecx, dword [0x501278]
xor ecx, dword [0x5012a0]
mov dword [ebp - 0x148], ecx
mov edx, dword [0x504248]
push edx
call fcn.004862b9
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [0x504248]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x138]
push edx
call dword [0x5011e8]
mov eax, dword [ebp - 0x130]
push eax
call dword [0x501044]
mov eax, 1
jmp 0x46b2aa
push 1
call fcn.0046b2bb
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x46ae7b
mov edx, dword [0x501290]
xor edx, dword [0x5012a4]
xor edx, dword [0x5012a8]
and edx, 0x40
test edx, edx
jne 0x46ae7b
push 0x200
lea eax, [ebp - 0x348]
push eax
push 0x5014f4
call dword [0x5010f8]
test eax, eax
jne 0x46ae7b
push 0xc8
push 0x23
lea ecx, [ebp - 0x348]
push ecx
call fcn.0048626f
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x46ad1f
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0x40
jg 0x46ad5a
mov eax, dword [ebp - 0x44c]
push eax
push 0x5014ec
lea ecx, [ebp - 0x448]
push ecx
call dword [0x501134]
add esp, 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [0x501100]
jmp 0x46ad10
mov ecx, dword [0x501290]
xor ecx, dword [0x5012a4]
xor ecx, dword [0x5012a8]
and ecx, 0x10
test ecx, ecx
jne 0x46ae7b
lea edx, [ebp - 0x5a4]
push edx
call dword [0x501040]
mov al, byte [0x504234]
mov byte [ebp - 0x6a8], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x504234]
mov byte [ebp - 0x560], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x55f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x504240], 1
jne 0x46adf5
cmp dword [ebp - 0x598], 0
jne 0x46adf5
lea edx, [ebp - 0x6a8]
push edx
call fcn.00477138
add esp, 4
and eax, 0xff
test eax, eax
je 0x46adf5
lea eax, [ebp - 0x6a8]
mov dword [ebp - 0x598], eax
push 0x104
lea ecx, [ebp - 0x560]
push ecx
push 0
call dword [0x50103c]
test eax, eax
jne 0x46ae14
xor eax, eax
jmp 0x46b2aa
lea edx, [ebp - 0x45c]
push edx
lea eax, [ebp - 0x5a4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [0x501038]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [0x501034]
test eax, eax
jne 0x46ae71
mov dword [0x50447c], 6
call dword [0x5010e4]
push eax
push 0x5014cc
push 0x504480
call dword [0x501134]
add esp, 0xc
xor eax, eax
jmp 0x46b2aa
mov eax, 1
jmp 0x46b2aa
mov edx, dword [0x501290]
xor edx, dword [0x5012a4]
xor edx, dword [0x5012a8]
and edx, 0x10
test edx, edx
je 0x46b158
mov eax, dword [0x5012a0]
xor eax, dword [0x50125c]
push eax
call dword [0x501058]
push eax
push 0x501518
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x501134]
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x501054]
test eax, eax
jne 0x46b158
push 1
call dword [0x501030]
push eax
call dword [0x50102c]
mov byte [ebp - 0x6ac], 0
push 0x5014c0
call dword [fcn.005010e0]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x46af3e
push 0x5014ac
mov eax, dword [ebp - 0x6b0]
push eax
call dword [int.005010e8]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0x46af3e
call dword [ebp - 0x748]
test eax, eax
je 0x46af3e
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea ecx, [ebp - 0x744]
push ecx
call dword [0x501080]
cmp dword [ebp - 0x734], 2
je 0x46afcb
mov byte [ebp - 0x74c], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0x46afb4
mov edx, dword [ebp - 0x74c]
and edx, 0xff
test edx, edx
jne 0x46afcb
mov byte [0x504704], 1
cmp dword [ebp - 0x734], 2
jne 0x46b035
push ecx
bswap ecx
not ecx
push eax
not eax
mov eax, 0x6c65696d
xchg ecx, eax
mov ecx, 0xdeadc0de
xchg ecx, eax
not eax
pop eax
not ecx
pop ecx
pushfd
pushal
xor ebx, ebx
je 0x46aff7
add ebp, ebx
and ch, bl
jmp 0x46b018
xor ebx, ebx
je 0x46affb
jmp 0x46b00a
mov ecx, 0x34f9c987
nop
stc
je 0x46b00e
jmp 0x46b03e
xor eax, eax
je 0x46b000
mov eax, 0x4840c987
test eax, eax
jne 0x46aff4
jmp 0x92ad4d7d
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x46b04c
jmp 0x46b0bd
jo 0x46b03e
jl 0x46b03c
jmp 0x46b040
je 0x46b039
jmp 0x46b039
mov eax, dword fs:[0x20]
or eax, eax
jne 0x46b04c
jmp 0x46b0bd
pushal
xor eax, eax
jne 0x46b053
jmp 0x46b068
jmp 0x46b088
xor eax, eax
jne 0x46b070
jp 0x46b066
jo 0x46b06a
jmp 0x46b06b
jb 0x46b06f
jns 0x46b054
call dword [0x74097900]
invalid
jns 0x46b071
je 0x46b05a
jmp 0x46aff3
xchg ebx, ebx
jp 0x46b05f
mov al, byte [0x5c66133]
push 0x1005044
xor esp, dword [ecx - 0x3a]
add eax, 0x504468
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x504468], 1
push eax
not eax
bswap eax
pop eax
jae 0x46b081
pushfd
pushal
jmp 0x46b0b0
sub edx, edx
jo 0x46b096
jmp 0x46b0a7
xor ecx, ecx
je 0x46b08e
jmp 0x46b0a0
stc
xor ecx, 3
je 0x46b026
jmp 0x46b09d
jmp 0x46b0ab
jae 0x46b099
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x46b090
jmp 0x46b08a
sbb al, 0xdb
jmp 0x46b0b3
jmp 0x46b084
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6ac]
and eax, 0xff
test eax, eax
je 0x46b0fb
call dword [0x501058]
push eax
push 0x5014a4
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x501134]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
call dword [0x501050]
jmp 0x46b158
xor eax, eax
cmp dword [0x504240], 0
sete al
push eax
call fcn.004776b1
add esp, 4
and eax, 0xff
test eax, eax
jne 0x46b144
mov dword [0x50447c], 6
call dword [0x5010e4]
push eax
push 0x501494
push 0x504480
call dword [0x501134]
add esp, 0xc
xor eax, eax
jmp 0x46b2aa
push 0
call fcn.0046b2bb
add al, ch
jo 0x46b14a
add byte [eax], al
add byte [ebx + 0x1b804c4], al
add byte [eax], al
add cl, ch
push edx
add dword [eax], eax
add al, ch
inc edx
jmp 0x45d0b15e
add esp, 4
mov eax, 1
jmp 0x46b2aa
call fcn.00469a9f
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x46b167
jmp 0x46b17c
jmp 0x46b19c
xor eax, eax
jne 0x46b184
jp 0x46b17a
jo 0x46b17e
jmp 0x46b17f
jb 0x46b183
jns 0x46b168
call dword [0x74097900]
invalid
jns 0x46b185
je 0x46b16e
jmp 0x46b107
xchg ebx, ebx
jp 0x46b173
mov al, byte [0xd8b6133]
fcom dword [eax]
push eax
add byte [ecx - 0x18], dl
mov eax, dword [0x83ffffe8]
les eax, [eax + ecx*4]
inc ebp
loopne 0x46b1e9
xor esp, dword [ecx - 0x75]
or eax, 0x5010d8
popal
mov ecx, dword [0x5010d8]
push ecx
call 0x469a33
add esp, 4
mov byte [ebp - 0x20], al
push eax
not eax
bswap eax
pop eax
jae 0x46b1a0
enter 0x7358, 0
pushfd
pushal
jmp 0x46b1cf
sub edx, edx
jo 0x46b1b5
jmp 0x46b1c6
xor ecx, ecx
je 0x46b1ad
jmp 0x46b1bf
stc
xor ecx, 3
je 0x46b145
jmp 0x46b1bc
jmp 0x46b1ca
jae 0x46b1b8
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x46b1af
jmp 0x46b1a9
sbb al, 0xdb
jmp 0x46b1d2
jmp 0x46b1a3
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov edx, dword [ebp - 0x20]
and edx, 0xff
test edx, edx
je 0x46b1f8
mov eax, dword [0x501240]
xor eax, 0x7c3
mov dword [0x501240], eax
push ecx
bswap ecx
not ecx
push eax
not eax
mov eax, 0x6c65696d
xchg ecx, eax
mov ecx, 0xdeadc0de
xchg ecx, eax
not eax
pop eax
not ecx
pop ecx
pushfd
pushal
xor ebx, ebx
je 0x46b21b
jmp 0x46b23c
xor ebx, ebx
je 0x46b21f
jmp 0x46b22e
mov ecx, 0x34f9c987
nop
stc
je 0x46b232
jmp 0x46b262
xor eax, eax
je 0x46b224
mov eax, 0x4840c987
test eax, eax
jne 0x46b218
jmp 0x92ad4fa1
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
push 0
call fcn.0046b2bb
add esp, 4
push 0
call dword [0x501120]
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x46b270
push 0x504240
call dword [0x504264]
push eax
add bh, bh
adc eax, 0x504264
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4c718c
call dword [0x501120]
add esp, 4
cmp dword [fcn.00504260], 0
je 0x46b28d
call dword [fcn.00504260]
cmp dword [0x504474], 0
je 0x46b2a7
push 0
push 0
mov ecx, dword [0x504470]
push ecx
call dword [0x504474]
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