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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ebp, edx
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x84]
mov edi, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x2c]
lea ebx, [edx + 7]
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x78]
cmp eax, ebx
cmovl eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edi
mov dword [ecx + 0x2c], eax
mov dword [esp], ecx
call fcn.007f7590
test ebp, ebp
je 0x83a660
mov ebx, eax
test eax, eax
je 0x83a660
cmp dword [ebp + 0x1c], 0
je 0x83a660
mov edx, fcn.007c40b0
movzx ecx, byte [0xbbb603]
mov dword [esp + 0x38], esi
imul edx, edx
and edx, 3
cmp edx, 2
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x839c33
mov al, byte [0xbbb603]
cmp edx, 2
mov ah, 1
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb603], ah
jne 0x839b46
mov ecx, fcn.007c40b0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x839ba0
cmp ecx, 2
movzx edx, byte [0xbbb603]
sete al
or al, 6
movzx eax, al
bt edx, eax
jae 0x839b84
jmp 0x839c33
cmp ecx, 2
movzx edx, byte [0xbbb603]
sete al
or al, 6
movzx eax, al
bt edx, eax
jb 0x839c12
mov eax, fcn.007c40b0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
mov eax, ecx
or cl, 6
or eax, 0x9203ad76
xor eax, dword [0xbbb5f4]
mov dword [0xbbb5f4], eax
not eax
mov edx, dword [0xbbb5f8]
imul eax, eax, 0x9203ad77
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbb5f8], edx
or eax, esi
not edx
imul edx, eax
xor dword [0xbbb5fc], edx
mov dl, 1
shl dl, cl
or byte [0xbbb603], dl
mov eax, fcn.007c40b0
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbbb603], al
push 0x5c
push dword [ebp]
push 0xbbb5f4
call fcn.0078f860
add esp, 0xc
test eax, eax
je 0x83a660
mov esi, dword [esp + 0x44]
mov edx, dword [ebp + 0x48]
mov ecx, esi
call fcn.0078dee0
mov edi, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov esi, eax
mov edx, 0x1c
mov ecx, dword [esp]
shl esi, 4
push dword [edi + esi]
mov edi, dword [esp + 0x3c]
push 0
push dword [ebp]
call fcn.008002d0
add esp, 0xc
test eax, eax
jne 0x83a660
mov esi, dword [esp + 0x40]
lea eax, [esi + 3]
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
mov dword [esp + 8], ebp
mov dword [esp + 0x28], eax
lea eax, [esi + 5]
mov dword [esp + 0x50], eax
lea eax, [esi + 6]
mov dword [esp + 0x4c], eax
mov ebp, dword [esp]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov ecx, ebp
push dword [eax]
push 0
mov eax, dword [esp + 0x10]
push dword [eax + 0x1c]
call fcn.007f78a0
add esp, 0xc
mov ecx, dword [ebp + 0x28]
lea eax, [edi + 2]
mov edx, edi
cmp ecx, eax
cmovge eax, ecx
mov ecx, ebp
mov dword [ebp + 0x28], eax
push 0x60
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.007f77f0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 8]
mov ecx, ebx
push dword [ebp]
call fcn.007f7880
mov edx, ebp
add esp, 4
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x839d1c
mov al, 1
mov dword [esp + 0x24], eax
jmp 0x83a45c
lea eax, [esi + 1]
mov dword [esp + 0x54], eax
lea eax, [esi + 2]
mov dword [esp + 0x1c], eax
lea eax, [edi + 1]
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 0x24], eax
mov eax, fcn.00799550
not eax
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ebx
test eax, eax
je 0x839d59
cmp ebp, eax
jne 0x83a451
cmp dword [ebp + 0x24], 0
jne 0x839d67
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
cmp byte [edx + 0x24], 0
mov dword [esp + 0x5c], ebp
jns 0x839d8c
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x839d8c
movzx ebx, word [ebp + 0x32]
mov edi, dword [edx]
mov ebp, ebx
jmp 0x839d9f
movzx ebx, word [ebp + 0x34]
mov edi, dword [ebp]
test al, 8
jne 0x839d9b
mov ebp, ebx
jmp 0x839d9f
movzx ebp, word [ebp + 0x32]
mov ecx, esi
xor eax, eax
movzx edx, byte [0xbbb62b]
add ecx, fcn.00799550
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x839ee1
mov al, byte [0xbbb62b]
mov edx, esi
xor ecx, ecx
add edx, fcn.00799550
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbb62b], dl
jne 0x839dc9
mov edx, esi
xor ecx, ecx
movzx eax, al
add edx, fcn.00799550
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2]
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x839e3a
mov ecx, esi
xor eax, eax
movzx edx, byte [0xbbb62b]
add ecx, fcn.00799550
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jae 0x839e14
jmp 0x839ee1
mov ecx, esi
xor eax, eax
movzx edx, byte [0xbbb62b]
add ecx, fcn.00799550
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x839ebf
mov ecx, esi
xor eax, eax
add ecx, fcn.00799550
sete al
mov ecx, eax
xor ecx, 0xd6dc8cad
lea ecx, [ecx + eax*2 + 0x6a0]
mov eax, dword [0xbbb61c]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbb61c], eax
not eax
imul edx, eax
mov eax, dword [0xbbb620]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbbb620], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
mov esi, dword [esp + 0x2c]
shl dl, cl
xor dword [0xbbb624], eax
or byte [0xbbb62b], dl
mov ecx, esi
xor eax, eax
add ecx, fcn.00799550
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbb62b], al
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x50]
mov ecx, esi
push edi
call fcn.007f7880
add esp, 4
mov edi, dword [esp]
mov ecx, dword [esp + 0x20]
lea edx, [ebp - 1]
mov dword [esp + 0xc], edx
mov edx, 0x60
mov eax, dword [edi + 0x2c]
lea ecx, [ebp + ecx - 1]
cmp eax, ecx
cmovge ecx, eax
mov dword [edi + 0x2c], ecx
mov ecx, esi
push dword [esp + 0x30]
mov ebp, dword [esp + 0x60]
push dword [ebp + 0x2c]
push dword [esp + 0x18]
call fcn.007d10f0
add esp, 0xc
mov ecx, edi
mov edx, ebp
call fcn.007f7980
mov ecx, esi
mov edx, 0x45
push dword [esp + 0x1c]
push ebx
mov ebx, esi
mov esi, dword [esp + 0x14]
call fcn.007d10d0
add esp, 8
movzx eax, word [ebp + 0x32]
mov ecx, ebx
mov edx, 0x45
push dword [esp + 0x14]
push eax
call fcn.007d10d0
add esp, 8
mov ecx, edi
xor edx, edx
push 0
push 0xb50834
push 2
push dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
push edi
call fcn.007fa980
add esp, 0x14
mov ecx, ebx
mov edx, 0x25
push dword [esp + 0x10]
call fcn.007f9600
add esp, 4
mov dword [esp + 0x60], eax
mov ecx, ebx
mov edx, 0x45
push edi
push 0
call fcn.007d10d0
add esp, 8
mov ecx, ebx
call fcn.007fdcb0
test esi, esi
jg 0x839fc5
mov dword [esp + 0x3c], eax
jmp 0x83a139
mov ecx, dword [esp]
call fcn.007fb640
mov dword [esp + 0x34], eax
lea edx, [esi*4]
mov ecx, dword [esp + 0x44]
push 0
call fcn.007995d0
add esp, 4
test eax, eax
jne 0x839ffb
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x18]
jmp 0x83a451
mov ecx, ebx
mov edx, 0xb
mov dword [esp + 0x48], eax
call fcn.007f75b0
mov ecx, ebx
call fcn.007fdcb0
cmp esi, 1
mov dword [esp + 0x3c], eax
jne 0x83a03f
cmp word [ebp + 0x32], 1
jne 0x83a03f
cmp byte [ebp + 0x36], 0
je 0x83a03f
mov ecx, ebx
mov edx, 0x33
push dword [esp + 0x34]
push dword [esp + 0x24]
call fcn.007d10d0
add esp, 8
mov edi, dword [esp + 0x14]
xor esi, esi
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp]
mov edx, dword [eax + esi*4]
call fcn.007f7c10
mov ecx, dword [esp + 4]
mov ebx, eax
mov edx, 0x45
push dword [esp + 0x1c]
push esi
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp + 4]
mov edx, 0x59
push edi
push esi
push dword [esp + 0x18]
call fcn.007d10f0
add esp, 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov edx, 0x34
lea eax, [esi + eax]
push 0xfffffffffffffffe
push ebx
mov ebx, dword [esp + 0xc]
push eax
push 0
push edi
call fcn.007f75d0
add esp, 0x14
mov ecx, dword [esp + 0x48]
mov edx, pe_nt_image_headers32
mov dword [ecx + esi*4], eax
mov ecx, ebx
call fcn.0078e010
inc esi
cmp esi, dword [esp + 0xc]
jne 0x83a045
mov ecx, ebx
mov edx, 0x45
push dword [esp + 0x1c]
push dword [esp + 0x10]
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.007f7790
mov edx, dword [esp + 0x3c]
mov ecx, ebx
dec edx
call fcn.007f75c0
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
xor esi, esi
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov edx, dword [eax + esi*4]
call fcn.007f75c0
lea eax, [esi + edi]
mov ecx, ebx
mov edx, 0x59
push eax
push esi
push ebp
call fcn.007d10f0
add esp, 0xc
inc esi
cmp esi, dword [esp + 0xc]
jne 0x83a0f7
mov edx, dword [esp + 0x34]
mov ecx, ebx
call fcn.007fbd70
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
call fcn.00780810
mov edi, fcn.007af130
mov edx, fcn.007af130
xor eax, eax
movzx esi, byte [0xbbb60f]
or edi, 2
xor edx, 2
mov ecx, edi
add ecx, edx
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt esi, eax
jb 0x83a251
mov al, byte [0xbbb60f]
mov esi, edi
xor ecx, ecx
mov ah, 1
add esi, edx
sete cl
mov ebx, ecx
xor ebx, 3
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb60f], ah
jne 0x83a16f
mov esi, edi
xor ecx, ecx
movzx eax, al
add esi, edx
sete cl
mov ebx, ecx
xor ebx, 3
lea ecx, [ebx + ecx*2]
mov ebx, dword [esp + 4]
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x83a1d5
mov ecx, edi
xor eax, eax
movzx esi, byte [0xbbb60f]
add ecx, edx
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt esi, eax
jae 0x83a1b6
jmp 0x83a251
mov ecx, edi
xor eax, eax
movzx esi, byte [0xbbb60f]
add ecx, edx
sete al
mov ecx, eax
xor ecx, 3
lea eax, [ecx + eax*2]
bt esi, eax
jb 0x83a235
mov ecx, edi
xor eax, eax
add ecx, edx
sete al
mov ecx, eax
xor ecx, 0x752f6efb
lea ecx, [ecx + eax*2 + 0x208]
mov eax, dword [str.A3mu]
mov esi, ecx
shr esi, 0x1f
or esi, ecx
xor eax, ecx
and cl, 7
mov dword [str.A3mu], eax
not eax
imul esi, eax
mov ah, 1
xor dword [0xbbb608], esi
shl ah, cl
or byte [0xbbb60f], ah
xor eax, eax
add edi, edx
sete al
mov ecx, eax
xor ecx, 3
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbbb60f], al
mov edx, fcn.0081a080
xor eax, eax
movzx esi, byte [0xbbb63b]
mov ebp, dword [esp]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x83a399
mov al, byte [0xbbb63b]
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb63b], ah
jne 0x83a289
xor ecx, ecx
cmp edx, 1
movzx eax, al
seta cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
mov ebx, dword [esp + 4]
or cl, 4
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x83a2fa
xor eax, eax
cmp edx, 1
movzx esi, byte [0xbbb63b]
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x83a2d4
jmp 0x83a399
xor eax, eax
cmp edx, 1
movzx esi, byte [0xbbb63b]
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x83a379
xor eax, eax
cmp edx, 1
mov ebp, dword [esp]
seta al
mov ecx, eax
xor ecx, 0x57d19721
lea ecx, [ecx + eax*2 + 0xac]
mov eax, dword [0xbbb62c]
mov esi, ecx
shr esi, 0x1f
or esi, ecx
xor eax, ecx
and cl, 7
mov dword [0xbbb62c], eax
not eax
imul esi, eax
mov eax, dword [0xbbb630]
lea edi, [esi + esi]
xor eax, esi
shr esi, 0x1e
mov dword [0xbbb630], eax
or edi, esi
not eax
imul eax, edi
xor dword [0xbbb634], eax
mov ah, 1
shl ah, cl
or byte [0xbbb63b], ah
xor eax, eax
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea ecx, [ecx + eax*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbb63b], al
mov edx, 1
mov ecx, ebp
push 0
push 0xb5085c
push 2
mov edi, dword [esp + 0x20]
push edi
mov esi, dword [esp + 0x64]
push esi
call fcn.007fa980
add esp, 0x14
mov edx, 5
mov ecx, ebx
push dword [esp + 0x3c]
push dword [esp + 0x14]
call fcn.007d10d0
add esp, 8
mov edx, esi
mov ecx, ebp
push dword [esp + 0x4c]
call fcn.0083a690
add esp, 4
mov edx, 0x5b
mov ecx, ebx
push 0
push str.A3mu
push edi
push 3
push dword [esp + 0x38]
call fcn.007f75d0
add esp, 0x14
mov ebp, dword [esp + 0x40]
mov edx, 0x78
mov ecx, ebx
push ebp
mov esi, dword [esp + 0x5c]
push esi
call fcn.007d10d0
add esp, 8
mov edx, 0x79
mov ecx, ebx
push ebp
push edi
push esi
call fcn.007d10f0
add esp, 0xc
mov ecx, ebx
mov edx, 8
call fcn.0078e010
mov edx, dword [esp + 0x60]
mov ecx, ebx
call fcn.007f75c0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 8]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x839d4d
cmp byte [esp + 0x24], 0
je 0x83a660
cmp dword [esp + 0x18], 0
jne 0x83a660
mov eax, fcn.007abb20
mov edx, 3
movzx ecx, byte [0xbbb61b]
mov esi, edi
sub edx, eax
mov eax, edx
xor eax, fcn.007abb20
sete al
xor al, 5
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x83a5b8
mov al, byte [0xbbb61b]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007abb20
sete cl
xor cl, 5
add cl, 0x84
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb61b], ah
jne 0x83a4a8
mov edx, fcn.007abb20
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, fcn.007abb20
sete dl
xor dl, 5
add dl, 0x84
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x83a521
mov eax, ecx
movzx edx, byte [0xbbb61b]
xor eax, fcn.007abb20
sete al
xor al, 5
add al, 0x84
and al, 7
movzx eax, al
bt edx, eax
jae 0x83a4fd
jmp 0x83a5b8
xor ecx, fcn.007abb20
movzx ecx, byte [0xbbb61b]
sete al
xor al, 5
add al, 0x84
and al, 7
movzx eax, al
bt ecx, eax
jb 0x83a58d
mov eax, fcn.007abb20
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [0xbbb610]
xor edx, fcn.007abb20
sete cl
xor ecx, 0x87e55c05
add ecx, 0x484
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbbb610], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbbb614], edx
mov dl, 1
shl dl, cl
or byte [0xbbb61b], dl
mov eax, fcn.007abb20
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007abb20
sete cl
xor cl, 5
add cl, 0x84
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbbb61b], al
mov edi, dword [esp + 0x4c]
mov ecx, ebx
mov edx, 0x5c
push edi
push esi
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, 0x14
push edi
call fcn.007f9600
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, ebx
mov edx, 0x48
push dword [esp + 0x50]
push 0
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, 0x5b
push 0
push 0xbbb610
mov edi, dword [esp + 0x1c]
push edi
push 3
push dword [esp + 0x38]
call fcn.007f75d0
add esp, 0x14
mov esi, dword [esp + 0x40]
mov ecx, ebx
mov edx, 0x78
push esi
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, 0x79
push esi
push edi
push ebp
call fcn.007d10f0
add esp, 0xc
mov ecx, ebx
mov edx, 8
call fcn.0078e010
mov edx, dword [esp + 0xc]
mov ecx, ebx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.007f75c0
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret