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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x334
call fcn.101d4a10
mov eax, dword [0x102a9e90]
xor eax, esp
mov dword [esp + 0x330], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x38], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x1c], 8
mov byte [esp + 0xf], 1
jae 0x101d3cab
push ecx
call fcn.100b9f70
push eax
call fcn.100ba300
add esp, 8
cmp eax, 0x2a0
jg 0x101d3551
je 0x101d351f
cmp eax, 4
je 0x101d34df
cmp eax, ebx
jne 0x101d3562
lea eax, [esp + 0x90]
push eax
call fcn.100bb4b0
add esp, 4
test eax, eax
jle 0x101d3cab
mov dword [esp + 0x38], 0x101d3e60
lea edi, [ebx - 0x2c]
mov dword [esp + 0x10], 0x100bb4f0
jmp 0x101d3610
lea eax, [esp + 0x90]
push eax
call fcn.10098ef0
add esp, 4
test eax, eax
jle 0x101d3cab
mov eax, 0x30
mov dword [esp + 0x38], 0x101d3de0
mov dword [esp + 0x10], 0x10098f30
mov edi, 0x10
mov dword [esp + 0x58], eax
mov byte [esp + 0xf], 0
jmp 0x101d3615
lea eax, [esp + 0x90]
push eax
call fcn.100bbaf0
add esp, 4
test eax, eax
jle 0x101d3cab
mov dword [esp + 0x38], 0x101d3f00
mov edi, 0x20
mov dword [esp + 0x10], 0x100bbb50
jmp 0x101d3610
sub eax, 0x2a1
je 0x101d35d2
sub eax, 1
je 0x101d35b6
sub eax, 1
je 0x101d3587
test esi, esi
je 0x101d3cab
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.101d463b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x90]
push eax
call fcn.100bb6d0
add esp, 4
test eax, eax
jle 0x101d3cab
mov dword [esp + 0x38], 0x101d3f00
mov edi, 0x1c
mov dword [esp + 0x10], 0x100bbb50
jmp 0x101d3610
lea eax, [esp + 0x90]
push eax
call fcn.100bc690
add esp, 4
test eax, eax
jle 0x101d3cab
mov edi, ebx
jmp 0x101d35ef
lea eax, [esp + 0x90]
push eax
call fcn.100bbd80
add esp, 4
test eax, eax
jle 0x101d3cab
mov edi, 0x30
mov ebx, 0x80
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], 0x100bc740
mov dword [esp + 0x38], 0x101d3ff0
mov eax, 0x28
cmp byte [ebp + 0x2c], 0
mov ecx, 0xd
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], ecx
je 0x101d363e
mov ecx, dword [ebp + 0x28]
add ecx, 0xb
mov dword [esp + 0x28], 2
add ecx, eax
mov dword [esp + 0x44], ecx
jmp 0x101d364f
lea eax, [ebx + 0xff]
xor edx, edx
add eax, edi
div ebx
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub esi, edi
add ecx, esi
dec eax
add ecx, ebx
xor edx, edx
add eax, ecx
xor edi, edi
div ebx
mov ecx, dword [ebp + 0x1c]
xor edx, edx
add ecx, esi
mov dword [esp + 0x34], eax
mov eax, ecx
mov esi, dword [esp + 0x1c]
div ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], edx
xor edx, edx
mov dword [esp + 0x5c], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x34]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x60], eax
setne cl
mov dword [esp + 0x24], edi
add ecx, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, edx
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cmp eax, edx
jae 0x101d36c2
mov edi, ecx
imul edi, ebx
cmp eax, edx
mov dword [esp + 0x24], edi
sbb eax, eax
and eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x14], eax
jne 0x101d37a8
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1bc]
push 0
push eax
call fcn.101d63e0
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
ja 0x101d3cab
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push eax
call fcn.101d5e60
movaps xmm2, xmmword [str.6666666666666666_]
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1c8], xmm0
movups xmm0, xmmword [esp + eax + 0x1d8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
movups xmm0, xmmword [esp + eax + 0x1e8]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x101d3730
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [esp + 0xf], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
je 0x101d3809
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.101d63e0
mov eax, dword [esp + 0x38]
mov byte [esp + esi + 0x170], al
mov eax, dword [esp + 0x3c]
mov byte [esp + esi + 0x171], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x172], al
mov eax, dword [esp + 0x20]
mov byte [esp + esi + 0x173], al
jmp 0x101d3845
push esi
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.101d63e0
mov eax, dword [esp + 0x38]
mov byte [esp + esi + 0x16f], al
mov eax, dword [esp + 0x3c]
mov byte [esp + esi + 0x16e], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x16d], al
mov eax, dword [esp + 0x20]
mov byte [esp + esi + 0x16c], al
add esp, 0xc
test edi, edi
je 0x101d3984
cmp byte [ebp + 0x2c], 0
je 0x101d38fd
mov eax, dword [esp + 0x44]
cmp eax, ebx
jbe 0x101d3cab
push dword [esp + 0x40]
sub eax, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add eax, ebx
push eax
lea eax, [esp + 0x248]
push eax
call fcn.101d5e60
mov eax, ebx
sub eax, dword [esp + 0x28]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x254]
add eax, dword [esp + 0x30]
push eax
call fcn.101d5e60
lea eax, [esp + 0x258]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x38]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x101d3984
mov esi, dword [esp + 0x3c]
lea edi, [eax - 1]
sub esi, dword [esp + 0x14]
add esi, ebx
lea eax, [esp + 0x90]
push esi
push eax
call dword [esp + 0x18]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x101d38e4
jmp 0x101d397c
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x240], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x244], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x24d]
movq qword [esp + 0x240], xmm0
push eax
call fcn.101d5e60
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [esp + 0x24]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x101d3984
mov esi, dword [esp + 0x3c]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
lea eax, [esp + 0x90]
push esi
push eax
call dword [esp + 0x18]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x101d3965
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
push 0x40
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.101d63e0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x4c]
add eax, edx
mov dword [esp + 0x6c], eax
cmp edx, eax
ja 0x101d3c1a
mov eax, dword [esp + 0x50]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 1]
shr ecx, 0x1f
mov dword [esp + 0x34], ecx
mov ecx, ebx
sub ecx, esi
sub esi, ebx
mov dword [esp + 0x64], ecx
mov ecx, eax
neg ecx
lea eax, [esp + eax + 0x2b8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x168]
add ecx, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x14], ecx
nop
mov eax, edx
xor esi, esi
xor eax, dword [esp + 0x5c]
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
mov eax, edx
xor eax, dword [esp + 0x60]
neg bl
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x2c], ecx
movd xmm0, eax
mov al, cl
not al
punpcklbw xmm0, xmm0
mov byte [esp + 0x23], al
or al, bl
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x14]
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x24], eax
jmp 0x101d3a64
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xf], 0
cmp edi, ecx
jae 0x101d3a77
mov eax, dword [esp + 0x40]
jmp 0x101d3a86
mov eax, dword [ebp + 0x20]
add eax, ecx
cmp edi, eax
jae 0x101d3a8d
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov al, byte [eax + edi]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x1c]
mov ecx, esi
shr edx, 0x1f
inc edi
xor dl, al
shr ecx, 0x1f
xor al, cl
or dl, al
mov al, cl
xor al, byte [esp + 0x34]
xor dl, cl
dec dl
and dl, bl
mov ebx, dword [esp + 0x28]
dec ebx
shr ebx, 0x1f
xor bl, byte [esp + 0x34]
or bl, al
mov al, dl
xor bl, cl
not al
and al, byte [esp + 0xf]
dec bl
and bl, byte [esp + 0x30]
and dl, 0x80
not bl
or al, dl
and bl, al
and bl, byte [esp + 0x22]
cmp esi, dword [esp + 0x64]
jb 0x101d3aed
mov eax, dword [esp + 0x24]
mov cl, byte [esp + 0x2c]
and bl, byte [esp + 0x23]
and cl, byte [eax]
or bl, cl
mov edx, dword [esp + 0x28]
inc esi
mov eax, dword [esp + 0x68]
inc dword [esp + 0x24]
mov byte [eax + edx], bl
inc edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
cmp esi, ebx
jb 0x101d3a60
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0x94]
push eax
call dword [esp + 0x18]
lea eax, [esp + 0x2c0]
push eax
lea eax, [esp + 0x9c]
push eax
call dword [esp + 0x48]
mov edx, dword [esp + 0x28]
add esp, 0x10
xor eax, eax
cmp edx, 0x40
jb 0x101d3beb
movaps xmm2, xmmword [esp + 0x80]
mov ecx, edx
and ecx, 0xffffffc0
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x178]
movups xmm1, xmmword [esp + eax + 0x2b8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x178], xmm1
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 xmm1, xmmword [esp + eax + 0x2e8]
movups xmm0, xmmword [esp + eax + 0x1a8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1a8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x101d3b60
cmp eax, edx
jae 0x101d3c07
nop
mov cl, byte [esp + eax + 0x2b8]
and cl, byte [esp + 0x2c]
or byte [esp + eax + 0x178], cl
inc eax
cmp eax, edx
jb 0x101d3bf0
mov edx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x4c], edx
cmp edx, dword [esp + 0x6c]
jbe 0x101d39f0
call fcn.10099700
mov esi, eax
test esi, esi
je 0x101d3ca2
push 0
push dword [esp + 0x74]
call fcn.100b9f70
add esp, 4
push eax
push esi
call fcn.10099220
add esp, 0xc
test eax, eax
jle 0x101d3ca2
cmp byte [ebp + 0x2c], 0
je 0x101d3cc2
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x1b8]
push edi
push 0x5c
push eax
call fcn.101d63e0
push dword [ebp + 0x28]
push dword [esp + 0x64]
push esi
call fcn.100993c0
add esp, 0x18
test eax, eax
jle 0x101d3ca2
push edi
lea eax, [esp + 0x1bc]
push eax
push esi
call fcn.100993c0
add esp, 0xc
test eax, eax
jle 0x101d3ca2
push dword [esp + 0x18]
lea eax, [esp + 0x17c]
push eax
push esi
call fcn.100993c0
add esp, 0xc
test eax, eax
jg 0x101d3d64
push esi
call fcn.100996e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.101d463b
mov esp, ebp
pop ebp
ret
movaps xmm2, xmmword [str.jjjjjjjjjjjjjjjj_]
xor eax, eax
nop dword [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1b8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm0, xmmword [esp + eax + 0x1c8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1c8], xmm0
movups xmm0, xmmword [esp + eax + 0x1d8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
movups xmm0, xmmword [esp + eax + 0x1e8]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1e8], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x101d3cd0
push ebx
lea eax, [esp + 0x1bc]
push eax
push esi
call fcn.100993c0
add esp, 0xc
test eax, eax
jle 0x101d3ca2
push dword [esp + 0x18]
lea eax, [esp + 0x17c]
push eax
push esi
call fcn.100993c0
add esp, 0xc
test eax, eax
jle 0x101d3ca2
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x78]
push esi
call fcn.100990c0
add esp, 0xc
test eax, eax
je 0x101d3d88
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x101d3d88
mov eax, dword [esp + 0x7c]
mov dword [ecx], eax
push esi
call fcn.100996e0
mov ecx, dword [esp + 0x340]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101d463b
mov esp, ebp
pop ebp
ret