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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521a70
push 0x502380
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 0x4e358c
call fcn.0050225b
add esp, 4
mov eax, dword [0x51d2c8]
xor eax, dword [0x51d284]
push eax
call dword [0x51d058]
push eax
push str._X::DA_08X
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00502181
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51d054]
test eax, eax
jne 0x4e45f9
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x4e47a0
mov ecx, dword [0x51d2b8]
xor ecx, dword [0x51d2cc]
xor ecx, dword [0x51d2d0]
and ecx, 0x20
test ecx, ecx
je 0x4e47a0
mov edx, dword [0x51d2c4]
xor edx, dword [0x51d2a0]
xor edx, dword [0x51d2c8]
push edx
push str.RN_08X
lea eax, [ebp - 0x12c]
push eax
call fcn.00502181
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 0x4e47a0
call dword [0x51d170]
cmp eax, 0xb7
jne 0x4e47a0
push 0x7530
mov edx, dword [ebp - 0x130]
push edx
call dword [0x51d04c]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4e46b3
cmp dword [ebp - 0x134], 0x80
jne 0x4e4796
mov eax, dword [0x51d2c4]
xor eax, dword [0x51d2a0]
xor eax, dword [0x51d2c8]
push eax
push str._08X
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00502181
add esp, 0xc
mov dword [ebp - 0x13c], 0
jmp 0x4e46f4
mov edx, dword [ebp - 0x13c]
add edx, 1
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0x12c
jge 0x4e472d
lea eax, [ebp - 0x12c]
push eax
push str.MainClass
call dword [0x51d204]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x4e4723
jmp 0x4e472d
push 0x64
call dword [0x51d048]
jmp 0x4e46e5
cmp dword [ebp - 0x138], 0
je 0x4e4789
mov ecx, dword [0x51d2c4]
xor ecx, dword [0x51d2a0]
xor ecx, dword [0x51d2c8]
mov dword [ebp - 0x148], ecx
mov edx, dword [0x5230f8]
push edx
call fcn.005021e0
add esp, 4
add eax, 1
mov dword [ebp - 0x144], eax
mov eax, dword [0x5230f8]
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 0x4e4db3
push 1
call fcn.004e4dc4
add esp, 4
mov ecx, dword [ebp - 0x28]
and ecx, 0xff
test ecx, ecx
je 0x4e4989
mov edx, dword [0x51d2b8]
xor edx, dword [0x51d2cc]
xor edx, dword [0x51d2d0]
and edx, 0x40
test edx, edx
jne 0x4e4989
push 0x200
lea eax, [ebp - 0x348]
push eax
push str._PAD64
call dword [0x51d040]
test eax, eax
jne 0x4e4989
push 0xc8
push 0x23
lea ecx, [ebp - 0x348]
push ecx
call fcn.00501ff0
add esp, 0xc
mov byte [ebp - 0x280], 0
mov dword [ebp - 0x44c], 1
jmp 0x4e482f
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0x40
jg 0x4e4869
mov eax, dword [ebp - 0x44c]
push eax
push str._PAD_d
lea ecx, [ebp - 0x448]
push ecx
call fcn.00502181
add esp, 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [0x51d03c]
jmp 0x4e4820
mov ecx, dword [0x51d2b8]
xor ecx, dword [0x51d2cc]
xor ecx, dword [0x51d2d0]
and ecx, 0x10
test ecx, ecx
jne 0x4e4989
lea edx, [ebp - 0x5a4]
push edx
call dword [0x51d038]
mov al, byte [0x52343c]
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 [0x52343c]
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 [0x5230f0], 1
jne 0x4e4904
cmp dword [ebp - 0x598], 0
jne 0x4e4904
lea edx, [ebp - 0x6a8]
push edx
call fcn.004f101f
add esp, 4
and eax, 0xff
test eax, eax
je 0x4e4904
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 0x4e4923
xor eax, eax
jmp 0x4e4db3
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 0x4e497f
mov dword [0x52332c], 6
call dword [0x51d170]
push eax
push str._Location_XEB__error_code__d_
push 0x523330
call fcn.00502181
add esp, 0xc
xor eax, eax
jmp 0x4e4db3
mov eax, 1
jmp 0x4e4db3
mov edx, dword [0x51d2b8]
xor edx, dword [0x51d2cc]
xor edx, dword [0x51d2d0]
and edx, 0x10
test edx, edx
je 0x4e4c63
mov eax, dword [0x51d2c8]
xor eax, dword [0x51d284]
push eax
call dword [0x51d058]
push eax
push str._X::DA_08X
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00502181
add esp, 0x10
lea edx, [ebp - 0x12c]
push edx
push 0
push 0x1f0001
call dword [0x51d054]
test eax, eax
je 0x4e4c63
push 1
call dword [0x51d0c4]
push eax
call dword [0x51d15c]
mov byte [ebp - 0x6ac], 0
push str.Kernel32
call dword [0x51d16c]
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x4e4a4b
push str.IsDebuggerPresent
mov eax, dword [ebp - 0x6b0]
push eax
call dword [0x51d174]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0
je 0x4e4a4b
call dword [ebp - 0x748]
test eax, eax
je 0x4e4a4b
mov byte [ebp - 0x6ac], 1
mov dword [ebp - 0x744], 0x94
lea ecx, [ebp - 0x744]
push ecx
call dword [0x51d160]
cmp dword [ebp - 0x734], 2
je 0x4e4ad8
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 0x4e4ac1
mov edx, dword [ebp - 0x74c]
and edx, 0xff
test edx, edx
jne 0x4e4ad8
mov byte [0x5235c4], 1
cmp dword [ebp - 0x734], 2
jne 0x4e4b42
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 0x4e4b04
add ebp, ebx
and ch, bl
jmp 0x4e4b25
xor ebx, ebx
je 0x4e4b08
jmp 0x4e4b17
mov ecx, 0x34f9c987
nop
stc
je 0x4e4b1b
jmp 0x4e4b4b
xor eax, eax
je 0x4e4b0d
mov eax, 0x4840c987
test eax, eax
jne 0x4e4b01
jmp 0x92b4e88a
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 0x4e4b59
jmp 0x4e4bca
jo 0x4e4b4b
jl 0x4e4b49
jmp 0x4e4b4d
je 0x4e4b46
jmp 0x4e4b46
mov eax, dword fs:[0x20]
or eax, eax
jne 0x4e4b59
jmp 0x4e4bca
pushal
xor eax, eax
jne 0x4e4b60
jmp 0x4e4b75
jmp 0x4e4b95
xor eax, eax
jne 0x4e4b7d
jp 0x4e4b73
jo 0x4e4b77
jmp 0x4e4b78
jb 0x4e4b7c
jns 0x4e4b61
call dword [0x74097900]
invalid
jns 0x4e4b7e
je 0x4e4b67
jmp 0x4e4b00
xchg ebx, ebx
jp 0x4e4b6c
mov al, byte [0x5c66133]
sbb byte [ebx], dh
push edx
add byte [ecx], al
xor esp, dword [ecx - 0x3a]
add eax, 0x523318
add dword [eax - 9], edx
ror byte [edi], 1
enter 0x7358, 0
popal
mov byte [0x523318], 1
push eax
not eax
bswap eax
pop eax
jae 0x4e4b8e
pushfd
pushal
jmp 0x4e4bbd
sub edx, edx
jo 0x4e4ba3
jmp 0x4e4bb4
xor ecx, ecx
je 0x4e4b9b
jmp 0x4e4bad
stc
xor ecx, 3
je 0x4e4b33
jmp 0x4e4baa
jmp 0x4e4bb8
jae 0x4e4ba6
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e4b9d
jmp 0x4e4b97
sbb al, 0xdb
jmp 0x4e4bc0
jmp 0x4e4b91
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov eax, dword [ebp - 0x6ac]
and eax, 0xff
test eax, eax
je 0x4e4c07
call dword [0x51d058]
push eax
push str._X:DAF
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00502181
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
push 0
push 0
call dword [0x51d050]
jmp 0x4e4c63
xor eax, eax
cmp dword [0x5230f0], 0
sete al
push eax
call fcn.004f1596
rcl byte [eax - 0x18], 0x7d
leave
add byte [eax], al
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4e4c4f
mov dword [0x52332c], 6
call dword [0x51d170]
push eax
push str._Error_code__d_
push 0x523330
call fcn.00502181
add esp, 0xc
xor eax, eax
jmp 0x4e4db3
push 0
call fcn.004e4dc4
add esp, 4
mov eax, 1
jmp 0x4e4db3
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 0x45d84c69
call fcn.004e35bb
mov dword [ebp - 0x1c], eax
pushal
xor eax, eax
jne 0x4e4c72
jmp 0x4e4c87
jmp 0x4e4ca7
xor eax, eax
jne 0x4e4c8f
jp 0x4e4c85
jo 0x4e4c89
jmp 0x4e4c8a
jb 0x4e4c8e
jns 0x4e4c73
call dword [0x74097900]
invalid
jns 0x4e4c90
je 0x4e4c79
jmp 0x4e4c12
xchg ebx, ebx
jp 0x4e4c7e
mov al, byte [0xd8b6133]
rcl dword fs:[ecx]
xor esp, dword [ecx - 0x75]
or eax, 0x51d164
popal
mov ecx, dword [0x51d164]
push ecx
call fcn.004e3550
add esp, 4
mov byte [ebp - 0x20], al
push eax
not eax
bswap eax
pop eax
jae 0x4e4cab
enter 0x7358, 0
pushfd
pushal
jmp 0x4e4cda
sub edx, edx
jo 0x4e4cc0
jmp 0x4e4cd1
xor ecx, ecx
je 0x4e4cb8
jmp 0x4e4cca
stc
xor ecx, 3
je 0x4e4c50
jmp 0x4e4cc7
jmp 0x4e4cd5
jae 0x4e4cc3
sbb bl, bl
sbb bl, bl
xor ebx, ebx
jmp 0x4e4cba
jmp 0x4e4cb4
sbb al, 0xdb
jmp 0x4e4cdd
jmp 0x4e4cae
popal
popfd
bswap eax
not ecx
bswap eax
not ecx
mov edx, dword [ebp - 0x20]
and edx, 0xff
test edx, edx
je 0x4e4d03
mov eax, dword [0x51d268]
xor eax, 0x7c3
mov dword [0x51d268], 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 0x4e4d26
jmp 0x4e4d47
xor ebx, ebx
je 0x4e4d2a
jmp 0x4e4d39
mov ecx, 0x34f9c987
nop
stc
je 0x4e4d3d
jmp 0x4e4d6d
xor eax, eax
je 0x4e4d2f
mov eax, 0x4840c987
test eax, eax
jne 0x4e4d23
jmp 0x92b4eaac
popal
popfd
xchg dx, ax
xchg dx, ax
mov eax, eax
push 0
call fcn.004e4dc4
add esp, 4
push 0
call fcn.0050225b
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x4e4d7a
push 0x5230f0
call dword [0x523114]
add bh, bh
adc eax, 0x523114
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x4e358c
call fcn.0050225b
add esp, 4
cmp dword [0x523110], 0
je 0x4e4d96
call dword [0x523110]
cmp dword [0x523324], 0
je 0x4e4db0
push 0
push 0
mov ecx, dword [0x523320]
push ecx
call dword [0x523324]
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