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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523a70
push 0x504380
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 [0x51f05c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [0x51f1fc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [0x51f200]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
push 0x4e558c
call fcn.0050425b
add esp, 4
mov eax, dword [0x51f2c8]
xor eax, dword [0x51f284]
push eax
call dword [0x51f058]
push eax
push 0x51f540
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00504181
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51f054]
test eax, eax
je 0x4e65f9
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x4e67a0
mov ecx, dword [0x51f2b8]
xor ecx, dword [0x51f2cc]
xor ecx, dword [0x51f2d0]
and ecx, 0x20
test ecx, ecx
je 0x4e67a0
mov edx, dword [0x51f2c4]
xor edx, dword [0x51f2a0]
xor edx, dword [0x51f2c8]
push edx
push 0x51f538
lea eax, [ebp - 0x12c]
push eax
call fcn.00504181
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [0x51f050]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x4e67a0
call dword [0x51f170]
cmp eax, 0xb7
jne 0x4e67a0
push 0x7530
mov edx, dword [ebp - 0x130]
push edx
call dword [0x51f04c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4e66b3
cmp dword [ebp - 0x134], 0x80
jne 0x4e6796
mov eax, dword [0x51f2c4]
xor eax, dword [0x51f2a0]
xor eax, dword [0x51f2c8]
push eax
push 0x51f530
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00504181
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x4e66f4
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x12c
jge 0x4e672d
lea eax, [ebp - 0x12c]
push eax
push 0x51f524
call dword [0x51f204]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x4e6723
jmp 0x4e672d
push 0x64
call dword [0x51f048]
jmp 0x4e66e5
cmp dword [ebp - 0x138], 0
je 0x4e6789
mov ecx, dword [0x51f2c4]
xor ecx, dword [0x51f2a0]
xor ecx, dword [0x51f2c8]
mov dword [ebp - 0x148], ecx
mov edx, dword [0x5250f8]
push edx
call fcn.005041e0
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [0x5250f8]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x138]
push edx
call dword [0x51f208]
mov eax, dword [ebp - 0x130]
push eax
call dword [0x51f044]
mov eax, 1
jmp 0x4e6db3
push 1
call fcn.004e6dc4
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x4e6989
mov edx, dword [0x51f2b8]
xor edx, dword [0x51f2cc]
xor edx, dword [0x51f2d0]
and edx, 0x40
test edx, edx
jne 0x4e6989
push 0x200
lea eax, [ebp - 0x348]
push eax
push 0x51f51c
call dword [0x51f040]
test eax, eax
jne 0x4e6989
push 0xc8
push 0x23
lea ecx, [ebp - 0x348]
push ecx
call fcn.00503ff0
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x4e682f
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0x40
jg 0x4e6869
mov eax, dword [ebp - 0x44c]
push eax
push 0x51f514
lea ecx, [ebp - 0x448]
push ecx
call fcn.00504181
add esp, 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [0x51f03c]
jmp 0x4e6820
mov ecx, dword [0x51f2b8]
xor ecx, dword [0x51f2cc]
xor ecx, dword [0x51f2d0]
and ecx, 0x10
test ecx, ecx
jne 0x4e6989
lea edx, [ebp - 0x5a4]
push edx
call dword [0x51f038]
mov al, byte [0x52543c]
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 [0x52543c]
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 [0x5250f0], 1
jne 0x4e6904
cmp dword [ebp - 0x598], 0
jne 0x4e6904
lea edx, [ebp - 0x6a8]
push edx
call fcn.004f301f
add esp, 4
and eax, 0xff
test eax, eax
je 0x4e6904
lea eax, [ebp - 0x6a8]
mov dword [ebp - 0x598], eax
push 0x104
lea ecx, [ebp - 0x560]
push ecx
push 0
call dword [0x51f034]
test eax, eax
jne 0x4e6923
xor eax, eax
jmp 0x4e6db3
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 [0x51f030]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [0x51f02c]
test eax, eax
jne 0x4e697f
mov dword [0x52532c], 6
call dword [0x51f170]
push eax
push 0x51f4f4
push 0x525330
call fcn.00504181
add esp, 0xc
xor eax, eax
jmp 0x4e6db3
mov eax, 1
jmp 0x4e6db3
mov edx, dword [0x51f2b8]
xor edx, dword [0x51f2cc]
xor edx, dword [0x51f2d0]
and edx, 0x10
test edx, edx
je 0x4e6c63
mov eax, dword [0x51f2c8]
xor eax, dword [0x51f284]
push eax
call dword [0x51f058]
push eax
push 0x51f540
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00504181
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51f054]
test eax, eax
jne 0x4e6c63
push 1
call dword [0x51f0c4]
push eax
call dword [0x51f15c]
mov byte [ebp - 0x6ac], 0
push 0x51f4e8
call dword [0x51f16c]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x4e6a4b
push 0x51f4d4
mov eax, dword [ebp - 0x6b0]
push eax
call dword [0x51f174]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0x4e6a4b
call dword [ebp - 0x748]
test eax, eax
je 0x4e6a4b
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea ecx, [ebp - 0x744]
push ecx
call dword [0x51f160]
cmp dword [ebp - 0x734], 2
je 0x4e6ad8
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 0x4e6ac1
mov edx, dword [ebp - 0x74c]
and edx, 0xff
test edx, edx
jne 0x4e6ad8
mov byte [0x5255c4], 1
cmp dword [ebp - 0x734], 2
jne 0x4e6b42
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 0x4e6b04
add ebp, ebx
and ch, bl
jmp 0x4e6b25
xor ebx, ebx
je 0x4e6b08
jmp 0x4e6b17
mov ecx, 0x34f9c987
nop
stc
je 0x4e6b1b
jmp 0x4e6b4b
xor eax, eax
je 0x4e6b0d
mov eax, 0x4840c987
test eax, eax
jne 0x4e6b01
jmp 0x92b5088a
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 0x4e6b59
jmp 0x4e6bca
jo 0x4e6b4b
jl 0x4e6b49
jmp 0x4e6b4d
je 0x4e6b46
jmp 0x4e6b46
mov eax, dword fs:[0x20]
or eax, eax
jne 0x4e6b59
jmp 0x4e6bca
pushal
xor eax, eax
jne 0x4e6b60
jmp 0x4e6b75
jmp 0x4e6b95
xor eax, eax
jne 0x4e6b7d
jp 0x4e6b73
jo 0x4e6b77
jmp 0x4e6b78
jb 0x4e6b7c
jns 0x4e6b61
call dword [0x74097900]
invalid
jns 0x4e6b7e
je 0x4e6b67
jmp 0x4e6b00
xchg ebx, ebx
jp 0x4e6b6c
mov al, byte [0x5c66133]
sbb byte [ebx + 0x52], dl
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x525318
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x525318], 1
push eax
not eax
bswap eax
pop eax
jae 0x4e6b8e
pushfd
pushal
jmp 0x4e6bbd
sub edx, edx
jo 0x4e6ba3
jmp 0x4e6bb4
xor ecx, ecx
je 0x4e6b9b
jmp 0x4e6bad
stc
xor ecx, 3
je 0x4e6b33
jmp 0x4e6baa
jmp 0x4e6bb8
jae 0x4e6ba6
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e6b9d
jmp 0x4e6b97
sbb al, 0xdb
jmp 0x4e6bc0
jmp 0x4e6b91
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6ac]
and eax, 0xff
test eax, eax
je 0x4e6c07
call dword [0x51f058]
push eax
push 0x51f4cc
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00504181
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
call dword [0x51f050]
jmp 0x4e6c63
xor eax, eax
cmp dword [0x5250f0], 0
sete al
push eax
call fcn.004f3596
rcl byte [eax - 0x18], 0x7d
leave
add byte [eax], al
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4e6c4f
mov dword [0x52532c], 6
call dword [0x51f170]
push eax
push 0x51f4bc
push 0x525330
call fcn.00504181
add esp, 0xc
xor eax, eax
jmp 0x4e6db3
push 0
call fcn.004e6dc4
add esp, 4
mov eax, 1
jmp 0x4e6db3
add al, ch
outsb dx, byte [esi]
add dword [eax], eax
add byte [ebx + 0x1b804c4], al
add byte [eax], al
add cl, ch
push eax
add dword [eax], eax
add al, ch
push ebx
jmp 0x45d86c69
call fcn.004e55bb
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x4e6c72
jmp 0x4e6c87
jmp 0x4e6ca7
xor eax, eax
jne 0x4e6c8f
jp 0x4e6c85
jo 0x4e6c89
jmp 0x4e6c8a
jb 0x4e6c8e
jns 0x4e6c73
call dword [0x74097900]
invalid
jns 0x4e6c90
je 0x4e6c79
jmp 0x4e6c12
xchg ebx, ebx
jp 0x4e6c7e
mov al, byte [0xd8b6133]
int1
push ecx
add byte [ecx - 0x18], dl
mov bl, 0xe8
invalid
xor esp, dword [ecx - 0x75]
or eax, 0x51f164
popal
mov ecx, dword [0x51f164]
push ecx
call 0x4e5550
add esp, 4
mov byte [ebp - 0x20], al
push eax
not eax
bswap eax
pop eax
jae 0x4e6cab
enter 0x7358, 0
pushfd
pushal
jmp 0x4e6cda
sub edx, edx
jo 0x4e6cc0
jmp 0x4e6cd1
xor ecx, ecx
je 0x4e6cb8
jmp 0x4e6cca
stc
xor ecx, 3
je 0x4e6c50
jmp 0x4e6cc7
jmp 0x4e6cd5
jae 0x4e6cc3
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e6cba
jmp 0x4e6cb4
sbb al, 0xdb
jmp 0x4e6cdd
jmp 0x4e6cae
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov edx, dword [ebp - 0x20]
and edx, 0xff
test edx, edx
je 0x4e6d03
mov eax, dword [0x51f268]
xor eax, 0x7c3
mov dword [0x51f268], 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 0x4e6d26
jmp 0x4e6d47
xor ebx, ebx
je 0x4e6d2a
jmp 0x4e6d39
mov ecx, 0x34f9c987
nop
stc
je 0x4e6d3d
jmp 0x4e6d6d
xor eax, eax
je 0x4e6d2f
mov eax, 0x4840c987
test eax, eax
jne 0x4e6d23
jmp 0x92b50aac
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
push 0
call fcn.004e6dc4
add esp, 4
push 0
call fcn.0050425b
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x4e6d7a
push 0x5250f0
call dword [0x525114]
add bh, bh
adc eax, 0x525114
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4e558c
call fcn.0050425b
add esp, 4
cmp dword [0x525110], 0
je 0x4e6d96
call dword [0x525110]
cmp dword [0x525324], 0
je 0x4e6db0
push 0
push 0
mov ecx, dword [0x525320]
push ecx
call dword [0x525324]
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