Function at 0x7e51c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0xbd33e0]
xor edi, edi
xor eax, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x38], edx
mov ebx, dword [ecx]
cmp dword [ecx + 0x24], 0
jne 0x7e5c78
cmp byte [ebx + 0x51], 0
jne 0x7e5c78
mov esi, ecx
call fcn.0080fb50
test eax, eax
je 0x7e5c78
mov dword [esp + 4], eax
mov ecx, esi
mov edx, dword [esp + 4]
push 0
push 0
push 0x7e
call fcn.0082cc40
mov edx, dword [esp + 0x10]
add esp, 0xc
mov ecx, dword [edx + 0xc]
test eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov cl, 1
jne 0x7e5270
mov edx, dword [esp + 4]
mov ecx, esi
push 0
push 0
call fcn.0082ccb0
mov edx, dword [esp + 0xc]
add esp, 8
test eax, eax
setne cl
mov byte [esp + 0xc], cl
mov ecx, esi
call fcn.0080c2b0
test eax, eax
jne 0x7e5c78
xor eax, eax
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 4]
mov ecx, esi
setne al
push eax
call fcn.0082cd80
add esp, 4
test eax, eax
jne 0x7e5c78
mov eax, dword [esp + 4]
mov ecx, ebx
mov edx, dword [eax + 0x48]
call fcn.0078dee0
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
shl eax, 4
mov edx, 9
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov dword [esp + 8], ecx
mov ecx, esi
mov eax, dword [esp + 8]
push dword [eax + edi]
xor edi, edi
push 0
mov eax, dword [esp + 0xc]
push dword [eax]
call fcn.008002d0
add esp, 0xc
cmp eax, 1
je 0x7e5c78
mov edx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [edx + 1]
mov dword [esp + 0x48], eax
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
test eax, eax
jne 0x7e5318
xor edi, edi
jmp 0x7e5329
mov ecx, dword [esi + 0x28]
xor edi, edi
inc ecx
inc edi
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x7e531d
cmp dword [esp + 0x28], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], edx
je 0x7e534c
mov eax, dword [esp + 4]
lea edx, [esp + 0x70]
mov ecx, esi
push dword [eax]
call fcn.0082d1e0
add esp, 4
mov ecx, esi
call fcn.007f7590
xor edi, edi
test eax, eax
mov dword [esp + 8], eax
je 0x7e5c78
movzx edx, byte [esp + 0xc]
cmp byte [esi + 0x12], 0
mov dword [esp + 0xc], edx
jne 0x7e537d
mov ecx, dword [esp + 8]
call fcn.0082d200
mov edx, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
call fcn.00800f40
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [esp + 0x28], 0
mov edx, eax
je 0x7e53bb
mov edx, dword [esp + 4]
mov ecx, esi
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.0082d210
mov edx, dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
call fcn.008024c0
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x7e5c78
test byte [ebx + 0x24], 1
mov dword [esp + 0x30], 0
jne 0x7e5427
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
jmp 0x7e5469
cmp byte [esi + 0x12], 0
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
jne 0x7e5469
cmp dword [esi + 0x78], 0
jne 0x7e5469
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 8]
mov edx, 0x45
inc eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
push 0
call fcn.007d10d0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0xc], 0
jne 0x7e5519
test edi, edi
jne 0x7e5519
test eax, eax
jne 0x7e5519
cmp dword [ecx + 0x38], 0
jne 0x7e5519
mov eax, dword [esp + 4]
mov ecx, esi
push dword [eax]
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0x1c]
call fcn.007f78a0
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp byte [eax + 0x24], 0
js 0x7e54e7
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, 0x89
cmp ecx, 1
sbb eax, eax
or eax, ecx
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
mov edi, dword [esp + 8]
push dword [edi]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push dword [eax + 0x1c]
call fcn.007f75d0
mov eax, dword [esp + 0x18]
add esp, 0x14
mov eax, dword [eax + 8]
xor edi, edi
test eax, eax
je 0x7e5a9b
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov edx, 0x89
push dword [esp + 0x14]
push dword [eax + 0x2c]
call fcn.007d10d0
mov eax, dword [esp + 0xc]
add esp, 8
mov eax, dword [eax + 0x14]
jmp 0x7e54ec
xor eax, eax
test byte [esp + 0x68], 0x40
mov edi, 0x414
sete al
cmp dword [esp + 0xc], 0
lea eax, [eax*8 + 0x414]
cmove edi, eax
cmp byte [ecx + 0x24], 0
js 0x7e5586
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 8]
mov edx, 0x48
inc eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0x3c], eax
push eax
push 0
call fcn.007d10d0
add esp, 8
mov ax, 1
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], eax
jmp 0x7e55e8
call fcn.00792930
movsx edx, word [eax + 0x32]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc], edi
mov edi, dword [esi + 0x28]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x24], edx
mov edx, 0x64
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x2c], eax
lea eax, [edi + 1]
mov dword [esi + 0x28], eax
push dword [esp + 0x24]
mov dword [esp + 0x24], edi
push edi
mov edi, dword [esp + 0x14]
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.007f7980
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x38]
movzx eax, di
mov ecx, esi
push dword [esp + 0x48]
push eax
push 0
push 0
push dword [ebp + 8]
call fcn.00815bf0
add esp, 0x14
xor edi, edi
test eax, eax
je 0x7e5c78
lea edx, [esp + 0x80]
mov ecx, eax
mov dword [esp + 0x40], eax
call fcn.0082d2f0
cmp eax, 1
mov dword [esp + 0x2c], eax
je 0x7e5631
mov ecx, esi
call fcn.008106b0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7e564d
mov ecx, dword [esp + 8]
mov edx, 0x52
push 1
push eax
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x7e56c8
mov eax, dword [esp + 0x10]
cmp word [esp + 0x24], 0
mov dword [esp + 0xc], eax
jle 0x7e56ee
movsx ecx, word [esp + 0x24]
mov dword [esp + 0x1c], edx
mov edx, eax
xor eax, eax
mov dword [esp + 0x48], ecx
mov ecx, eax
lea eax, [eax + edx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
push dword [esp + 0x14]
push eax
push dword [esp + 0x20]
call fcn.007fc460
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc ecx
cmp ecx, dword [esp + 0x48]
mov eax, ecx
jne 0x7e567a
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x1c]
jmp 0x7e56ee
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
inc eax
mov dword [esi + 0x2c], eax
mov dword [esp + 0xc], eax
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.007fc460
mov edx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x7e5781
mov eax, dword [esp + 0x44]
mov ecx, ebx
lea edx, [eax + 2]
push 0
call fcn.007995d0
add esp, 4
test eax, eax
jne 0x7e571e
mov ecx, dword [esp + 0x40]
call fcn.00817e60
jmp 0x7e5c78
mov ecx, dword [esp + 0x44]
inc ecx
push ecx
push 1
push eax
mov edi, eax
call fcn.0098a5f0
add esp, 0xc
mov eax, dword [esp + 0x44]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x80]
test eax, eax
js 0x7e574d
sub eax, dword [esp + 0x18]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x84]
test eax, eax
js 0x7e5760
sub eax, dword [esp + 0x18]
mov byte [edi + eax], 0
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x7e5771
mov ecx, dword [esp + 8]
call fcn.007ff3d0
mov ecx, esi
call fcn.007fb640
mov dword [esp + 0x14], eax
jmp 0x7e5820
test edx, edx
je 0x7e57ec
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi]
movsx eax, word [esp + 0x24]
inc edi
mov dword [esp + 0xc], eax
mov dword [esi + 0x2c], edi
call fcn.00810d50
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, 0x5b
push eax
push dword [esp + 0x18]
push edi
push eax
push dword [esp + 0x20]
call fcn.007f75d0
add esp, 0x14
mov ecx, dword [esp + 8]
mov edx, 0x83
push dword [esp + 0xc]
push dword [esp + 0x14]
mov dword [esp + 0x14], edi
push edi
push dword [esp + 0x2c]
call fcn.0078dfd0
add esp, 0x10
mov dword [esp + 0x24], 0
jmp 0x7e580d
mov ecx, dword [esp + 8]
mov edx, 0x93
push dword [esp + 0xc]
push dword [esp + 0x40]
call fcn.007d10d0
add esp, 8
mov ax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
call fcn.00817e60
xor edi, edi
mov dword [esp + 0x14], 0
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], edi
jne 0x7e58a5
cmp dword [esp + 0x2c], 2
je 0x7e585d
mov edx, dword [esp + 4]
lea eax, [esp + 0x78]
lea edi, [esp + 0x7c]
mov ecx, esi
push eax
push edi
mov edi, dword [esp + 0x30]
push edi
push dword [esp + 0x24]
push 8
push 0x61
call fcn.0082d310
add esp, 0x18
jmp 0x7e58a1
mov ecx, dword [esp + 8]
mov edx, 0x11
call fcn.007f75b0
mov edx, dword [esp + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x78]
lea edi, [esp + 0x7c]
mov ecx, esi
push eax
push edi
mov edi, dword [esp + 0x30]
push edi
push dword [esp + 0x24]
push 8
push 0x61
call fcn.0082d310
add esp, 0x18
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
call fcn.007f75c0
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x2c], 0
je 0x7e58fb
mov edx, dword [esp + 4]
mov dword [esp + 0x10], 0
cmp dword [edx + 0x38], 0
jne 0x7e597f
mov eax, dword [esp + 0x7c]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp byte [edi + ecx], 0
je 0x7e597b
movsx edi, word [esp + 0x24]
mov ecx, dword [esp + 8]
mov edx, 0x1d
push edi
push dword [esp + 0x10]
push dword [esp + 0x1c]
push eax
call fcn.0078dfd0
add esp, 0x10
jmp 0x7e597b
cmp dword [esp + 0x1c], 0
je 0x7e595c
mov edi, dword [esp + 8]
mov edx, 0x25
mov ecx, edi
push eax
mov dword [esp + 0x24], eax
call fcn.007f9600
add esp, 4
mov edx, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, edi
cmp dword [edx + 0x38], 0
je 0x7e5945
mov edx, 0x59
push dword [esp + 0xc]
push 0
push dword [esp + 0x28]
call fcn.007d10f0
add esp, 0xc
jmp 0x7e597b
mov edx, 0x7e
push dword [esp + 0xc]
push dword [esp + 0x24]
call fcn.007d10d0
add esp, 8
jmp 0x7e597b
mov ecx, dword [esp + 8]
mov edx, 0x2a
push dword [esp + 0xc]
push 0
push dword [esp + 0x44]
call fcn.007d10f0
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
cmp dword [edx + 0x38], 0
je 0x7e59f7
mov ecx, ebx
mov edi, edx
call fcn.007d0920
mov ecx, esi
mov edx, edi
mov dword [esp + 0x34], eax
call fcn.0082d470
mov ecx, esi
call fcn.007fc3c0
cmp dword [esp + 0x2c], 1
jne 0x7e59c8
mov ecx, dword [esp + 8]
mov edx, 0x74
push dword [esp + 0x18]
call fcn.007f9600
add esp, 4
cmp dword [esi + 0x74], 0
jne 0x7e59c8
mov byte [esi + 0x14], 0
mov edi, dword [esp + 8]
mov edx, 0xa
mov ecx, edi
push 0xfffffffffffffff4
push dword [esp + 0x38]
push dword [esp + 0x14]
push 1
push 0
call fcn.007f75d0
add esp, 0x14
mov ecx, edi
mov edx, 2
call fcn.0078e010
jmp 0x7e5a41
xor eax, eax
cmp byte [esi + 0x12], 0
movzx edi, byte [esp + 0x2c]
movsx ecx, word [esp + 0x24]
mov dword [esp + 0x18], ecx
sete al
mov ecx, esi
push dword [esp + 0x84]
push edi
push 0xb
push eax
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x90]
push dword [esp + 0x98]
push dword [esp + 0x54]
call fcn.0082d4f0
add esp, 0x24
mov edi, dword [esp + 8]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
je 0x7e5a62
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007fbd70
mov ecx, dword [esp + 0x40]
call fcn.00817e60
jmp 0x7e5a97
test eax, eax
je 0x7e5a81
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, 5
inc eax
push eax
push dword [esp + 0x24]
call fcn.007d10d0
add esp, 8
jmp 0x7e5a8c
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.007f7790
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.007f75c0
mov edi, dword [esp + 0x28]
cmp byte [esi + 0x12], 0
jne 0x7e5aae
cmp dword [esi + 0x78], 0
jne 0x7e5aae
mov ecx, esi
call fcn.0082d970
cmp dword [esp + 0x30], 0
je 0x7e5c78
mov esi, fcn.0083ef20
xor eax, eax
movzx edx, byte [0xbba3d3]
and esi, 1
inc esi
mov ecx, esi
xor ecx, fcn.0083ef20
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e5c3e
mov al, byte [0xbba3d3]
xor edx, edx
mov ecx, esi
xor esi, fcn.0083ef20
sete dl
mov esi, ecx
mov ecx, edx
not ecx
lea ecx, [ecx + edx*2]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbba3d3], dl
jne 0x7e5af0
mov ecx, fcn.0083ef20
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov esi, ecx
xor esi, fcn.0083ef20
sete dl
mov esi, edx
not edx
lea edx, [edx + esi*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e5b74
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbba3d3]
xor edx, fcn.0083ef20
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7e5b4a
jmp 0x7e5c3e
xor eax, eax
xor ecx, fcn.0083ef20
movzx edx, byte [0xbba3d3]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e5c14
mov eax, fcn.0083ef20
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0083ef20
sete cl
mov eax, ecx
xor eax, 0x1259fe87
lea ecx, [eax + ecx*2 + 0x260]
mov eax, dword [0xbba3c0]
xor eax, ecx
mov dword [0xbba3c0], eax
not eax
mov edx, dword [0xbba3c4]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbba3c4], edx
or esi, eax
not edx
mov eax, dword [0xbba3c8]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbba3c8], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbba3cc], eax
or byte [0xbba3d3], dl
mov eax, fcn.0083ef20
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.0083ef20
sete cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba3d3], al
mov esi, dword [esp + 8]
mov edx, 0x50
mov ecx, esi
push 1
push dword [esp + 0x34]
call fcn.007d10d0
add esp, 8
mov ecx, esi
mov edx, 1
call fcn.007d13b0
mov ecx, esi
xor edx, edx
push 0
push 0xbba3c0
push 0
call fcn.007d1410
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0082d980
mov edx, dword [esp + 0x38]
mov ecx, ebx
call fcn.007cbc20
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.007cb9e0
mov ecx, ebx
mov edx, edi
call fcn.00780810
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00989fe9
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret