Function at 0x1d22300
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, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x1f07010]
xor ecx, ebp
mov dword [esp + 0x68], ecx
movdqu xmm0, xmmword [eax]
movdqa xmmword [esp + 0x40], xmm0
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1d2233c
mov ecx, edi
call fcn.01d85ec0
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edi
mov dword [esp + 0x20], eax
push eax
mov dword [esp + 0x28], edx
push edx
mov dword [esp + 0x20], ecx
push ecx
call fcn.01da5cf0
add esp, 0x10
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1d22533
mov ebx, eax
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x24]
mov edx, ecx
shr edx, 1
and edx, 0x55555555
mov eax, ecx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [esp + 0x10], eax
cmp eax, 1
ja 0x1d223ca
lea edx, [ecx - 1]
and edx, ebx
jmp 0x1d223d8
cmp ebx, ecx
jae 0x1d223d2
mov edx, ebx
jmp 0x1d223d8
mov eax, ebx
xor edx, edx
div ecx
mov dword [esp + 0x28], edi
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1d22533
mov edi, dword [eax]
test edi, edi
je 0x1d22533
lea eax, [ecx - 1]
mov dword [esp + 0x2c], eax
mov esi, edx
jmp 0x1d22416
and eax, dword [esp + 0x2c]
cmp eax, edx
jne 0x1d22533
mov edi, dword [edi]
test edi, edi
je 0x1d22533
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x1d22450
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x14]
mov edx, dword [edi + 0xc]
xor edx, dword [esp + 0x20]
or edx, eax
mov edx, esi
jne 0x1d2240c
mov eax, dword [edi + 0x10]
xor eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x14]
xor edx, dword [esp + 0x18]
or edx, eax
mov edx, esi
jne 0x1d2240c
jmp 0x1d22465
cmp dword [esp + 0x10], 1
jbe 0x1d22400
cmp eax, ecx
jb 0x1d22404
xor edx, edx
div ecx
mov eax, edx
mov edx, esi
jmp 0x1d22404
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqu xmm0, xmmword [edi + 8]
movdqa xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push edi
push esi
call fcn.01d0b2c0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
test eax, eax
je 0x1d224a3
lea ecx, [esp + 0x60]
push eax
call fcn.01d28220
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x4c]
cmp dword [eax + 0x58], 0xc350
jne 0x1d22525
mov eax, dword [esp + 0xc]
lea ebx, [eax + 0x38]
cmp dword [eax + 0x44], 0
je 0x1d2251d
mov eax, dword [eax + 0x40]
test eax, eax
je 0x1d224e1
nop word [eax + eax]
mov esi, dword [eax]
push eax
call fcn.01e5f36c
add esp, 4
mov eax, esi
test esi, esi
jne 0x1d224d0
mov eax, dword [esp + 0xc]
mov dword [eax + 0x40], 0
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1d2250e
xor ecx, ecx
nop word cs:[eax + eax]
mov edx, dword [ebx]
mov dword [edx + ecx*4], 0
inc ecx
cmp eax, ecx
jne 0x1d22500
mov eax, dword [esp + 0xc]
mov dword [eax + 0x44], 0
lea esi, [esp + 0x5c]
mov ecx, ebx
push edi
call fcn.01d29450
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push eax
push esi
call fcn.01d297f0
mov esi, dword [esp + 0xc]
lea ecx, [esi + 0x60]
lea edi, [esp + 0x40]
push edi
call fcn.01d28810
lea ecx, [esi + 0xf8]
push edi
call fcn.01d28970
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea edi, [esi + 0x74]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1d22587
mov ecx, edi
call fcn.01d85ec0
mov dword [esp + 0x24], edi
mov ebx, dword [esi + 0x7c]
test ebx, ebx
je 0x1d226fa
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x78]
mov dword [esp + 0x28], ecx
lea edi, [eax + 0x7c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edi
nop word cs:[eax + eax]
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
cmp edx, esi
mov edi, esi
mov esi, eax
mov ecx, dword [esp + 0x10]
sbb esi, ecx
setb byte [esp + 0x20]
xor eax, ecx
xor edx, edi
mov esi, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [ebx + 0x18], ecx
sbb esi, dword [esp + 0x1c]
mov esi, edi
mov edi, dword [esp + 0x14]
setb ch
or edx, eax
movzx eax, ch
movzx ecx, byte [esp + 0x20]
cmove ecx, eax
test cl, cl
lea eax, [ebx + 4]
cmove eax, ebx
cmove edi, ebx
mov ebx, dword [eax]
test ebx, ebx
jne 0x1d225d0
mov ebx, dword [esp + 0x10]
cmp edi, dword [esp + 0x2c]
je 0x1d226fa
mov eax, dword [edi + 0x10]
cmp esi, eax
mov ecx, dword [edi + 0x14]
mov edx, ebx
sbb edx, ecx
setb dl
xor ebx, ecx
xor esi, eax
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 0x18]
mov eax, dword [esp + 0x1c]
sbb eax, dword [edi + 0x1c]
setb al
or esi, ebx
movzx eax, al
movzx ecx, dl
cmove ecx, eax
test cl, cl
jne 0x1d226fa
mov esi, dword [edi + 0x20]
lea eax, [edi + 0x24]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x1d226eb
mov ebx, dword [esp + 0x34]
jmp 0x1d22688
mov esi, eax
cmp eax, dword [esp + 0x14]
je 0x1d226eb
lea eax, [esi + 0x20]
cmp ebx, dword [esp + 0x38]
jae 0x1d226b0
test ebx, ebx
je 0x1d22a41
mov ecx, ebx
push eax
call fcn.01db7fa0
add ebx, 0x18
jmp 0x1d226bc
lea ecx, [esp + 0x30]
push eax
call fcn.01d271b0
mov ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1d226e0
nop word [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1d226d0
jmp 0x1d22680
mov eax, dword [esi + 8]
cmp dword [eax], esi
mov esi, eax
jne 0x1d226e0
jmp 0x1d22680
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push edi
push eax
call fcn.01d28af0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esp + 0xc]
lea edi, [ebx + 0x98]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1d22720
mov ecx, edi
call fcn.01d85ec0
mov eax, dword [esp + 0x44]
xor eax, dword [ebx + 0xa4]
mov ecx, dword [esp + 0x40]
xor ecx, dword [ebx + 0xa0]
or ecx, eax
jne 0x1d22760
mov eax, dword [ebx + 0xa8]
xor eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0xac]
xor ecx, dword [esp + 0x4c]
or ecx, eax
jne 0x1d22760
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
call fcn.01d20b00
jmp 0x1d22789
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1d22782
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp ebx, esi
mov ebx, dword [esp + 0xc]
jne 0x1d22789
jmp 0x1d22757
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [ebx + 0x110]
test edi, edi
je 0x1d2299c
mov eax, dword [esp + 0xc]
lea ebx, [eax + 0x110]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
nop word cs:[eax + eax]
mov dword [esp + 0x14], ebx
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
cmp edx, esi
mov ebx, esi
mov esi, eax
mov ecx, dword [esp + 0x10]
sbb esi, ecx
setb byte [esp + 0x20]
xor eax, ecx
xor edx, ebx
mov esi, dword [edi + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x18], ecx
sbb esi, dword [esp + 0x1c]
mov esi, ebx
mov ebx, dword [esp + 0x14]
setb ch
or edx, eax
movzx eax, ch
movzx ecx, byte [esp + 0x20]
cmove ecx, eax
test cl, cl
lea eax, [edi + 4]
cmove eax, edi
cmove ebx, edi
mov edi, dword [eax]
test edi, edi
jne 0x1d227d0
mov edi, dword [esp + 0x10]
cmp ebx, dword [esp + 0x24]
je 0x1d2299c
mov eax, dword [ebx + 0x10]
cmp esi, eax
mov ecx, dword [ebx + 0x14]
mov edx, edi
sbb edx, ecx
setb dl
xor edi, ecx
xor esi, eax
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x18]
mov eax, dword [esp + 0x1c]
sbb eax, dword [ebx + 0x1c]
setb al
or esi, edi
movzx eax, al
movzx ecx, dl
cmove ecx, eax
test cl, cl
jne 0x1d2299c
lea eax, [ebx + 0x28]
mov edi, dword [esp + 0x34]
cmp edi, dword [esp + 0x38]
jae 0x1d2288b
test edi, edi
je 0x1d22a41
mov ecx, edi
push eax
call fcn.01db7fa0
add edi, 0x18
jmp 0x1d22897
lea ecx, [esp + 0x30]
push eax
call fcn.01d271b0
mov edi, eax
mov dword [esp + 0x34], edi
movzx eax, byte [ebx + 0x4b]
test al, al
jns 0x1d228a6
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x1d22934
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x11c]
test esi, esi
je 0x1d22934
lea edx, [ebx + 0x40]
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x118]
mov dword [esp + 0x10], ecx
lea edi, [eax + 0x11c]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edx
nop
lea eax, [esi + 0x10]
push edx
push eax
push ecx
call fcn.01cfb2f8
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x68]
add esp, 0xc
lea eax, [esi + 4]
cmp byte [esp + 0x5c], 0
cmovns eax, esi
cmovns edi, esi
mov esi, dword [eax]
test esi, esi
jne 0x1d228e0
cmp edi, dword [esp + 0x20]
je 0x1d22934
lea eax, [edi + 0x10]
push eax
push edx
push ecx
call fcn.01cfb2f8
lea eax, [esp + 0x68]
add esp, 0xc
cmp byte [esp + 0x5c], 0
js 0x1d22934
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.01d284a0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1d2294a
nop dword [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x1d22940
jmp 0x1d22959
mov ecx, ebx
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
mov ecx, eax
jne 0x1d22950
lea esi, [ebx + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x10c], ebx
jne 0x1d2296e
mov dword [ecx + 0x10c], eax
dec dword [ecx + 0x114]
push ebx
push dword [ecx + 0x110]
call fcn.01cfae62
add esp, 8
test esi, esi
je 0x1d22a26
lea ecx, [ebx + 0x20]
call fcn.01d22260
push ebx
call fcn.01e5f36c
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
cmp esi, edi
mov ebx, dword [esp + 0xc]
je 0x1d229c0
nop dword [eax]
mov ecx, dword [ebx + 0x18]
push esi
call fcn.01db9c40
add esi, 0x18
cmp esi, edi
jne 0x1d229b0
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.01dbc830
mov ecx, ebx
call fcn.01d21a00
mov edi, dword [esp + 0x30]
test edi, edi
je 0x1d22a11
mov esi, dword [esp + 0x34]
mov eax, edi
cmp esi, edi
je 0x1d22a04
nop word cs:[eax + eax]
add esi, 0xffffffe8
je 0x1d22a26
mov ecx, esi
call fcn.01db7f50
cmp esi, edi
jne 0x1d229f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], edi
push eax
call fcn.01e5f36c
add esp, 4
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.01e60425
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01ce782c
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
jmp 0x1d22a32