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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521a80
push 0x501fc0
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 [0x51d05c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [0x51d1fc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [0x51d200]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
push 0x4e30dc
call fcn.00501e9b
add esp, 4
mov eax, dword [0x51d284]
xor eax, dword [0x51d2a0]
push eax
call dword [0x51d058]
push eax
push 0x51d540
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00501dc1
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51d054]
test eax, eax
je 0x4e4149
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x4e42f0
mov ecx, dword [0x51d298]
xor ecx, dword [0x51d2ac]
xor ecx, dword [0x51d29c]
and ecx, 0x20
test ecx, ecx
je 0x4e42f0
mov edx, dword [0x51d28c]
xor edx, dword [0x51d274]
xor edx, dword [0x51d284]
push edx
push 0x51d538
lea eax, [ebp - 0x12c]
push eax
call fcn.00501dc1
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0
push 0
call dword [0x51d050]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x4e42f0
call dword [0x51d178]
cmp eax, 0xb7
jne 0x4e42f0
push 0x7530
mov edx, dword [ebp - 0x130]
push edx
call dword [0x51d04c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4e4203
cmp dword [ebp - 0x134], 0x80
jne 0x4e42e6
mov eax, dword [0x51d28c]
xor eax, dword [0x51d274]
xor eax, dword [0x51d284]
push eax
push 0x51d530
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00501dc1
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x4e4244
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x12c
jge 0x4e427d
lea eax, [ebp - 0x12c]
push eax
push 0x51d524
call dword [0x51d204]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x4e4273
jmp 0x4e427d
push 0x64
call dword [0x51d048]
jmp 0x4e4235
cmp dword [ebp - 0x138], 0
je 0x4e42d9
mov ecx, dword [0x51d28c]
xor ecx, dword [0x51d274]
xor ecx, dword [0x51d284]
mov dword [ebp - 0x148], ecx
mov edx, dword [0x523108]
push edx
call fcn.00501e20
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [0x523108]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x138]
push edx
call dword [0x51d208]
mov eax, dword [ebp - 0x130]
push eax
call dword [0x51d044]
mov eax, 1
jmp 0x4e4903
push 1
call fcn.004e4914
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x4e44d9
mov edx, dword [0x51d298]
xor edx, dword [0x51d2ac]
xor edx, dword [0x51d29c]
and edx, 0x40
test edx, edx
jne 0x4e44d9
push 0x200
lea eax, [ebp - 0x348]
push eax
push 0x51d51c
call dword [0x51d040]
test eax, eax
jne 0x4e44d9
push 0xc8
push 0x23
lea ecx, [ebp - 0x348]
push ecx
call fcn.00501c30
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x4e437f
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0x40
jg 0x4e43b9
mov eax, dword [ebp - 0x44c]
push eax
push 0x51d514
lea ecx, [ebp - 0x448]
push ecx
call fcn.00501dc1
add esp, 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [0x51d03c]
jmp 0x4e4370
mov ecx, dword [0x51d298]
xor ecx, dword [0x51d2ac]
xor ecx, dword [0x51d29c]
and ecx, 0x10
test ecx, ecx
jne 0x4e44d9
lea edx, [ebp - 0x5a4]
push edx
call dword [0x51d038]
mov al, byte [0x52344c]
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 [0x52344c]
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 [0x523100], 1
jne 0x4e4454
cmp dword [ebp - 0x598], 0
jne 0x4e4454
lea edx, [ebp - 0x6a8]
push edx
call fcn.004f0b6f
add esp, 4
and eax, 0xff
test eax, eax
je 0x4e4454
lea eax, [ebp - 0x6a8]
mov dword [ebp - 0x598], eax
push 0x104
lea ecx, [ebp - 0x560]
push ecx
push 0
call dword [0x51d034]
test eax, eax
jne 0x4e4473
xor eax, eax
jmp 0x4e4903
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 [0x51d030]
push eax
lea ecx, [ebp - 0x560]
push ecx
call dword [0x51d02c]
test eax, eax
jne 0x4e44cf
mov dword [0x52333c], 6
call dword [0x51d178]
push eax
push 0x51d4f4
push 0x523340
call fcn.00501dc1
add esp, 0xc
xor eax, eax
jmp 0x4e4903
mov eax, 1
jmp 0x4e4903
mov edx, dword [0x51d298]
xor edx, dword [0x51d2ac]
xor edx, dword [0x51d29c]
and edx, 0x10
test edx, edx
je 0x4e47b3
mov eax, dword [0x51d284]
xor eax, dword [0x51d2a0]
push eax
call dword [0x51d058]
push eax
push 0x51d540
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00501dc1
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51d054]
test eax, eax
jne 0x4e47b3
push 1
call dword [0x51d0c8]
push eax
call dword [0x51d164]
mov byte [ebp - 0x6ac], 0
push 0x51d4e8
call dword [0x51d174]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x4e459b
push 0x51d4d4
mov eax, dword [ebp - 0x6b0]
push eax
call dword [0x51d17c]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0x4e459b
call dword [ebp - 0x748]
test eax, eax
je 0x4e459b
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea ecx, [ebp - 0x744]
push ecx
call dword [0x51d168]
cmp dword [ebp - 0x734], 2
je 0x4e4628
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 0x4e4611
mov edx, dword [ebp - 0x74c]
and edx, 0xff
test edx, edx
jne 0x4e4628
mov byte [0x5235d4], 1
cmp dword [ebp - 0x734], 2
jne 0x4e4692
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 0x4e4654
add ebp, ebx
and ch, bl
jmp 0x4e4675
xor ebx, ebx
je 0x4e4658
jmp 0x4e4667
mov ecx, 0x34f9c987
nop
stc
je 0x4e466b
jmp 0x4e469b
xor eax, eax
je 0x4e465d
mov eax, 0x4840c987
test eax, eax
jne 0x4e4651
jmp 0x92b4e3da
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 0x4e46a9
jmp 0x4e471a
jo 0x4e469b
jl 0x4e4699
jmp 0x4e469d
je 0x4e4696
jmp 0x4e4696
mov eax, dword fs:[0x20]
or eax, eax
jne 0x4e46a9
jmp 0x4e471a
pushal
xor eax, eax
jne 0x4e46b0
jmp 0x4e46c5
jmp 0x4e46e5
xor eax, eax
jne 0x4e46cd
jp 0x4e46c3
jo 0x4e46c7
jmp 0x4e46c8
jb 0x4e46cc
jns 0x4e46b1
call dword [0x74097900]
invalid
jns 0x4e46ce
je 0x4e46b7
jmp 0x4e4650
xchg ebx, ebx
jp 0x4e46bc
mov al, byte [0x5c66133]
sub byte [ebx], dh
push edx
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x523328
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x523328], 1
push eax
not eax
bswap eax
pop eax
jae 0x4e46de
pushfd
pushal
jmp 0x4e470d
sub edx, edx
jo 0x4e46f3
jmp 0x4e4704
xor ecx, ecx
je 0x4e46eb
jmp 0x4e46fd
stc
xor ecx, 3
je 0x4e4683
jmp 0x4e46fa
jmp 0x4e4708
jae 0x4e46f6
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e46ed
jmp 0x4e46e7
sbb al, 0xdb
jmp 0x4e4710
jmp 0x4e46e1
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6ac]
and eax, 0xff
test eax, eax
je 0x4e4757
call dword [0x51d058]
push eax
push 0x51d4cc
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00501dc1
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
call dword [0x51d050]
jmp 0x4e47b3
xor eax, eax
cmp dword [0x523100], 0
sete al
push eax
call fcn.004f10e6
rcl byte [eax - 0x18], 0x7d
leave
add byte [eax], al
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4e479f
mov dword [0x52333c], 6
call dword [0x51d178]
push eax
push 0x51d4bc
push 0x523340
call fcn.00501dc1
add esp, 0xc
xor eax, eax
jmp 0x4e4903
push 0
call fcn.004e4914
add esp, 4
mov eax, 1
jmp 0x4e4903
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 0x45d847b9
call fcn.004e310b
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x4e47c2
jmp 0x4e47d7
jmp 0x4e47f7
xor eax, eax
jne 0x4e47df
jp 0x4e47d5
jo 0x4e47d9
jmp 0x4e47da
jb 0x4e47de
jns 0x4e47c3
call dword [0x74097900]
invalid
jns 0x4e47e0
je 0x4e47c9
jmp 0x4e4762
xchg ebx, ebx
jp 0x4e47ce
mov al, byte [0xd8b6133]
insb byte es:[edi], dx
rcl dword [ecx]
xor esp, dword [ecx - 0x75]
or eax, 0x51d16c
popal
mov ecx, dword [0x51d16c]
push ecx
call fcn.004e30a0
add esp, 4
mov byte [ebp - 0x20], al
push eax
not eax
bswap eax
pop eax
jae 0x4e47fb
enter 0x7358, 0
pushfd
pushal
jmp 0x4e482a
sub edx, edx
jo 0x4e4810
jmp 0x4e4821
xor ecx, ecx
je 0x4e4808
jmp 0x4e481a
stc
xor ecx, 3
je 0x4e47a0
jmp 0x4e4817
jmp 0x4e4825
jae 0x4e4813
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e480a
jmp 0x4e4804
sbb al, 0xdb
jmp 0x4e482d
jmp 0x4e47fe
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov edx, dword [ebp - 0x20]
and edx, 0xff
test edx, edx
je 0x4e4853
mov eax, dword [0x51d270]
xor eax, 0x7c3
mov dword [0x51d270], 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 0x4e4876
jmp 0x4e4897
xor ebx, ebx
je 0x4e487a
jmp 0x4e4889
mov ecx, 0x34f9c987
nop
stc
je 0x4e488d
jmp 0x4e48bd
xor eax, eax
je 0x4e487f
mov eax, 0x4840c987
test eax, eax
jne 0x4e4873
jmp 0x92b4e5fc
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
push 0
call fcn.004e4914
add esp, 4
push 0
call fcn.00501e9b
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x4e48ca
push 0x523100
call dword [0x523124]
add bh, bh
adc eax, 0x523124
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4e30dc
call fcn.00501e9b
add esp, 4
cmp dword [0x523120], 0
je 0x4e48e6
call dword [0x523120]
cmp dword [0x523334], 0
je 0x4e4900
push 0
push 0
mov ecx, dword [0x523330]
push ecx
call dword [0x523334]
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