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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x74750a0b
mov byte [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 4
ja 0x6bd6d6
nop
nop
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
movzx ecx, byte [esp + ecx + 0xc]
mov edx, eax
xor edx, 0x3b8cc0be
and eax, 0x3b8cc0be
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add al, 0x4a
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 5
jb 0x6bd690
mov eax, dword [esp + 0xc]
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6bd72e
xor edx, edx
mov esi, dword [0x6cf758]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x6bd700
inc edx
cmp ecx, edx
jne 0x6bd6f0
jmp 0x6bd72e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x6bd72e
lea eax, [esp + 0x2c]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x6cf75c]
push ecx
call fcn.006bf5f0
add esp, 0x24
test eax, eax
js 0x6bddb2
cmp dword [ebx + 4], 0
je 0x6bdd40
xor edx, edx
cmp dword [ebx + 4], 2
mov edi, 0x7fff
je 0x6bd752
mov edi, 0
mov dword [esp + 0x4c], ebx
mov esi, 0xfffeffff
je 0x6bd762
mov esi, SysReAllocString
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov ebx, 0x10000
mov dword [esp + 0x48], esi
jmp 0x6bd7bc
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
adc edx, dword [esp + 0x1c]
cmp ebx, esi
mov eax, edx
sbb eax, edi
jae 0x6bdcaf
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
push edx
push ebx
call fcn.006bd110
cmp eax, 0xbfffffff
ja 0x6bdcaf
test eax, eax
js 0x6bd7a0
cmp dword [esp + 0x60], 0x1000
jne 0x6bd7a0
test byte [esp + 0x5c], 0x66
je 0x6bd7a0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], eax
mov edx, dword [esp + 0x1c]
mov ecx, 0
sbb ecx, edx
jae 0x6bd9c2
mov dword [esp + 0xc], 0x74750a0b
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x6bd881
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
mov edx, eax
xor edx, 0x3b8cc0be
and eax, 0x3b8cc0be
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x6bd840
mov eax, dword [0x6cf754]
test eax, eax
je 0x6bd8da
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x6bd8b0
inc edx
cmp eax, edx
jne 0x6bd8a0
jmp 0x6bd8da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x6bd8da
push 0x8000
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x6cf75c]
push eax
call fcn.006bf5f0
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 0x74750a0b
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x6bd951
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
mov edx, eax
xor edx, 0x3b8cc0be
and eax, 0x3b8cc0be
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x6bd910
mov eax, dword [esp + 0xc]
mov ecx, dword [0x6cf754]
test ecx, ecx
je 0x6bd9ae
xor edx, edx
mov esi, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x6bd980
inc edx
cmp ecx, edx
jne 0x6bd970
jmp 0x6bd9ae
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x6bd9ae
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x6cf75c]
push ecx
call fcn.006bf5f0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x48]
js 0x6bdcaf
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], ebx
lea ebx, [esp + 0x30]
push ebx
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.006bd400
test eax, eax
jns 0x6bd9f1
cmp eax, 0x8000000d
jne 0x6bd7a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ebp + 0x10]
sbb ecx, 0
jb 0x6bd7a0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.006bde00
add esp, 0x18
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
cmp ecx, eax
je 0x6bd7a0
mov dword [esp + 0x6c], edi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov edi, ecx
mov ecx, esi
mov ebx, eax
jmp 0x6bda83
mov eax, dword [esp + 0x78]
mov dword [ecx + esi], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + esi + 4], eax
add ebx, 8
add edi, 4
mov eax, ebx
mov esi, ecx
cmp edi, dword [esp + 0x50]
je 0x6bdc74
mov dword [esp + 0x28], eax
mov eax, dword [edi]
sub eax, dword [esp + 8]
mov edx, eax
sar edx, 0x1f
add eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
adc edx, dword [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x28]
mov eax, edx
sub eax, esi
cmp edx, dword [esp + 0x20]
mov dword [esp + 4], eax
jne 0x6bdc23
mov ecx, eax
sar ecx, 3
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x6bdacc
mov ebx, eax
lea eax, [ebx*8]
push eax
call fcn.0068c580
add esp, 4
mov ecx, eax
test esi, esi
je 0x6bdc10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], edi
cmp ecx, esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
jbe 0x6bdbaf
cmp eax, ecx
jbe 0x6bdbaf
cmp dword [esp + 4], 0
je 0x6bdbfb
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 4]
add eax, edx
dec eax
lea ecx, [esi + edx]
dec ecx
mov edi, edx
and edi, 7
je 0x6bdb44
neg edi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp edi, edx
jne 0x6bdb30
add ecx, edx
add eax, edx
add edx, dword [esp + 4]
mov edi, esi
sub edi, dword [esp + 0x28]
cmp edi, 0xfffffff8
ja 0x6bdbfb
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x6bdb60
jmp 0x6bdbfb
mov ebx, ecx
mov eax, dword [esp + 4]
mov ecx, eax
mov edx, eax
shr ecx, 2
mov eax, esi
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
and edx, 0xfffffffc
lea eax, [ebx + edx]
add edx, esi
shr ecx, 1
and ecx, 1
mov ebx, edx
mov dword [esp + 0x70], eax
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test byte [esp + 4], 1
je 0x6bdbfb
mov ecx, dword [esp + 4]
and ecx, 2
movzx edx, byte [edx + ecx]
mov eax, dword [esp + 0x70]
mov byte [eax + ecx], dl
push esi
call fcn.0068c590
add esp, 4
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
lea eax, [ecx + ebx*8]
mov dword [esp + 0x20], eax
mov ebx, ecx
mov eax, dword [esp + 4]
add ebx, eax
mov edx, dword [esp + 0x28]
mov eax, esi
xor eax, edx
not esi
and esi, edx
add esi, esi
sub esi, eax
cmp esi, dword [esp + 4]
jae 0x6bda60
lea eax, [ecx + esi]
lea edx, [ecx + esi]
add edx, 8
mov dword [esp + 4], edx
mov edx, eax
mov dword [esp + 0x44], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x24], ecx
xor ecx, ecx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edi, dword [esp + 4]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
jmp 0x6bda60
mov edi, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi], ecx
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x68]
test eax, eax
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x48]
je 0x6bd7a0
cmp eax, dword [esp + 0x50]
je 0x6bd7a0
push eax
call fcn.0068c590
add esp, 4
jmp 0x6bd7a0
mov dword [esp + 0xc], 0x74750a0b
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x6bdd11
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
mov edx, eax
xor edx, 0x3b8cc0be
and eax, 0x3b8cc0be
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x6bdcd0
mov eax, dword [0x6cf754]
test eax, eax
mov edi, dword [ebp + 8]
je 0x6bddb2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x6cf758]
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x6bdd88
inc edx
cmp eax, edx
jne 0x6bdd30
jmp 0x6bddb2
push 0xfb1631b0
push dword [0x6cf748]
call fcn.006c2380
add esp, 8
test eax, eax
je 0x6bddbe
mov ecx, dword [ebx]
test ecx, ecx
je 0x6bd740
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
push edx
push ecx
call eax
test eax, eax
je 0x6bddca
cmp dword [esp + 0xc], 0
je 0x6bddca
mov dword [ebx + 4], 3
jmp 0x6bd740
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x6bddb2
push 0x8000
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x6cf75c]
push eax
call fcn.006bf5f0
add esp, 0x1c
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebx + 4], 1
jmp 0x6bd740
lea eax, [esp + 0x38]
push eax
call fcn.006c2cb0
add esp, 4
test al, al
je 0x6bd740
mov eax, dword [esp + 0x38]
mov ecx, 2
cmp eax, 3
je 0x6bddef
mov ecx, eax
mov dword [ebx + 4], ecx
jmp 0x6bd740