Function at 0x1012f710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x154
mov eax, dword [esp + 0x158]
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov ebp, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
cmp ebp, eax
je 0x1012feb1
push esi
push edi
mov edx, dword [esp + 0x16c]
mov ecx, dword [edx + 0x10]
test ecx, ecx
jne 0x1012f80a
mov eax, dword [ebp + 0x18]
lea edi, [ebp + 8]
or ebx, 1
mov dword [esp + 0x40], ecx
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x14], eax
jb 0x1012f76b
mov edi, dword [edi]
cmp eax, 0x7fffffff
ja 0x1012fec2
cmp eax, 0x10
jae 0x1012f7aa
movups xmm0, xmmword [edi]
mov ecx, dword [esp + 0x84]
mov esi, 0xf
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
movups xmmword [esp + 0x40], xmm0
mov ebp, dword [esp + 0x40]
mov edx, ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x10], ecx
jmp 0x1012f898
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1012f7be
mov esi, 0x7fffffff
jmp 0x1012f7c9
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x44]
call fcn.1001b300
mov ebp, eax
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
inc eax
push eax
push edi
push ebp
mov dword [esp + 0x4c], ebp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x10], ecx
mov edx, ebp
jmp 0x1012f898
mov eax, 0x7fffffff
or ebx, 6
sub eax, ecx
cmp eax, 1
jb 0x1012fec2
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x1012f827
mov eax, dword [edx]
push 1
push 0x10195404
push ecx
push eax
push edx
push dword [esp + 0x38]
lea ecx, [esp + 0x70]
call fcn.10047990
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov ecx, dword [eax + 0x10]
jb 0x1012f84c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.100290c0
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x40]
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movd edx, xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x84]
movups xmmword [esp + 0x84], xmm1
mov dword [esp + 0x10], edx
movq qword [esp + 0x94], xmm0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
cmovae eax, edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
cmp ecx, 0x7fffffff
ja 0x1012fec2
mov dword [esp + 0x3c], 0xf
cmp ecx, 0x10
jae 0x1012f8ee
push 0x10
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x40], ecx
push eax
call sub.VCRUNTIME140.dll_memmove
jmp 0x1012f936
mov edi, ecx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1012f902
mov edi, 0x7fffffff
jmp 0x1012f90d
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x2c]
call fcn.1001b300
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
inc ecx
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
push eax
mov dword [esp + 0x48], edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test bl, 4
je 0x1012f982
mov ecx, dword [esp + 0x98]
and ebx, 0xfffffffb
cmp ecx, 0x10
jb 0x1012f982
mov eax, dword [esp + 0x10]
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x1012f978
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [esp + 0x10], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1012febc
mov eax, dword [esp + 0x10]
push ecx
push eax
call fcn.10174919
add esp, 8
test bl, 2
je 0x1012f9d5
mov ecx, dword [esp + 0x6c]
and ebx, 0xfffffffd
cmp ecx, 0x10
jb 0x1012f9c0
mov edx, dword [esp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012f9b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push ecx
push edx
call fcn.10174919
add esp, 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
test bl, 1
je 0x1012fa0b
and ebx, 0xfffffffe
cmp esi, 0x10
jb 0x1012fa0b
inc esi
mov eax, ebp
cmp esi, 0x1000
jb 0x1012fa01
mov ebp, dword [eax - 4]
add esi, 0x23
sub eax, ebp
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push esi
push ebp
call fcn.10174919
add esp, 8
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x40]
lea edi, [ebp + 0x40]
cmp eax, dword [edi + 4]
je 0x1012fcfc
mov ecx, dword [ebp + 0x38]
mov eax, 1
xor esi, esi
cmp ecx, eax
cmova eax, ecx
test eax, eax
je 0x1012fe6c
test ecx, ecx
je 0x1012fb98
or ebx, 8
cmp esi, 0xffffffff
jne 0x1012fa66
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
jmp 0x1012fbb7
lea ecx, [esp + 0x11c]
mov dword [esp + 0xb4], 0x10180cf0
mov dword [esp + 0xc4], 0x10180cf8
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [esp + 0xd0]
or ebx, 0x20
push eax
lea ecx, [esp + 0xbc]
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 [esp + 0xb4]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xb4], 0x10180cec
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0xb0], eax
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [esp + 0xc4]
mov dword [esp + 0xcc], 0x10180cb0
push 0x10195000
push eax
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
call fcn.10025310
add esp, 8
lea ecx, [esp + 0xc4]
push esi
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___unsigned_int_]
lea eax, [esp + 0xc4]
push 0x10195004
push eax
call fcn.10025310
add esp, 8
lea eax, [esp + 0x58]
lea ecx, [esp + 0xcc]
push eax
call fcn.100288f0
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0xb4], 0x10180cec
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0xb0], eax
lea ecx, [esp + 0xcc]
call fcn.10025830
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x11c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x58]
jmp 0x1012fbb7
or ebx, 0x10
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
push dword [esp + 0x38]
cmovae eax, dword [esp + 0x2c]
push eax
push 0
call fcn.10029590
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
test bl, 0x10
je 0x1012fc4e
mov ecx, dword [esp + 0x54]
and ebx, 0xffffffef
cmp ecx, 0x10
jb 0x1012fc39
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012fc2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push ecx
push edx
call fcn.10174919
add esp, 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
test bl, 8
je 0x1012fc8c
mov ecx, dword [esp + 0x6c]
and ebx, 0xfffffff7
cmp ecx, 0x10
jb 0x1012fc8c
mov edx, dword [esp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012fc82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push ecx
push edx
call fcn.10174919
add esp, 8
push dword [esp + 0x170]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push eax
push edi
call fcn.1012fed0
mov ecx, dword [esp + 0xb0]
cmp ecx, 0x10
jb 0x1012fce1
mov edx, dword [esp + 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012fcd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push ecx
push edx
call fcn.10174919
add esp, 8
mov ecx, dword [ebp + 0x38]
mov eax, 1
inc esi
cmp ecx, eax
cmova eax, ecx
cmp esi, eax
jb 0x1012fa35
jmp 0x1012fe6c
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x74]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
mov ecx, dword [esi + 0x114]
mov byte [esp + 0x80], 0
push edx
lea edx, [esp + 0x2c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x74]
call eax
test al, al
je 0x1012fe6c
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x174]
lea eax, [esp + 0x30]
push dword [ebp + 0x38]
lea ecx, [esp + 0xc0]
push eax
push dword [ebp + 4]
push dword [ebp]
call fcn.10144a90
mov eax, dword [esi + 0xe8]
lea edi, [esi + 0xe4]
mov edx, dword [esi + 0xec]
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x1012fd9a
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
call fcn.10144a20
sub dword [esi + 0xe8], 0xffffff80
jmp 0x1012fe60
mov ecx, dword [edi]
mov esi, eax
sub esi, ecx
sar esi, 7
cmp esi, 0x1ffffff
je 0x1012fec7
sub edx, ecx
lea eax, [esi + 1]
sar edx, 7
mov dword [esp + 0x14], eax
mov ecx, edx
shr ecx, 1
mov eax, 0x1ffffff
sub eax, ecx
cmp edx, eax
jbe 0x1012fdd1
mov ebp, 0x1ffffff
jmp 0x1012fddd
lea ebp, [edx + ecx]
cmp ebp, dword [esp + 0x14]
cmovb ebp, dword [esp + 0x14]
push ebp
mov ecx, edi
call fcn.10133ee0
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xb4]
shl esi, 7
add eax, esi
push ecx
mov ecx, eax
mov dword [esp + 0x74], eax
call fcn.10144a20
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push edi
push dword [esp + 0x14]
mov ecx, dword [eax + 0xe8]
mov eax, dword [edi]
cmp esi, ecx
jne 0x1012fe26
push ecx
push eax
call fcn.1012f420
add esp, 0x10
jmp 0x1012fe4c
push esi
push eax
call fcn.1012f420
mov eax, dword [esp + 0x80]
push edi
sub eax, 0xffffff80
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0xe8]
push esi
call fcn.1012f420
add esp, 0x20
push ebp
push dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x18]
call fcn.10133840
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0xb4]
call fcn.10145c60
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x1012fe9e
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012fe94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012febc
push ecx
push edx
call fcn.10174919
add esp, 8
add ebp, 0x68
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x24]
jne 0x1012f740
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x154
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.1001b2e0
call fcn.1001b2f0
int3