Function at 0x10018db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018bf3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push esi
mov esi, ecx
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 1
call fcn.10010d40
lea eax, [ebp - 0xe4]
push eax
call fcn.100cd2b0
lea eax, [ebp - 0x57]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4b], 0xb1a9b2fa
push eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x47], 0x878b9385
push eax
mov word [ebp - 0x43], 0xd9
mov byte [ebp - 0x41], 1
mov dword [ebp - 0x15], 0xb2bfb3fa
mov dword [ebp - 0x11], 0x100dc85
mov dword [ebp - 0x69], 0xacbbaefa
mov dword [ebp - 0x65], 0x8d8d8893
mov dword [ebp - 0x61], 0xdb818d
mov byte [ebp - 0x5d], 1
mov dword [ebp - 0x40], 0xb6a9b5fa
mov dword [ebp - 0x3c], 0x100dc84
mov dword [ebp - 0x38], 0xacbfadfa
mov dword [ebp - 0x34], 0x100dc93
mov dword [ebp - 0x57], 0xbaada8fa
mov dword [ebp - 0x53], 0x8e838f92
mov dword [ebp - 0x4f], 0x100d881
mov dword [ebp - 0x2c], 0xbaaea4a8
mov dword [ebp - 0x28], 0x848d8ddd
mov dword [ebp - 0x24], 0x1008b8d
call fcn.10006490
add esp, 0x10
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
push dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.100103d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x7c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.10006100
add esp, 0xc
cmp dword [ebp + 0x34], 0xf
lea ecx, [ebp + 0x20]
push dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.100103d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x144], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x134], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.10006100
add esp, 0xc
cmp dword [ebp - 0xd0], 0xf
lea ecx, [ebp - 0xe4]
push dword [ebp - 0xd4]
cmova ecx, dword [ebp - 0xe4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.100103d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x69]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.100065b0
add esp, 0xc
cmp dword [esi + 0x1c8], 0xf
lea ecx, [esi + 0x1b4]
mov edx, dword [ecx + 0x10]
mov byte [ebp - 4], 9
jbe 0x10018fd5
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.100103d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x114], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x104], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x15]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.10006100
add esp, 0xc
cmp dword [esi + 0x14], 0xf
mov ecx, esi
mov byte [ebp - 4], 0xb
jbe 0x10019032
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.100103d0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xec], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x4b]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100062c0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.10005f60
add esp, 0x18
lea ecx, [ebp - 0x224]
call fcn.10003ba0
mov ecx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0x10
cmp ecx, 0xf
jbe 0x100190e1
mov edx, dword [ebp - 0xfc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100190d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100191f0
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x23c]
call fcn.10003ba0
mov ecx, dword [ebp - 0x100]
mov byte [ebp - 4], 0x12
cmp ecx, 0xf
jbe 0x1001912a
mov edx, dword [ebp - 0x114]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019120
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100191f0
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x254]
call fcn.10003ba0
mov ecx, dword [ebp - 0x118]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x10019173
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019169
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100191f0
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x26c]
call fcn.10003ba0
mov ecx, dword [ebp - 0x130]
mov byte [ebp - 4], 0x16
cmp ecx, 0xf
jbe 0x100191b8
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100191ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100191f0
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x284]
call fcn.10003ba0
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0x18
cmp ecx, 0xf
jbe 0x10019200
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100191f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100191f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x19
call fcn.10003ba0
sub esp, 0x18
lea eax, [esi + 0x60]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.1000c790
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.1000c790
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x19
push eax
call fcn.1001b130
add esp, 0x34
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x1b
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10009e80
add esp, 0x38
mov byte [ebp - 4], 0x1c
xor ecx, ecx
mov dword [ebp - 0x16], 0xacadb8b1
mov dword [ebp - 0x12], 0x878681
mov byte [ebp - 0xe], 1
nop word [eax + eax]
lea eax, [ecx - 0x24]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 7
jb 0x10019290
lea eax, [ebp - 0xd]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x74]
call fcn.100055e0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0xcc]
call fcn.1000e6b0
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.10005ed0
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0x1f
cmp ecx, 0xf
jbe 0x10019310
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019306
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019306
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x20c], 0x10199038
mov dword [ebp - 0x1fc], 0x10199040
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x20], 0x1fe0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 4], 0x21
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x210], eax
lea ecx, [ebp - 0x1f4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
push 0x20
mov byte [ebp - 4], 0x22
call fcn.101313ed
mov edi, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x2c], edi
lea esi, [edi + 0x20]
movups xmmword [edi], xmm0
mov dword [ebp - 0x24], esi
movups xmmword [edi + 0x10], xmm0
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0xf
mov byte [ebp - 4], 0x23
cmova ecx, dword [ebp - 0xbc]
mov edx, dword [eax + 0x1dc]
add eax, 0x1cc
cmp dword [eax + 0x14], 0xf
jbe 0x1001940e
mov eax, dword [eax]
push 0x20
push edi
push dword [ebp - 0xac]
push ecx
push edx
push eax
call fcn.10064fd0
add esp, 0x18
mov dword [ebp - 0x20], edi
cmp edi, esi
je 0x1001948f
nop dword [eax]
mov al, byte [edi]
lea ecx, [ebp - 0x1fc]
push 0x10016910
mov byte [ebp - 0xd], al
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov esi, eax
push 0x30
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::fill_char_]
push 0
lea eax, [ebp - 0x6c]
push 2
push eax
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
push dword [eax + 0xc]
mov ecx, dword [eax]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
movzx eax, byte [ebp - 0xd]
add esp, 0x18
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
inc edi
cmp edi, dword [ebp - 0x24]
jne 0x10019430
mov edi, dword [ebp - 0x2c]
cmp dword [0x1118e014], 0xf
lea eax, [ebp - 0x8c]
mov esi, section..data
lea ecx, [ebp - 0x20c]
cmova esi, dword [section..data]
push eax
call fcn.1001d870
cmp dword [eax + 0x14], 0xf
jbe 0x100194bc
mov eax, dword [eax]
movd xmm1, dword [esi]
movd xmm0, dword [eax]
mov ecx, dword [ebp - 0x78]
punpcklbw xmm0, xmm0
punpcklbw xmm1, xmm1
punpcklwd xmm0, xmm0
punpcklwd xmm1, xmm1
psrad xmm0, 0x18
psrad xmm1, 0x18
xorps xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
orps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
orps xmm1, xmm0
movd esi, xmm1
cmp ecx, 0xf
jbe 0x10019534
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001952a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001952a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
test esi, esi
je 0x1001958a
mov edx, dword [ebp - 0x94]
sub esp, 0x18
mov eax, closesocket
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x30], ecx
cmp eax, 0x6b
jb 0x10019954
cmp dword [ebp - 0x90], 0xf
lea eax, [ebp - 0xa4]
push edx
cmova eax, dword [ebp - 0xa4]
push eax
push 0x6b
push 0x10196f88
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 0x1c]
call fcn.1000ca10
call fcn.10015330
add esp, 0x18
sub esp, 0x10
lea eax, [ebp - 0xcc]
mov ecx, esp
push eax
call fcn.1000c470
mov ecx, dword [ebp - 0x5c]
call fcn.100183c0
mov dword [ebp - 0x16], 0xbcbda8af
xor ecx, ecx
mov dword [ebp - 0x12], 0x919285
mov byte [ebp - 0xe], 1
lea eax, [ecx - 0x24]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 7
jb 0x100195b7
lea eax, [ebp - 0xd]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100055e0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0xcc]
call fcn.1000e6b0
xor edx, edx
mov byte [ebp - 4], 0x23
cmp byte [eax], 4
lea ecx, [eax + 8]
cmovne ecx, edx
mov al, byte [ecx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 0xd], al
cmp ecx, 0xf
jbe 0x10019645
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019638
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019638
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
mov al, byte [ebp - 0xd]
add esp, 8
test al, al
je 0x10019705
movaps xmm1, xmmword [0x1019a5a0]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x20], 0xb0b8b3b5
lea ecx, [ebp - 0x8c]
movd xmm0, dword [ebp - 0x20]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
push eax
xorps xmm1, xmm0
mov word [ebp - 0x1c], 0
andps xmm1, xmmword [0x10196d40]
lea eax, [ebp - 0x1c]
push eax
packuswb xmm1, xmm1
lea eax, [ebp - 0x20]
packuswb xmm1, xmm1
push eax
movd dword [ebp - 0x20], xmm1
call fcn.100055e0
sub esp, 0x10
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x8c]
mov esi, esp
lea ecx, [ebp - 0xcc]
push eax
call fcn.1000e6b0
push eax
mov ecx, esi
call fcn.1000c470
mov ecx, dword [ebp - 0x5c]
call fcn.10018450
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10019705
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100196fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100196fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
test edi, edi
je 0x10019736
mov ecx, dword [ebp - 0x24]
sub ecx, edi
cmp ecx, 0x1000
jb 0x1001972c
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x10019932
mov edi, edx
push ecx
push edi
call fcn.1013141d
add esp, 8
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x210], eax
lea ecx, [ebp - 0x1f4]
call fcn.1000d9d0
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x100197ba
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100197b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019932
push ecx
push edx
call fcn.1013141d
add esp, 8
push dword [ebp - 0xcc]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.100137a0
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xf
jbe 0x10019820
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019816
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019932
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0xf
jbe 0x10019875
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001986b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019932
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xd0]
cmp ecx, 0xf
jbe 0x100198af
mov edx, dword [ebp - 0xe4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100198a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019932
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
cmp ecx, 0xf
jbe 0x100198fa
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100198f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019932
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x10019942
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019938
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019938
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013141d
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x30
call fcn.10005290
int3