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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521da0
push 0x4f8320
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 [0x51d02c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [0x51d218]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [0x51d21c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x4e2fac
call fcn.004f81fc
add esp, 4
mov eax, dword [0x51d3f4]
xor eax, dword [0x51d3fc]
push eax
call dword [0x51d1b8]
push eax
push 0x51d6a8
lea ecx, [ebp - 0x128]
push ecx
call fcn.004f81aa
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [0x51d0a8]
test eax, eax
je 0x4e40fd
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x4e42a4
mov ecx, dword [0x51d3c8]
xor ecx, dword [0x51d3d8]
xor ecx, dword [0x51d3ac]
and ecx, 0x20
test ecx, ecx
je 0x4e42a4
mov edx, dword [0x51d3e4]
xor edx, dword [0x51d3f0]
xor edx, dword [0x51d3f4]
push edx
push 0x51d6a0
lea eax, [ebp - 0x128]
push eax
call fcn.004f81aa
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0
push 0
call dword [0x51d0a4]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4e42a4
call dword [0x51d078]
cmp eax, 0xb7
jne 0x4e42a4
push 0x7530
mov edx, dword [ebp - 0x12c]
push edx
call dword [0x51d0a0]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x4e41b7
cmp dword [ebp - 0x130], 0x80
jne 0x4e429a
mov eax, dword [0x51d3e4]
xor eax, dword [0x51d3f0]
xor eax, dword [0x51d3f4]
push eax
push 0x51d698
lea ecx, [ebp - 0x128]
push ecx
call fcn.004f81aa
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x4e41f8
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x4e4231
lea eax, [ebp - 0x128]
push eax
push 0x51d68c
call dword [0x51d220]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4e4227
jmp 0x4e4231
push 0x64
call dword [0x51d1a4]
jmp 0x4e41e9
cmp dword [ebp - 0x134], 0
je 0x4e428d
mov ecx, dword [0x51d3e4]
xor ecx, dword [0x51d3f0]
xor ecx, dword [0x51d3f4]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x523ea0]
push edx
call fcn.004f7ed0
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x523ea0]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x134]
push edx
call dword [0x51d280]
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x51d09c]
mov eax, 1
jmp 0x4e4804
push 1
call fcn.004e4815
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x4e449f
mov edx, dword [0x51d3c8]
xor edx, dword [0x51d3d8]
xor edx, dword [0x51d3ac]
and edx, 0x40
test edx, edx
jne 0x4e449f
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x51d684
call dword [0x51d068]
test eax, eax
jne 0x4e449f
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.004f7bc0
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x4e4333
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x4e436d
mov eax, dword [ebp - 0x448]
push eax
push 0x51d67c
lea ecx, [ebp - 0x444]
push ecx
call fcn.004f81aa
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [0x51d098]
jmp 0x4e4324
mov ecx, dword [0x51d3c8]
xor ecx, dword [0x51d3d8]
xor ecx, dword [0x51d3ac]
and ecx, 0x10
test ecx, ecx
jne 0x4e449f
lea edx, [ebp - 0x5a0]
push edx
call dword [0x51d094]
mov al, byte [0x523e88]
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 [0x523e88]
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 [0x523e98], 1
jne 0x4e4408
cmp dword [ebp - 0x594], 0
jne 0x4e4408
lea edx, [ebp - 0x6a4]
push edx
call fcn.004e5cb0
add esp, 4
and eax, 0xff
test eax, eax
je 0x4e4408
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x55c]
push ecx
push 0
call dword [0x51d1c4]
test eax, eax
jne 0x4e4427
xor eax, eax
jmp 0x4e4804
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 [0x51d090]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call dword [0x51d08c]
test eax, eax
jne 0x4e4483
mov dword [0x5240d8], 6
call dword [0x51d078]
push eax
push 0x51d65c
push 0x5240dc
call fcn.004f81aa
add esp, 0xc
xor eax, eax
jmp 0x4e4804
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [0x51d224]
mov eax, 1
jmp 0x4e4804
mov eax, dword [0x51d3c8]
xor eax, dword [0x51d3d8]
xor eax, dword [0x51d3ac]
and eax, 0x10
test eax, eax
je 0x4e477b
mov ecx, dword [0x51d3f4]
xor ecx, dword [0x51d3fc]
push ecx
call dword [0x51d1b8]
push eax
push 0x51d6a8
lea edx, [ebp - 0x128]
push edx
call fcn.004f81aa
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [0x51d0a8]
test eax, eax
jne 0x4e4779
push 1
call dword [0x51d088]
push eax
call dword [0x51d084]
mov byte [ebp - 0x6a8], 0
push 0x51d650
call dword [fcn.0051d07c]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x4e4561
push 0x51d63c
mov ecx, dword [ebp - 0x6ac]
push ecx
call dword [fcn.0051d074]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x4e4561
call dword [ebp - 0x744]
test eax, eax
je 0x4e4561
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea edx, [ebp - 0x740]
push edx
call dword [fcn.0051d1b0]
cmp dword [ebp - 0x730], 2
je 0x4e45ed
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 0x4e45d7
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x4e45ed
mov byte [0x5243e0], 1
cmp dword [ebp - 0x730], 2
jne 0x4e4657
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 0x4e4619
add ebp, ebx
and ch, bl
jmp 0x4e463a
xor ebx, ebx
je 0x4e461d
jmp 0x4e462c
mov ecx, 0x34f9c987
nop
stc
je 0x4e4630
jmp 0x4e4660
xor eax, eax
je 0x4e4622
mov eax, 0x4840c987
test eax, eax
jne 0x4e4616
jmp 0x92b4e39f
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 0x4e466e
jmp 0x4e46df
jo 0x4e4660
jl 0x4e465e
jmp 0x4e4662
je 0x4e465b
jmp 0x4e465b
mov eax, dword fs:[0x20]
or eax, eax
jne 0x4e466e
jmp 0x4e46df
pushal
xor eax, eax
jne 0x4e4675
jmp 0x4e468a
jmp 0x4e46aa
xor eax, eax
jne 0x4e4692
jp 0x4e4688
jo 0x4e468c
jmp 0x4e468d
jb 0x4e4691
jns 0x4e4676
call dword [0x74097900]
invalid
jns 0x4e4693
je 0x4e467c
jmp 0x4e4615
xchg ebx, ebx
jp 0x4e4681
mov al, byte [0x5c66133]
les eax, [eax + 0x52]
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x5240c4
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x5240c4], 1
push eax
not eax
bswap eax
pop eax
jae 0x4e46a3
pushfd
pushal
jmp 0x4e46d2
sub edx, edx
jo 0x4e46b8
jmp 0x4e46c9
xor ecx, ecx
je 0x4e46b0
jmp 0x4e46c2
stc
xor ecx, 3
je 0x4e4648
jmp 0x4e46bf
jmp 0x4e46cd
jae 0x4e46bb
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e46b2
jmp 0x4e46ac
sbb al, 0xdb
jmp 0x4e46d5
jmp 0x4e46a6
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x4e471d
call dword [0x51d1b8]
push eax
push 0x51d634
lea edx, [ebp - 0x128]
push edx
call fcn.004f81aa
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [0x51d0a4]
jmp 0x4e4779
xor ecx, ecx
cmp dword [0x523e98], 0
sete cl
push ecx
call fcn.004e6ea8
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4e4765
mov dword [0x5240d8], 6
call dword [0x51d078]
push eax
push 0x51d624
push 0x5240dc
call fcn.004f81aa
add esp, 0xc
xor eax, eax
jmp 0x4e4804
push 0
call fcn.004e4815
add esp, 4
mov eax, 1
jmp 0x4e4804
jmp 0x4e4799
mov edx, dword [0x51d380]
xor edx, dword [0x51d3d8]
xor edx, dword [0x51d3ac]
and edx, 2
test edx, edx
je 0x4e4799
call fcn.004e2482
call fcn.004e2fdb
mov dword [ebp - 0x1c], eax
push 0
call fcn.004e4815
add esp, 4
push 0
call fcn.004f81fc
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x4e47cc
push 0x523e98
call dword [0x523ec0]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4e2fac
call fcn.004f81fc
add esp, 4
cmp dword [fcn.00523ebc], 0
je 0x4e47e8
call dword [fcn.00523ebc]
cmp dword [fcn.005240d0], 0
je 0x4e4801
push 0
push 0
mov eax, dword [0x5240cc]
push eax
call dword [fcn.005240d0]
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