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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d58
push 0x4b8f80
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 [0x4dd0e8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [0x4dd214]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4dd218]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x4a3c8c
call fcn.004b8e5c
add esp, 4
mov eax, dword [0x4dd388]
xor eax, dword [0x4dd3e4]
push eax
call dword [0x4dd1b4]
push eax
push 0x4dd688
lea ecx, [ebp - 0x128]
push ecx
call fcn.004b8e0a
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [0x4dd0a4]
test eax, eax
je 0x4a4dc0
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x4a4f67
mov ecx, dword [0x4dd404]
xor ecx, dword [0x4dd3d8]
xor ecx, dword [0x4dd414]
and ecx, 0x20
test ecx, ecx
je 0x4a4f67
mov edx, dword [0x4dd3d0]
xor edx, dword [0x4dd3b0]
xor edx, dword [0x4dd388]
push edx
push 0x4dd680
lea eax, [ebp - 0x128]
push eax
call fcn.004b8e0a
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0
push 0
call dword [0x4dd0a0]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4a4f67
call dword [0x4dd074]
cmp eax, 0xb7
jne 0x4a4f67
push 0x7530
mov edx, dword [ebp - 0x12c]
push edx
call dword [0x4dd09c]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x4a4e7a
cmp dword [ebp - 0x130], 0x80
jne 0x4a4f5d
mov eax, dword [0x4dd3d0]
xor eax, dword [0x4dd3b0]
xor eax, dword [0x4dd388]
push eax
push 0x4dd678
lea ecx, [ebp - 0x128]
push ecx
call fcn.004b8e0a
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x4a4ebb
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x4a4ef4
lea eax, [ebp - 0x128]
push eax
push 0x4dd66c
call dword [0x4dd21c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4a4eea
jmp 0x4a4ef4
push 0x64
call dword [0x4dd1a0]
jmp 0x4a4eac
cmp dword [ebp - 0x134], 0
je 0x4a4f50
mov ecx, dword [0x4dd3d0]
xor ecx, dword [0x4dd3b0]
xor ecx, dword [0x4dd388]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x4e3e58]
push edx
call fcn.004b8b30
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x4e3e58]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x134]
push edx
call dword [0x4dd254]
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x4dd098]
mov eax, 1
jmp 0x4a54c7
push 1
call fcn.004a54d8
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x4a5162
mov edx, dword [0x4dd404]
xor edx, dword [0x4dd3d8]
xor edx, dword [0x4dd414]
and edx, 0x40
test edx, edx
jne 0x4a5162
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x4dd664
call dword [0x4dd064]
test eax, eax
jne 0x4a5162
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.004b8820
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x4a4ff6
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x4a5030
mov eax, dword [ebp - 0x448]
push eax
push 0x4dd65c
lea ecx, [ebp - 0x444]
push ecx
call fcn.004b8e0a
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [0x4dd094]
jmp 0x4a4fe7
mov ecx, dword [0x4dd404]
xor ecx, dword [0x4dd3d8]
xor ecx, dword [0x4dd414]
and ecx, 0x10
test ecx, ecx
jne 0x4a5162
lea edx, [ebp - 0x5a0]
push edx
call dword [0x4dd090]
mov al, byte [0x4e3e40]
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 [0x4e3e40]
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 [0x4e3e50], 1
jne 0x4a50cb
cmp dword [ebp - 0x594], 0
jne 0x4a50cb
lea edx, [ebp - 0x6a4]
push edx
call fcn.004a6980
add esp, 4
and eax, 0xff
test eax, eax
je 0x4a50cb
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x55c]
push ecx
push 0
call dword [0x4dd1c0]
test eax, eax
jne 0x4a50ea
xor eax, eax
jmp 0x4a54c7
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 [0x4dd08c]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call dword [0x4dd088]
test eax, eax
jne 0x4a5146
mov dword [0x4e4090], 6
call dword [0x4dd074]
push eax
push 0x4dd63c
push 0x4e4094
call fcn.004b8e0a
add esp, 0xc
xor eax, eax
jmp 0x4a54c7
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [0x4dd220]
mov eax, 1
jmp 0x4a54c7
mov eax, dword [0x4dd404]
xor eax, dword [0x4dd3d8]
xor eax, dword [0x4dd414]
and eax, 0x10
test eax, eax
je 0x4a543e
mov ecx, dword [0x4dd388]
xor ecx, dword [0x4dd3e4]
push ecx
call dword [0x4dd1b4]
push eax
push 0x4dd688
lea edx, [ebp - 0x128]
push edx
call fcn.004b8e0a
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [0x4dd0a4]
test eax, eax
jne 0x4a543c
push 1
call dword [0x4dd084]
push eax
call dword [0x4dd080]
mov byte [ebp - 0x6a8], 0
push 0x4dd630
call dword [0x4dd078]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x4a5224
push 0x4dd61c
mov ecx, dword [ebp - 0x6ac]
push ecx
call dword [0x4dd070]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x4a5224
call dword [ebp - 0x744]
test eax, eax
je 0x4a5224
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea edx, [ebp - 0x740]
push edx
call dword [0x4dd1ac]
cmp dword [ebp - 0x730], 2
je 0x4a52b0
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 0x4a529a
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x4a52b0
mov byte [0x4e43ac], 1
cmp dword [ebp - 0x730], 2
jne 0x4a531a
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 0x4a52dc
add ebp, ebx
and ch, bl
jmp 0x4a52fd
xor ebx, ebx
je 0x4a52e0
jmp 0x4a52ef
mov ecx, 0x34f9c987
nop
stc
je 0x4a52f3
jmp 0x4a5323
xor eax, eax
je 0x4a52e5
mov eax, 0x4840c987
test eax, eax
jne 0x4a52d9
jmp 0x92b0f062
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 0x4a5331
jmp 0x4a53a2
jo 0x4a5323
jl 0x4a5321
jmp 0x4a5325
je 0x4a531e
jmp 0x4a531e
mov eax, dword fs:[0x20]
or eax, eax
jne 0x4a5331
jmp 0x4a53a2
pushal
xor eax, eax
jne 0x4a5338
jmp 0x4a534d
jmp 0x4a536d
xor eax, eax
jne 0x4a5355
jp 0x4a534b
jo 0x4a534f
jmp 0x4a5350
jb 0x4a5354
jns 0x4a5339
call dword [0x74097900]
invalid
jns 0x4a5356
je 0x4a533f
jmp 0x4a52d8
xchg ebx, ebx
jp 0x4a5344
mov al, byte [0x5c66133]
jl 0x4a539b
xor esp, dword [ecx - 0x3a]
add eax, 0x4e407c
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x4e407c], 1
dec esi
add byte [ecx], al
push eax
not eax
bswap eax
pop eax
jae 0x4a5366
pushfd
pushal
jmp 0x4a5395
sub edx, edx
jo 0x4a537b
jmp 0x4a538c
xor ecx, ecx
je 0x4a5373
jmp 0x4a5385
stc
xor ecx, 3
je 0x4a530b
jmp 0x4a5382
jmp 0x4a5390
jae 0x4a537e
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4a5375
jmp 0x4a536f
sbb al, 0xdb
jmp 0x4a5398
jmp 0x4a5369
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
enter 0xffffffffffffd1f7, 0xf
enter 0xffffffffffffd1f7, 0xffffffffffffff8b
lea ebx, [eax - 7]
invalid
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x4a53e0
call dword [0x4dd1b4]
push eax
push 0x4dd614
lea edx, [ebp - 0x128]
push edx
call fcn.004b8e0a
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [0x4dd0a0]
jmp 0x4a543c
xor ecx, ecx
cmp dword [0x4e3e50], 0
sete cl
push ecx
call fcn.004a7b78
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4a5428
mov dword [0x4e4090], 6
call dword [0x4dd074]
push eax
push 0x4dd604
push 0x4e4094
call fcn.004b8e0a
add esp, 0xc
xor eax, eax
jmp 0x4a54c7
push 0
call fcn.004a54d8
add esp, 4
mov eax, 1
jmp 0x4a54c7
jmp 0x4a545c
mov edx, dword [0x4dd38c]
xor edx, dword [0x4dd3d8]
xor edx, dword [0x4dd414]
and edx, 2
test edx, edx
je 0x4a545c
call fcn.004a3082
call fcn.004a3cbb
mov dword [ebp - 0x1c], eax
push 0
call fcn.004a54d8
add esp, 4
push 0
call fcn.004b8e5c
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x4a548f
push 0x4e3e50
call dword [0x4e3e78]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4a3c8c
call fcn.004b8e5c
add esp, 4
cmp dword [0x4e3e74], 0
je 0x4a54ab
call dword [0x4e3e74]
cmp dword [0x4e4088], 0
je 0x4a54c4
push 0
push 0
mov eax, dword [0x4e4084]
push eax
call dword [0x4e4088]
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