Function at 0x10022150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a99c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
push esi
push edi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x54], 0
call fcn.1001ad80
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
lea edi, [ebp - 0x1b]
mov dword [ebp - 0x28], 0x2d2d2d3c
mov dword [ebp - 0x24], 0x2d2d2d2d
mov dword [ebp - 0x20], 0x2d2d2d2d
mov byte [ebp - 0x1c], 0x3e
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
sub edi, eax
je 0x100221e1
push edi
lea ecx, [ebp - 0x18]
call fcn.100158e0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edi
push eax
push esi
call fcn.1017caa0
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 0xf
jbe 0x100221ec
mov esi, dword [esi]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x154], 0x101c0414
call fcn.1001a610
mov eax, dword [ebp - 0x154]
xorps xmm0, xmm0
push 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x158], eax
lea ecx, [ebp - 0x154]
mov eax, dword [ebp - 0x154]
movlpd qword [ebp - 0x14c], xmm0
add ecx, dword [eax + 4]
lea eax, [ebp - 0x144]
push eax
call fcn.10022b10
mov eax, dword [ebp - 0x154]
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x158], eax
lea ecx, [ebp - 0x144]
call fcn.1001a570
push 0x40
push 1
push esi
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 5
call fcn.10022f40
test eax, eax
jne 0x100222e8
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x11c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x148]
and eax, 0x17
mov dword [ebp + ecx - 0x148], eax
mov ecx, dword [ebp + ecx - 0x144]
and ecx, eax
jne 0x10022a50
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x158], eax
cmp dword [ebp - 0xf8], 0
mov byte [ebp - 4], 6
je 0x100229e3
xorps xmm0, xmm0
mov byte [ebp + 0xc], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 7
nop word [eax + eax]
lea ecx, [ebp - 0x154]
call fcn.10021fa0
mov ecx, dword [ebp + 0xc]
cmp eax, 0xffffffff
movzx edx, al
mov eax, dword [ebp - 0x154]
movzx ecx, cl
cmove edx, ecx
mov ecx, dword [ebp + 0xc]
mov cl, dl
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], ecx
test byte [ebp + eax - 0x148], 6
jne 0x10022393
push ecx
lea ecx, [ebp - 0x84]
call fcn.100240e0
jmp 0x10022350
lea ecx, [ebp - 0x144]
call fcn.10021170
test eax, eax
jne 0x100223de
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x11c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x148]
and eax, 0x17
mov dword [ebp + ecx - 0x148], eax
mov ecx, dword [ebp + ecx - 0x144]
and ecx, eax
jne 0x10022a92
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10042c10
push 1
push 0x101c035c
push 0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.10009400
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10043320
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
cmp ecx, 0xf
jbe 0x10022492
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022488
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ad4
push ecx
push edx
call fcn.1017821e
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 0xc
cmp ecx, 0xf
jbe 0x100224dc
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100224d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ad4
push ecx
push edx
call fcn.1017821e
add esp, 8
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x204], 0x101c03a8
mov dword [ebp - 0x1f4], 0x101c03b0
call fcn.1001a610
mov eax, dword [ebp - 0x204]
xorps xmm0, xmm0
push 0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x54], 0x1a
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x208], eax
lea ecx, [ebp - 0x204]
mov eax, dword [ebp - 0x204]
movlpd qword [ebp - 0x1fc], xmm0
add ecx, dword [eax + 4]
lea eax, [ebp - 0x1ec]
push eax
call fcn.10022b10
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1f8], eax
mov eax, dword [ebp - 0x204]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x204]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x208], eax
mov eax, dword [ebp - 0x204]
mov dword [ebp - 4], 0x12
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 - 0x204]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x208], eax
lea ecx, [ebp - 0x1ec]
call fcn.1001a690
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 - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x13
cmp esi, edi
je 0x10022700
nop dword [eax]
cmp dword [esi + 0x10], 0
je 0x100226f5
push esi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10042980
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x9c]
call fcn.10042c10
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x15
jbe 0x1002264d
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.10019b30
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x10022696
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002268c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ad4
push ecx
push edx
call fcn.1017821e
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x100226f5
mov edx, dword [ebp - 0x58]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100226d6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ad4
push edx
push ecx
call fcn.1017821e
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
add esi, 0x18
cmp esi, edi
jne 0x10022610
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x204]
call fcn.10024b30
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x9c]
call fcn.10042b50
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x18
cmp ecx, 0xf
jbe 0x1002275b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ad9
push ecx
push edx
call fcn.1017821e
add esp, 8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ecx, eax
mov edi, dword [ebp + 8]
push ecx
push eax
push edi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10042de0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x100227d3
mov edx, dword [ebp - 0x1c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100227b4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
push edx
push ecx
call fcn.1017821e
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x204]
call fcn.1001c1d0
mov esi, dword [ebp - 0x50]
mov byte [ebp - 4], 7
test esi, esi
je 0x1002289e
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x10022842
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x10022827
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1002281d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
mov eax, edx
push ecx
push eax
call fcn.1017821e
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x100227f4
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1002287c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
push ecx
push esi
call fcn.1017821e
mov edi, dword [ebp + 8]
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 6
cmp ecx, 0xf
jbe 0x100228d9
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100228cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
push ecx
push edx
call fcn.1017821e
add esp, 8
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x158], eax
lea ecx, [ebp - 0x144]
call fcn.1001b660
mov eax, dword [ebp - 0x154]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x158], eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x19
push eax
mov dword [ebp - 0xe4], vtable.std::ios_base.0
call fcn.1017b8b5
mov edx, dword [ebp - 0x18]
add esp, 4
test edx, edx
je 0x100229ad
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1002298e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
push ecx
push edx
call fcn.1017821e
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x10022a3c
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022a32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
jmp 0x10022a32
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.10024c50
add esp, 8
lea ecx, [ebp - 0x154]
call fcn.1001c0b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100229ad
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10022a2b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022ade
push edx
push ecx
jmp 0x10022990
push ecx
push edx
call fcn.1017821e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x10022a5c
mov esi, str.ios_base::badbit_set
jmp 0x10022a6c
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x5c]
push 1
push eax
call fcn.10022d90
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.1001b070
push 0x10204398
lea eax, [ebp - 0x2c]
push eax
call fcn.1017c67f
test cl, 4
je 0x10022a9e
mov esi, str.ios_base::badbit_set
jmp 0x10022aae
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x5c]
push 1
push eax
call fcn.10022d90
add esp, 8
lea ecx, [ebp - 0x40]
push eax
push esi
call fcn.1001b070
push 0x10204398
lea eax, [ebp - 0x40]
push eax
call fcn.1017c67f
call fcn.1018070f
call fcn.1018070f
call fcn.1018070f
int3