Function at 0x7d9920
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 [0xbcbae0]
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 0x7da3d8
cmp byte [ebx + 0x51], 0
jne 0x7da3d8
mov esi, ecx
call fcn.008042f0
test eax, eax
je 0x7da3d8
mov dword [esp + 4], eax
mov ecx, esi
mov edx, dword [esp + 4]
push 0
push 0
push 0x7e
call fcn.00821400
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 0x7d99d0
mov edx, dword [esp + 4]
mov ecx, esi
push 0
push 0
call fcn.00821470
mov edx, dword [esp + 0xc]
add esp, 8
test eax, eax
setne cl
mov byte [esp + 0xc], cl
mov ecx, esi
call fcn.00800a50
test eax, eax
jne 0x7da3d8
xor eax, eax
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 4]
mov ecx, esi
setne al
push eax
call fcn.00821540
add esp, 4
test eax, eax
jne 0x7da3d8
mov eax, dword [esp + 4]
mov ecx, ebx
mov edx, dword [eax + 0x48]
call fcn.007825f0
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.007f4a50
add esp, 0xc
cmp eax, 1
je 0x7da3d8
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 0x7d9a78
xor edi, edi
jmp 0x7d9a89
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 0x7d9a7d
cmp dword [esp + 0x28], 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], edx
je 0x7d9aac
mov eax, dword [esp + 4]
lea edx, [esp + 0x70]
mov ecx, esi
push dword [eax]
call fcn.008219a0
add esp, 4
mov ecx, esi
call fcn.007ebd10
xor edi, edi
test eax, eax
mov dword [esp + 8], eax
je 0x7da3d8
movzx edx, byte [esp + 0xc]
cmp byte [esi + 0x12], 0
mov dword [esp + 0xc], edx
jne 0x7d9add
mov ecx, dword [esp + 8]
call fcn.008219c0
mov edx, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
call fcn.007f56e0
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [esp + 0x28], 0
mov edx, eax
je 0x7d9b1b
mov edx, dword [esp + 4]
mov ecx, esi
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.008219d0
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.007f6c60
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x7da3d8
test byte [ebx + 0x24], 1
mov dword [esp + 0x30], 0
jne 0x7d9b87
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
jmp 0x7d9bc9
cmp byte [esi + 0x12], 0
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
jne 0x7d9bc9
cmp dword [esi + 0x78], 0
jne 0x7d9bc9
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.007c57e0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
add esp, 8
cmp dword [esp + 0xc], 0
jne 0x7d9c79
test edi, edi
jne 0x7d9c79
test eax, eax
jne 0x7d9c79
cmp dword [ecx + 0x38], 0
jne 0x7d9c79
mov eax, dword [esp + 4]
mov ecx, esi
push dword [eax]
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0x1c]
call fcn.007ec020
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp byte [eax + 0x24], 0
js 0x7d9c47
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.007ebd50
mov eax, dword [esp + 0x18]
add esp, 0x14
mov eax, dword [eax + 8]
xor edi, edi
test eax, eax
je 0x7da1fb
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov edx, 0x89
push dword [esp + 0x14]
push dword [eax + 0x2c]
call fcn.007c57e0
mov eax, dword [esp + 0xc]
add esp, 8
mov eax, dword [eax + 0x14]
jmp 0x7d9c4c
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 0x7d9ce6
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.007c57e0
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 0x7d9d48
call fcn.00787030
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.007c57e0
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.007ec100
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.0080a3b0
add esp, 0x14
xor edi, edi
test eax, eax
je 0x7da3d8
lea edx, [esp + 0x80]
mov ecx, eax
mov dword [esp + 0x40], eax
call fcn.00821ab0
cmp eax, 1
mov dword [esp + 0x2c], eax
je 0x7d9d91
mov ecx, esi
call fcn.00804e50
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7d9dad
mov ecx, dword [esp + 8]
mov edx, 0x52
push 1
push eax
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x7d9e28
mov eax, dword [esp + 0x10]
cmp word [esp + 0x24], 0
mov dword [esp + 0xc], eax
jle 0x7d9e4e
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.007f0be0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc ecx
cmp ecx, dword [esp + 0x48]
mov eax, ecx
jne 0x7d9dda
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x1c]
jmp 0x7d9e4e
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.007f0be0
mov edx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x2c], 0
je 0x7d9ee1
mov eax, dword [esp + 0x44]
mov ecx, ebx
lea edx, [eax + 2]
push 0
call fcn.0078dcd0
add esp, 4
test eax, eax
jne 0x7d9e7e
mov ecx, dword [esp + 0x40]
call fcn.0080c620
jmp 0x7da3d8
mov ecx, dword [esp + 0x44]
inc ecx
push ecx
push 1
push eax
mov edi, eax
call fcn.00980a60
add esp, 0xc
mov eax, dword [esp + 0x44]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x80]
test eax, eax
js 0x7d9ead
sub eax, dword [esp + 0x18]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x84]
test eax, eax
js 0x7d9ec0
sub eax, dword [esp + 0x18]
mov byte [edi + eax], 0
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x7d9ed1
mov ecx, dword [esp + 8]
call fcn.007f3b50
mov ecx, esi
call fcn.007efdc0
mov dword [esp + 0x14], eax
jmp 0x7d9f80
test edx, edx
je 0x7d9f4c
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.008054f0
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.007ebd50
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.007826e0
add esp, 0x10
mov dword [esp + 0x24], 0
jmp 0x7d9f6d
mov ecx, dword [esp + 8]
mov edx, 0x93
push dword [esp + 0xc]
push dword [esp + 0x40]
call fcn.007c57e0
add esp, 8
mov ax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x40]
call fcn.0080c620
xor edi, edi
mov dword [esp + 0x14], 0
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], edi
jne 0x7da005
cmp dword [esp + 0x2c], 2
je 0x7d9fbd
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.00821ad0
add esp, 0x18
jmp 0x7da001
mov ecx, dword [esp + 8]
mov edx, 0x11
call fcn.007ebd30
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.00821ad0
add esp, 0x18
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
call fcn.007ebd40
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x2c], 0
je 0x7da05b
mov edx, dword [esp + 4]
mov dword [esp + 0x10], 0
cmp dword [edx + 0x38], 0
jne 0x7da0df
mov eax, dword [esp + 0x7c]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp byte [edi + ecx], 0
je 0x7da0db
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.007826e0
add esp, 0x10
jmp 0x7da0db
cmp dword [esp + 0x1c], 0
je 0x7da0bc
mov edi, dword [esp + 8]
mov edx, 0x25
mov ecx, edi
push eax
mov dword [esp + 0x24], eax
call fcn.007edd80
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 0x7da0a5
mov edx, 0x59
push dword [esp + 0xc]
push 0
push dword [esp + 0x28]
call fcn.007c5800
add esp, 0xc
jmp 0x7da0db
mov edx, 0x7e
push dword [esp + 0xc]
push dword [esp + 0x24]
call fcn.007c57e0
add esp, 8
jmp 0x7da0db
mov ecx, dword [esp + 8]
mov edx, 0x2a
push dword [esp + 0xc]
push 0
push dword [esp + 0x44]
call fcn.007c5800
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
cmp dword [edx + 0x38], 0
je 0x7da157
mov ecx, ebx
mov edi, edx
call fcn.007c5030
mov ecx, esi
mov edx, edi
mov dword [esp + 0x34], eax
call fcn.00821c30
mov ecx, esi
call fcn.007f0b40
cmp dword [esp + 0x2c], 1
jne 0x7da128
mov ecx, dword [esp + 8]
mov edx, 0x74
push dword [esp + 0x18]
call fcn.007edd80
add esp, 4
cmp dword [esi + 0x74], 0
jne 0x7da128
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.007ebd50
add esp, 0x14
mov ecx, edi
mov edx, 2
call fcn.00782720
jmp 0x7da1a1
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.00821cb0
add esp, 0x24
mov edi, dword [esp + 8]
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x1c]
je 0x7da1c2
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007f04f0
mov ecx, dword [esp + 0x40]
call fcn.0080c620
jmp 0x7da1f7
test eax, eax
je 0x7da1e1
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, 5
inc eax
push eax
push dword [esp + 0x24]
call fcn.007c57e0
add esp, 8
jmp 0x7da1ec
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.007ebf10
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.007ebd40
mov edi, dword [esp + 0x28]
cmp byte [esi + 0x12], 0
jne 0x7da20e
cmp dword [esi + 0x78], 0
jne 0x7da20e
mov ecx, esi
call fcn.00822130
cmp dword [esp + 0x30], 0
je 0x7da3d8
mov esi, fcn.008336c0
xor eax, eax
movzx edx, byte [0xbb2a73]
and esi, 1
inc esi
mov ecx, esi
xor ecx, fcn.008336c0
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7da39e
mov al, byte [0xbb2a73]
xor edx, edx
mov ecx, esi
xor esi, fcn.008336c0
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 [0xbb2a73], dl
jne 0x7da250
mov ecx, fcn.008336c0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov esi, ecx
xor esi, fcn.008336c0
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 0x7da2d4
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb2a73]
xor edx, fcn.008336c0
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7da2aa
jmp 0x7da39e
xor eax, eax
xor ecx, fcn.008336c0
movzx edx, byte [0xbb2a73]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7da374
mov eax, fcn.008336c0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.008336c0
sete cl
mov eax, ecx
xor eax, 0x1259fe87
lea ecx, [eax + ecx*2 + 0x260]
mov eax, dword [0xbb2a60]
xor eax, ecx
mov dword [0xbb2a60], eax
not eax
mov edx, dword [0xbb2a64]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb2a64], edx
or esi, eax
not edx
mov eax, dword [0xbb2a68]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb2a68], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbb2a6c], eax
or byte [0xbb2a73], dl
mov eax, fcn.008336c0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.008336c0
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 [0xbb2a73], al
mov esi, dword [esp + 8]
mov edx, 0x50
mov ecx, esi
push 1
push dword [esp + 0x34]
call fcn.007c57e0
add esp, 8
mov ecx, esi
mov edx, 1
call fcn.007c5ac0
mov ecx, esi
xor edx, edx
push 0
push 0xbb2a60
push 0
call fcn.007c5b20
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.00822140
mov edx, dword [esp + 0x38]
mov ecx, ebx
call fcn.007c0320
mov edx, dword [ebp + 8]
mov ecx, ebx
call fcn.007c00e0
mov ecx, ebx
mov edx, edi
call fcn.00774f10
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00980459
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret