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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x344
call fcn.100657e0
mov eax, dword [0x10240114]
xor eax, esp
mov dword [esp + 0x340], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x44], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x28], 8
mov byte [esp + 0x1b], 1
jae 0x100dbd26
push ecx
call fcn.100e9d70
push eax
call fcn.1002f160
add esp, 8
cmp eax, 0x2a0
jg 0x100db5b7
je 0x100db585
cmp eax, 4
je 0x100db545
cmp eax, ebx
jne 0x100db5c8
lea eax, [esp + 0xa0]
push eax
call fcn.101163c0
add esp, 4
test eax, eax
jle 0x100dbd26
mov dword [esp + 0x3c], 0x100dbf00
lea edi, [ebx - 0x2c]
mov dword [esp + 0x1c], 0x10116400
jmp 0x100db676
lea eax, [esp + 0xa0]
push eax
call fcn.100f2aa0
add esp, 4
test eax, eax
jle 0x100dbd26
mov eax, 0x30
mov dword [esp + 0x3c], 0x100dbe80
mov dword [esp + 0x1c], 0x100f2ae0
mov edi, 0x10
mov dword [esp + 0x64], eax
mov byte [esp + 0x1b], 0
jmp 0x100db67b
lea eax, [esp + 0xa0]
push eax
call fcn.10117e00
add esp, 4
test eax, eax
jle 0x100dbd26
mov dword [esp + 0x3c], 0x100dbfa0
mov edi, 0x20
mov dword [esp + 0x1c], 0x10117e60
jmp 0x100db676
sub eax, 0x2a1
je 0x100db638
sub eax, 1
je 0x100db61c
sub eax, 1
je 0x100db5ed
test esi, esi
je 0x100dbd26
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.100645b9
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xa0]
push eax
call fcn.10117ab0
add esp, 4
test eax, eax
jle 0x100dbd26
mov dword [esp + 0x3c], 0x100dbfa0
mov edi, 0x1c
mov dword [esp + 0x1c], 0x10117e60
jmp 0x100db676
lea eax, [esp + 0xa0]
push eax
call fcn.101199a0
add esp, 4
test eax, eax
jle 0x100dbd26
mov edi, ebx
jmp 0x100db655
lea eax, [esp + 0xa0]
push eax
call fcn.10119060
add esp, 4
test eax, eax
jle 0x100dbd26
mov edi, 0x30
mov ebx, 0x80
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], 0x10119a50
mov dword [esp + 0x3c], 0x100dc090
mov eax, 0x28
cmp byte [ebp + 0x2c], 0
mov ecx, 0xd
mov dword [esp + 0x24], edi
mov dword [esp + 0x50], ecx
je 0x100db6a4
mov ecx, dword [ebp + 0x28]
add ecx, 0xb
mov dword [esp + 0x2c], 2
add ecx, eax
mov dword [esp + 0x50], ecx
jmp 0x100db6b5
lea eax, [ebx + 0xff]
xor edx, edx
add eax, edi
div ebx
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x28]
dec eax
sub esi, edi
xor edx, edx
add ecx, esi
xor edi, edi
add ecx, ebx
mov dword [esp + 0x40], edi
add eax, ecx
mov ecx, dword [ebp + 0x1c]
div ebx
add ecx, esi
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, ecx
div ebx
mov eax, ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], edx
xor edx, edx
div ebx
xor edx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x38]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x70], eax
setne cl
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, edx
sub ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp eax, edx
jae 0x100db72e
mov edi, ecx
imul edi, ebx
cmp eax, edx
mov dword [esp + 0x40], edi
sbb eax, eax
and eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x20], eax
jne 0x100db809
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1cc]
push 0
push eax
call fcn.1007d020
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
ja 0x100dbd26
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x1d0]
push eax
call fcn.1007caa0
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjSRTP_AES128_CM_SHA1_80]
add esp, 0xc
xor eax, eax
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
movups xmm0, xmmword [esp + eax + 0x1e8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1e8], xmm0
movups xmm0, xmmword [esp + eax + 0x1f8]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1f8], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x100db791
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x30], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
je 0x100db86a
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.1007d020
mov eax, dword [esp + 0x3c]
mov byte [esp + esi + 0x180], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x181], al
mov eax, dword [esp + 0x44]
mov byte [esp + esi + 0x182], al
mov eax, dword [esp + 0x2c]
mov byte [esp + esi + 0x183], al
jmp 0x100db8a6
push esi
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.1007d020
mov eax, dword [esp + 0x3c]
mov byte [esp + esi + 0x17f], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x17e], al
mov eax, dword [esp + 0x44]
mov byte [esp + esi + 0x17d], al
mov eax, dword [esp + 0x2c]
mov byte [esp + esi + 0x17c], al
add esp, 0xc
test edi, edi
je 0x100db9ef
cmp byte [ebp + 0x2c], 0
je 0x100db961
mov eax, dword [esp + 0x50]
cmp eax, ebx
jbe 0x100dbd26
push dword [esp + 0x4c]
sub eax, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x24]
push dword [esp + 0x28]
mov eax, dword [esp + 0x58]
add eax, ebx
push eax
lea eax, [esp + 0x258]
push eax
call fcn.1007caa0
mov eax, ebx
sub eax, dword [esp + 0x34]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x264]
add eax, dword [esp + 0x3c]
push eax
call fcn.1007caa0
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0xc4]
push eax
call dword [esp + 0x44]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x100db9ef
mov esi, dword [esp + 0x44]
lea edi, [eax - 1]
sub esi, dword [esp + 0x20]
add esi, ebx
lea eax, [esp + 0xa0]
push esi
push eax
call dword [esp + 0x24]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x100db945
jmp 0x100db9e7
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x250], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x254], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x25d]
movq qword [esp + 0x250], xmm0
push eax
call fcn.1007caa0
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0xb0]
push eax
call dword [esp + 0x30]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x100db9ef
mov esi, dword [esp + 0x44]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
nop dword [eax]
lea eax, [esp + 0xa0]
push esi
push eax
call dword [esp + 0x24]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x100db9d0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
push 0x40
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.1007d020
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x7c], eax
cmp ecx, eax
ja 0x100dbc8a
mov eax, dword [esp + 0x48]
neg dword [esp + 0x48]
lea edx, [eax + 1]
shr eax, 0x1f
mov dword [esp + 0x28], eax
mov eax, edx
shr eax, 0x1f
mov dword [esp + 0x38], eax
mov eax, ebx
sub eax, esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
sub esi, ebx
lea eax, [esp + 0x178]
add eax, esi
mov dword [esp + 0x20], eax
nop
mov eax, ecx
xor esi, esi
xor eax, dword [esp + 0x6c]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and dl, al
mov eax, ecx
xor eax, dword [esp + 0x70]
neg dl
mov dword [esp + 0x34], edx
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x40], ecx
not cl
or cl, dl
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x48]
movd xmm0, eax
mov eax, dword [esp + 0x20]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x50]
xor bl, bl
cmp edi, edx
jae 0x100dbac8
mov eax, dword [esp + 0x4c]
jmp 0x100dbad7
mov eax, dword [ebp + 0x20]
add eax, edx
cmp edi, eax
jae 0x100dbada
mov eax, dword [esp + 0x44]
sub eax, edx
mov bl, byte [eax + edi]
mov eax, dword [esp + 0x28]
mov edx, esi
shr ecx, 0x1f
inc edi
xor cl, al
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, dword [esp + 0x34]
xor cl, dl
movzx eax, al
dec cl
movzx ecx, cl
and ecx, eax
mov dword [esp + 0x60], ecx
not ecx
mov dword [esp + 0x5c], ecx
mov ecx, esi
sub ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
and al, bl
shr ecx, 0x1f
mov ebx, dword [esp + 0x60]
xor cl, byte [esp + 0x38]
and bl, 0x80
or bl, al
mov al, dl
xor al, byte [esp + 0x38]
or cl, al
xor cl, dl
dec cl
and cl, byte [esp + 0x34]
not cl
and cl, byte [esp + 0x1b]
and bl, cl
cmp esi, dword [esp + 0x78]
jb 0x100dbb64
mov eax, dword [esp + 0x40]
movzx eax, al
mov dword [esp + 0x60], eax
not eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
and cl, byte [eax]
mov eax, dword [esp + 0x5c]
and bl, al
or bl, cl
mov ecx, dword [esp + 0x30]
inc dword [esp + 0x2c]
inc ecx
mov byte [esp + esi + 0x2c8], bl
inc esi
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
cmp esi, ebx
jb 0x100dbab8
lea eax, [esp + 0x2c8]
push eax
lea eax, [esp + 0xa4]
push eax
call dword [esp + 0x24]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0xac]
push eax
call dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
add esp, 0x10
xor eax, eax
cmp edx, 0x40
jb 0x100dbc5b
movaps xmm2, xmmword [esp + 0x90]
mov ecx, edx
and ecx, 0xffffffc0
nop dword [eax]
movups xmm0, xmmword [esp + eax + 0x188]
movups xmm1, xmmword [esp + eax + 0x2c8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x188], xmm1
movups xmm0, xmmword [esp + eax + 0x198]
movups xmm1, xmmword [esp + eax + 0x2d8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x198], xmm1
movups xmm0, xmmword [esp + eax + 0x1a8]
movups xmm1, xmmword [esp + eax + 0x2e8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1a8], xmm1
movups xmm1, xmmword [esp + eax + 0x2f8]
movups xmm0, xmmword [esp + eax + 0x1b8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x100dbbd0
cmp eax, edx
jae 0x100dbc77
nop
mov cl, byte [esp + eax + 0x2c8]
and cl, byte [esp + 0x40]
or byte [esp + eax + 0x188], cl
inc eax
cmp eax, edx
jb 0x100dbc60
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
cmp ecx, dword [esp + 0x7c]
jbe 0x100dba50
call fcn.100e4c90
mov esi, eax
test esi, esi
je 0x100dbd1d
push 0
push dword [esp + 0x84]
call fcn.100e9d70
add esp, 4
push eax
push esi
call fcn.100e4910
add esp, 0xc
test eax, eax
jle 0x100dbd1d
cmp byte [ebp + 0x2c], 0
je 0x100dbd3d
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x1c8]
push edi
push 0x5c
push eax
call fcn.1007d020
push dword [ebp + 0x28]
push dword [esp + 0x78]
push esi
call fcn.100e4aa0
add esp, 0x18
test eax, eax
jle 0x100dbd1d
push edi
lea eax, [esp + 0x1cc]
push eax
push esi
call fcn.100e4aa0
add esp, 0xc
test eax, eax
jle 0x100dbd1d
push dword [esp + 0x24]
lea eax, [esp + 0x18c]
push eax
push esi
call fcn.100e4aa0
add esp, 0xc
test eax, eax
jg 0x100dbdea
push esi
call fcn.100e4c70
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.100645b9
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [0x101db4e0]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
movups xmm0, xmmword [esp + eax + 0x1f8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1f8], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x100dbd50
push ebx
lea eax, [esp + 0x1cc]
push eax
push esi
call fcn.100e4aa0
add esp, 0xc
test eax, eax
jle 0x100dbd1d
push dword [esp + 0x24]
lea eax, [esp + 0x18c]
push eax
push esi
call fcn.100e4aa0
add esp, 0xc
test eax, eax
jle 0x100dbd1d
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x88]
push esi
call fcn.100e4760
add esp, 0xc
test eax, eax
je 0x100dbe1a
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x100dbe1a
mov eax, dword [esp + 0x8c]
mov dword [ecx], eax
push esi
call fcn.100e4c70
mov ecx, dword [esp + 0x350]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100645b9
mov esp, ebp
pop ebp
ret