Function at 0x82e320
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push esi
mov eax, dword [ecx + 0x74]
test eax, eax
cmove eax, ecx
mov eax, dword [eax + 0x104]
test eax, eax
je 0x82e347
mov esi, dword [esp + 0xc]
cmp dword [eax], edx
jne 0x82e340
cmp dword [eax + 0xc], esi
je 0x82e34d
mov eax, dword [eax + 4]
test eax, eax
jne 0x82e337
pop esi
jmp 0x82e350
pop esi
ret
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [esp + 8], edx
mov edx, 0x18
mov eax, dword [0xbd33e0]
xor eax, esp
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [ecx + 0x74]
mov ebp, dword [ecx]
test ebx, ebx
cmove ebx, ecx
mov ecx, ebp
push 0
call fcn.0078a8a0
add esp, 4
xor edi, edi
test eax, eax
je 0x82e772
mov esi, eax
mov eax, dword [ebx + 0x104]
mov ecx, ebp
mov edx, 0x1c
mov dword [esi + 4], eax
mov dword [ebx + 0x104], esi
push 0
call fcn.0078a8a0
add esp, 4
test eax, eax
mov dword [esi + 8], eax
je 0x82e772
mov ecx, dword [ebx + 8]
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.0082e790
mov eax, esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov edx, 0x114
mov dword [esp + 0x18], eax
mov dword [eax], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0xffffffff
mov dword [eax + 0x14], 0xffffffff
mov ecx, ebp
push 0
call fcn.0078a8a0
add esp, 4
test eax, eax
je 0x82e772
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], ebx
mov dword [ebx], ebp
mov dword [esp + 0x14], ecx
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x74], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [ebx + 0xf0], eax
mov al, byte [esi + 8]
mov byte [ebx + 0x90], al
mov eax, dword [ecx + 0x84]
mov dword [ebx + 0x84], eax
mov al, byte [ecx + 0x19]
mov ecx, ebx
mov byte [ebx + 0x19], al
call fcn.007f7590
test eax, eax
mov dword [esp], eax
je 0x82e75e
mov eax, dword [esi]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
test eax, eax
je 0x82e656
mov edi, fcn.00801870
mov esi, eax
xor eax, eax
movzx edx, byte [0xbba473]
imul edi, edi
and edi, 3
cmp edi, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x82e62c
mov al, byte [0xbba473]
mov ebp, ebx
xor edx, edx
cmp edi, 3
sete dl
mov ecx, edx
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dl, 1
or cl, 4
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbba473], dl
jne 0x82e4dc
mov ecx, fcn.00801870
xor ebx, ebx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete bl
mov edx, ebx
xor edx, 1
lea edx, [edx + ebx*2]
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x82e556
mov ebx, ebp
xor eax, eax
cmp ecx, 3
movzx edi, byte [0xbba473]
sete al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
or al, 4
movzx eax, al
bt edi, eax
jae 0x82e530
jmp 0x82e62c
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbba473]
mov ebx, ebp
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x82e601
mov eax, fcn.00801870
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 0x6fc32c39
lea ecx, [eax + ecx*2 + 0x704]
mov eax, dword [0xbba460]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbba460], eax
not eax
imul edx, eax
mov eax, dword [0xbba464]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba464], eax
or edi, edx
not eax
mov edx, dword [0xbba468]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba468], edx
or edi, eax
not edx
mov al, 1
imul edx, edi
shl al, cl
xor dword [0xbba46c], edx
or byte [0xbba473], al
mov eax, fcn.00801870
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbba473], al
push esi
push 0xbba460
mov ebp, dword [esp + 0x14]
push ebp
call fcn.0078df10
add esp, 0xc
mov ecx, dword [esp]
mov edx, 0xffffffff
push 0xfffffffffffffff9
push eax
call fcn.0078e110
add esp, 8
mov esi, dword [esp + 8]
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x82e664
mov ebp, dword [esp]
xor edi, edi
jmp 0x82e6ba
mov ecx, ebp
push 0
call fcn.007fc000
add esp, 4
lea ecx, [esp + 0x20]
mov edx, eax
mov esi, eax
call fcn.008024c0
xor edi, edi
test eax, eax
je 0x82e688
mov ebp, dword [esp]
jmp 0x82e6af
cmp byte [ebp + 0x51], 0
mov ebp, dword [esp]
jne 0x82e6af
mov ebx, dword [esp + 4]
mov ecx, ebx
call fcn.007fb640
mov edi, eax
push 0x10
push eax
push esi
push ebx
mov ebx, dword [esp + 0x24]
call fcn.007fc0d0
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.007cb9e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [eax + 0x1c]
push dword [esp + 0x5c]
call fcn.0082e7a0
add esp, 4
test edi, edi
je 0x82e6de
mov ecx, ebp
mov edx, edi
call fcn.007fbd70
mov ecx, ebp
mov edx, 0x44
call fcn.007f75b0
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 4]
mov ecx, edi
call fcn.0082ea80
mov esi, ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp byte [ebp + 0x51], 0
jne 0x82e72a
cmp dword [edi + 0x24], 0
jne 0x82e72a
mov edx, dword [esp + 0x10]
add ebx, 0x60
mov ecx, esi
add edx, 4
push ebx
call fcn.0082eab0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 8]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x8c]
mov dword [ecx + 0x14], eax
mov ecx, esi
call fcn.007ad720
mov ecx, ebx
call fcn.0078ef50
mov ecx, ebp
mov edx, ebx
call fcn.00780810
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00989fe9
mov eax, edi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret