Function at 0x4965c3
Capabilities:
Check for trap flag exception
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4780
push 0x4aa558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffff8c4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x24], 1
mov eax, dword [0x4c0198]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [0x4c0208]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4c020c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x49555c
call fcn.004aa432
add esp, 4
mov eax, dword [0x4c031c]
xor eax, dword [0x4c0314]
push eax
call dword [0x4c01ac]
push eax
push 0x4c0604
lea ecx, [ebp - 0x128]
push ecx
call fcn.004aa3e0
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [0x4c008c]
test eax, eax
je 0x496675
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x49681c
mov ecx, dword [0x4c0388]
xor ecx, dword [0x4c0328]
xor ecx, dword [0x4c0318]
and ecx, 0x20
test ecx, ecx
je 0x49681c
mov edx, dword [0x4c0350]
xor edx, dword [0x4c0330]
xor edx, dword [0x4c031c]
push edx
push 0x4c05fc
lea eax, [ebp - 0x128]
push eax
call fcn.004aa3e0
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0
push 0
call dword [0x4c0088]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x49681c
call dword [0x4c0058]
cmp eax, 0xb7
jne 0x49681c
push 0x7530
mov edx, dword [ebp - 0x12c]
push edx
call dword [0x4c0084]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x49672f
cmp dword [ebp - 0x130], 0x80
jne 0x496812
mov eax, dword [0x4c0350]
xor eax, dword [0x4c0330]
xor eax, dword [0x4c031c]
push eax
push 0x4c05f4
lea ecx, [ebp - 0x128]
push ecx
call fcn.004aa3e0
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x496770
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x4967a9
lea eax, [ebp - 0x128]
push eax
push 0x4c05e8
call dword [0x4c0210]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x49679f
jmp 0x4967a9
push 0x64
call dword [0x4c019c]
jmp 0x496761
cmp dword [ebp - 0x134], 0
je 0x496805
mov ecx, dword [0x4c0350]
xor ecx, dword [0x4c0330]
xor ecx, dword [0x4c031c]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x4c6560]
push edx
call fcn.004aa160
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x4c6560]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x134]
push edx
call dword [0x4c0238]
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x4c0080]
mov eax, 1
jmp 0x496d87
push 1
call fcn.00496d98
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x496a05
mov edx, dword [0x4c0388]
xor edx, dword [0x4c0328]
xor edx, dword [0x4c0318]
and edx, 0x40
test edx, edx
jne 0x496a05
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x4c05e0
call dword [0x4c0048]
test eax, eax
jne 0x496a05
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.004a9ee0
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x4968ab
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x4968e5
mov eax, dword [ebp - 0x448]
push eax
push 0x4c05d8
lea ecx, [ebp - 0x444]
push ecx
call fcn.004aa3e0
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [0x4c007c]
jmp 0x49689c
mov ecx, dword [0x4c0388]
xor ecx, dword [0x4c0328]
xor ecx, dword [0x4c0318]
and ecx, 0x10
test ecx, ecx
jne 0x496a05
lea edx, [ebp - 0x5a0]
push edx
call dword [0x4c0078]
mov al, byte [0x4c654c]
mov byte [ebp - 0x6a4], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x6a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x4c654c]
mov byte [ebp - 0x55c], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x55b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x4c6558], 1
jne 0x496980
cmp dword [ebp - 0x594], 0
jne 0x496980
lea edx, [ebp - 0x6a4]
push edx
call fcn.004986cf
add esp, 4
and eax, 0xff
test eax, eax
je 0x496980
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x55c]
push ecx
push 0
call dword [0x4c01b0]
test eax, eax
jne 0x49699f
xor eax, eax
jmp 0x496d87
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x5a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
call dword [0x4c0074]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call dword [0x4c0070]
test eax, eax
jne 0x4969fb
mov dword [0x4c6794], 6
call dword [0x4c0058]
push eax
push 0x4c05b8
push 0x4c6798
call fcn.004aa3e0
add esp, 0xc
xor eax, eax
jmp 0x496d87
mov eax, 1
jmp 0x496d87
mov edx, dword [0x4c0388]
xor edx, dword [0x4c0328]
xor edx, dword [0x4c0318]
and edx, 0x10
test edx, edx
je 0x496cfe
mov eax, dword [0x4c031c]
xor eax, dword [0x4c0314]
push eax
call dword [0x4c01ac]
push eax
push 0x4c0604
lea ecx, [ebp - 0x128]
push ecx
call fcn.004aa3e0
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [0x4c008c]
test eax, eax
jne 0x496cfc
push 1
call dword [0x4c006c]
push eax
call dword [0x4c0068]
mov byte [ebp - 0x6a8], 0
push 0x4c05ac
call dword [0x4c005c]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x496ac7
push 0x4c0598
mov eax, dword [ebp - 0x6ac]
push eax
call dword [0x4c0054]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x496ac7
call dword [ebp - 0x744]
test eax, eax
je 0x496ac7
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea ecx, [ebp - 0x740]
push ecx
call dword [0x4c0064]
cmp dword [ebp - 0x730], 2
je 0x496b54
mov byte [ebp - 0x748], 0
mov dword [ebp - 4], 0
pushf
pop eax
or eax, 0x100
push eax
popf
nop
mov dword [ebp - 4], 0xffffffff
jmp 0x496b3d
mov edx, dword [ebp - 0x748]
and edx, 0xff
test edx, edx
jne 0x496b54
mov byte [0x4c6a44], 1
cmp dword [ebp - 0x730], 2
jne 0x496bbe
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 0x496b80
add ebp, ebx
and ch, bl
jmp 0x496ba1
xor ebx, ebx
je 0x496b84
jmp 0x496b93
mov ecx, 0x34f9c987
nop
stc
je 0x496b97
jmp 0x496bc7
xor eax, eax
je 0x496b89
mov eax, 0x4840c987
test eax, eax
jne 0x496b7d
jmp 0x92b00906
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 0x496bd5
jmp 0x496c46
jo 0x496bc7
jl 0x496bc5
jmp 0x496bc9
je 0x496bc2
jmp 0x496bc2
mov eax, dword fs:[0x20]
or eax, eax
jne 0x496bd5
jmp 0x496c46
pushal
xor eax, eax
jne 0x496bdc
jmp 0x496bf1
jmp 0x496c11
xor eax, eax
jne 0x496bf9
jp 0x496bef
jo 0x496bf3
jmp 0x496bf4
jb 0x496bf8
jns 0x496bdd
call dword [0x74097900]
invalid
jns 0x496bfa
je 0x496be3
jmp 0x496b7c
xchg ebx, ebx
jp 0x496be8
mov al, byte [0x5c66133]
and byte [edi + 0x4c], 0
xor esp, dword [ecx - 0x3a]
add eax, 0x4c6780
popal
mov byte [0x4c6780], 1
push eax
not eax
bswap eax
pop eax
jae 0x496c0a
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
pushfd
pushal
jmp 0x496c39
sub edx, edx
jo 0x496c1f
jmp 0x496c30
xor ecx, ecx
je 0x496c17
jmp 0x496c29
stc
xor ecx, 3
je 0x496baf
jmp 0x496c26
jmp 0x496c34
jae 0x496c22
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x496c19
jmp 0x496c13
sbb al, 0xdb
jmp 0x496c3c
jmp 0x496c0d
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6a8]
and eax, 0xff
test eax, eax
je 0x496c83
call dword [0x4c01ac]
push eax
push 0x4c0590
lea ecx, [ebp - 0x128]
push ecx
call fcn.004aa3e0
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
push 0
push 0
call dword [0x4c0088]
jmp 0x496cfc
mov eax, dword [0x4c0348]
xor eax, dword [0x4c0328]
xor eax, dword [0x4c0318]
and eax, 2
test eax, eax
je 0x496ca0
call fcn.00494eaf
xor ecx, ecx
cmp dword [0x4c6558], 0
sete cl
push ecx
call fcn.0049941c
add esp, 4
and eax, 0xff
test eax, eax
jne 0x496ce8
mov dword [0x4c6794], 6
call dword [0x4c0058]
push eax
push 0x4c0580
push 0x4c6798
call fcn.004aa3e0
add esp, 0xc
xor eax, eax
jmp 0x496d87
push 0
call fcn.00496d98
add esp, 4
mov eax, 1
jmp 0x496d87
jmp 0x496d1c
mov edx, dword [0x4c0348]
xor edx, dword [0x4c0328]
xor edx, dword [0x4c0318]
and edx, 2
test edx, edx
je 0x496d1c
call fcn.00494eaf
call fcn.0049558b
mov dword [ebp - 0x1c], eax
push 0
call fcn.00496d98
add esp, 4
push 0
call fcn.004aa432
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x496d4f
push 0x4c6558
call dword [0x4c657c]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x49555c
call fcn.004aa432
add esp, 4
cmp dword [0x4c6578], 0
je 0x496d6b
call dword [0x4c6578]
cmp dword [0x4c678c], 0
je 0x496d84
push 0
push 0
mov eax, dword [0x4c6788]
push eax
call dword [0x4c678c]
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