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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102983e8
push 0x1027fd40
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 [0x1029602c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [0x10296220]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [0x10296224]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x1026d9dc
call dword [fcn.10296164]
add esp, 4
mov eax, dword [0x102963c8]
xor eax, dword [0x10296418]
push eax
call dword [0x10296134]
push eax
push 0x102966d8
lea ecx, [ebp - 0x128]
push ecx
call dword [0x10296174]
add esp, 0x10
lea edx, [ebp - 0x128]
push edx
push 0
push 0x1f0001
call dword [0x102960a8]
test eax, eax
je 0x1047a739
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xff
test eax, eax
je 0x1047a8e2
mov ecx, dword [0x10296444]
xor ecx, dword [0x102963b4]
xor ecx, dword [0x10296434]
and ecx, 0x20
test ecx, ecx
je 0x1047a8e2
mov edx, dword [0x102963fc]
xor edx, dword [0x102963e4]
xor edx, dword [0x102963c8]
push edx
push 0x102966d0
lea eax, [ebp - 0x128]
push eax
call dword [0x10296174]
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
push 0
push 0
call dword [0x10296144]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x1047a8e2
call dword [0x1029607c]
cmp eax, 0xb7
jne 0x1047a8e2
push 0x7530
mov edx, dword [ebp - 0x12c]
push edx
call dword [0x102960a0]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x1047a7f4
cmp dword [ebp - 0x130], 0x80
jne 0x1047a8d8
mov eax, dword [0x102963fc]
xor eax, dword [0x102963e4]
xor eax, dword [0x102963c8]
push eax
push 0x102966c8
lea ecx, [ebp - 0x128]
push ecx
call dword [0x10296174]
add esp, 0xc
mov dword [ebp - 0x138], 0
jmp 0x1047a836
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0x12c
jge 0x1047a86f
lea eax, [ebp - 0x128]
push eax
push 0x102966bc
call dword [0x10296228]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x1047a865
jmp 0x1047a86f
push 0x64
call dword [0x10296120]
jmp 0x1047a827
cmp dword [ebp - 0x134], 0
je 0x1047a8cb
mov ecx, dword [0x102963fc]
xor ecx, dword [0x102963e4]
xor ecx, dword [0x102963c8]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x1029a078]
push edx
call fcn.1048b936
add esp, 4
add eax, 1
mov dword [ebp - 0x140], eax
mov eax, dword [0x1029a078]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x134]
push edx
call dword [0x10296260]
mov eax, dword [ebp - 0x12c]
push eax
call dword [0x1029609c]
mov eax, 1
jmp 0x1047ae49
push 1
call fcn.1047ae5a
add esp, 4
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
test ecx, ecx
je 0x1047aadf
mov edx, dword [0x10296444]
xor edx, dword [0x102963b4]
xor edx, dword [0x10296434]
and edx, 0x40
test edx, edx
jne 0x1047aadf
push 0x200
lea eax, [ebp - 0x344]
push eax
push 0x102966b4
call dword [0x10296068]
test eax, eax
jne 0x1047aadf
push 0xc8
push 0x23
lea ecx, [ebp - 0x344]
push ecx
call fcn.1048b8ee
add esp, 0xc
mov byte [ebp - 0x27c], 0
mov dword [ebp - 0x448], 1
jmp 0x1047a971
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
cmp dword [ebp - 0x448], 0x40
jg 0x1047a9ac
mov eax, dword [ebp - 0x448]
push eax
push 0x102966ac
lea ecx, [ebp - 0x444]
push ecx
call dword [0x10296174]
add esp, 0xc
lea edx, [ebp - 0x344]
push edx
lea eax, [ebp - 0x444]
push eax
call dword [0x10296064]
jmp 0x1047a962
mov ecx, dword [0x10296444]
xor ecx, dword [0x102963b4]
xor ecx, dword [0x10296434]
and ecx, 0x10
test ecx, ecx
jne 0x1047aadf
lea edx, [ebp - 0x5a0]
push edx
call dword [0x10296098]
mov al, byte [0x1029a050]
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 [0x1029a050]
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 [0x1029a070], 1
jne 0x1047aa47
cmp dword [ebp - 0x594], 0
jne 0x1047aa47
lea edx, [ebp - 0x6a4]
push edx
call fcn.1047bed0
add esp, 4
and eax, 0xff
test eax, eax
je 0x1047aa47
lea eax, [ebp - 0x6a4]
mov dword [ebp - 0x594], eax
push 0x104
lea ecx, [ebp - 0x55c]
push ecx
push 0
call dword [0x10296140]
test eax, eax
jne 0x1047aa66
xor eax, eax
jmp 0x1047ae49
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 [0x10296094]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call dword [0x10296090]
test eax, eax
jne 0x1047aac3
mov dword [0x1029a2b0], 6
call dword [0x1029607c]
push eax
push 0x1029668c
push 0x1029a2b4
call dword [0x10296174]
add esp, 0xc
xor eax, eax
jmp 0x1047ae49
push 0x2710
mov edx, dword [ebp - 0x458]
push edx
call dword [0x1029622c]
mov eax, 1
jmp 0x1047ae49
mov eax, dword [0x10296444]
xor eax, dword [0x102963b4]
xor eax, dword [0x10296434]
and eax, 0x10
test eax, eax
je 0x1047adbe
mov ecx, dword [0x102963c8]
xor ecx, dword [0x10296418]
push ecx
call dword [0x10296134]
push eax
push 0x102966d8
lea edx, [ebp - 0x128]
push edx
call dword [0x10296174]
add esp, 0x10
lea eax, [ebp - 0x128]
push eax
push 0
push 0x1f0001
call dword [0x102960a8]
test eax, eax
jne 0x1047adbc
push 1
call dword [0x1029608c]
push eax
call dword [0x10296088]
mov byte [ebp - 0x6a8], 0
push 0x10296680
call dword [fcn.10296080]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6ac], 0
je 0x1047aba2
push 0x1029666c
mov ecx, dword [ebp - 0x6ac]
push ecx
call dword [fcn.10296078]
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
je 0x1047aba2
call dword [ebp - 0x744]
test eax, eax
je 0x1047aba2
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x740], 0x94
lea edx, [ebp - 0x740]
push edx
call dword [fcn.1029612c]
cmp dword [ebp - 0x730], 2
je 0x1047ac2e
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 0x1047ac18
mov eax, dword [ebp - 0x748]
and eax, 0xff
test eax, eax
jne 0x1047ac2e
mov byte [0x1029a670], 1
cmp dword [ebp - 0x730], 2
jne 0x1047ac98
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 0x1047ac5a
add ebp, ebx
and ch, bl
jmp 0x1047ac7b
xor ebx, ebx
je 0x1047ac5e
jmp 0x1047ac6d
mov ecx, 0x34f9c987
nop
stc
je 0x1047ac71
jmp 0x1047aca1
xor eax, eax
je 0x1047ac63
mov eax, 0x4840c987
test eax, eax
jne 0x1047ac57
jmp 0xa2ae49e0
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 0x1047acaf
jmp 0x1047ad20
jo 0x1047aca1
jl 0x1047ac9f
jmp 0x1047aca3
je 0x1047ac9c
jmp 0x1047ac9c
mov eax, dword fs:[0x20]
or eax, eax
jne 0x1047acaf
jmp 0x1047ad20
pushal
xor eax, eax
jne 0x1047acb6
jmp 0x1047accb
jmp 0x1047aceb
xor eax, eax
jne 0x1047acd3
jp 0x1047acc9
jo 0x1047accd
jmp 0x1047acce
jb 0x1047acd2
jns 0x1047acb7
call dword [0x74097900]
invalid
jns 0x1047acd4
je 0x1047acbd
jmp 0x1047ac56
xchg ebx, ebx
jp 0x1047acc2
mov al, byte [0x5c66133]
pushfd
mov byte [0x50011029], al
xor esp, dword [ecx - 0x3a]
add eax, 0x1029a29c
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x1029a29c], 1
push eax
not eax
bswap eax
pop eax
jae 0x1047ace4
pushfd
pushal
jmp 0x1047ad13
sub edx, edx
jo 0x1047acf9
jmp 0x1047ad0a
xor ecx, ecx
je 0x1047acf1
jmp 0x1047ad03
stc
xor ecx, 3
je 0x1047ac89
jmp 0x1047ad00
jmp 0x1047ad0e
jae 0x1047acfc
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x1047acf3
jmp 0x1047aced
sbb al, 0xdb
jmp 0x1047ad16
jmp 0x1047ace7
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov ecx, dword [ebp - 0x6a8]
and ecx, 0xff
test ecx, ecx
je 0x1047ad5f
call dword [0x10296134]
push eax
push 0x10296664
lea edx, [ebp - 0x128]
push edx
call dword [0x10296174]
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0
push 0
call dword [0x10296144]
jmp 0x1047adbc
xor ecx, ecx
cmp dword [0x1029a070], 0
sete cl
push ecx
call fcn.1047cbcb
add esp, 4
and eax, 0xff
test eax, eax
jne 0x1047ada8
mov dword [0x1029a2b0], 6
call dword [0x1029607c]
push eax
push 0x10296654
push 0x1029a2b4
call dword [0x10296174]
add esp, 0xc
xor eax, eax
jmp 0x1047ae49
push 0
call fcn.1047ae5a
add esp, 4
mov eax, 1
jmp 0x1047ae49
jmp 0x1047addc
mov edx, dword [0x1029641c]
xor edx, dword [0x102963b4]
xor edx, dword [0x10296434]
and edx, 2
test edx, edx
je 0x1047addc
call fcn.10478669
call fcn.1047960c
mov dword [ebp - 0x1c], eax
push 0
call fcn.1047ae5a
add esp, 4
push 0
call dword [fcn.10296164]
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x1047ae10
push 0x1029a070
call dword [0x1029a098]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x1026d9dc
call dword [fcn.10296164]
add esp, 4
cmp dword [fcn.1029a094], 0
je 0x1047ae2d
call dword [fcn.1029a094]
cmp dword [fcn.1029a2a8], 0
je 0x1047ae46
push 0
push 0
mov eax, dword [0x1029a2a4]
push eax
call dword [fcn.1029a2a8]
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