Function at 0x1002f050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10155b42
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
add eax, 0x18
mov dword [ebp - 4], 0
push eax
call fcn.1000da50
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1002f0dd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f0d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f8e7
push edx
push ecx
call fcn.100f4a6f
add esp, 8
or edi, 0xffffffff
cmp dword [ebp - 0x48], 0
jne 0x1002f248
xor edi, edi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
add eax, 0x50
mov byte [ebp - 4], 1
push eax
call fcn.1000da50
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x70]
sub esp, 0x18
mov byte [ebp - 4], 2
cmp dword [ebp - 0x5c], 8
mov ecx, esp
mov dword [ebp - 0xc4], ecx
cmovae edx, dword [ebp - 0x70]
mov dword [ebp - 0xbc], edx
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
cmp eax, 8
jae 0x1002f14f
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x1002f19c
mov esi, eax
mov eax, SysReAllocString
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000b7f0
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xbc]
push eax
call fcn.1012db10
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0x58]
push eax
call fcn.1002f930
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1002f1d9
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1002f213
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f8ec
push edx
push ecx
call fcn.100f4a6f
add esp, 8
test edi, edi
je 0x1002f28a
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x28]
add edx, 0x18
cmp edx, eax
je 0x1002f235
cmp dword [ebp - 0x14], 8
mov ecx, edx
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000bc10
lea ecx, [ebp - 0x70]
call fcn.100098e0
lea ecx, [ebp - 0x28]
call fcn.100098e0
or edi, 0xffffffff
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1002f26d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1002f26d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1002f26d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xb8]
add eax, 0x68
push eax
call fcn.1000da50
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xb8]
sub esp, 0x18
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], 8
mov ecx, esp
mov dword [ebp - 0xc4], ecx
cmovae edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp eax, 8
jae 0x1002f2f0
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x1002f343
mov esi, eax
mov eax, SysReAllocString
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000b7f0
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0xbc]
push eax
call fcn.1012db10
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0x58]
push eax
call fcn.1002f930
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1002f3bc
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1002f395
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f38b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f8f1
push edx
push ecx
call fcn.100f4a6f
add esp, 8
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov edi, dword [ebp - 0x18]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1002f3f6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f3ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f8f6
push edx
push ecx
call fcn.100f4a6f
add esp, 8
test edi, edi
je 0x1002f428
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x28]
add edx, 0x18
cmp edx, eax
je 0x1002f418
cmp dword [ebp - 0x14], 8
mov ecx, edx
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000bc10
lea ecx, [ebp - 0xb8]
call fcn.100098e0
jmp 0x1002f235
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa0]
add eax, 0x38
push eax
call fcn.1000da50
mov edi, 0xf
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xbc], ecx
cmp eax, 8
jae 0x1002f482
movups xmm0, xmmword [ecx]
lea esi, [edi - 8]
movups xmmword [ebp - 0x40], xmm0
jmp 0x1002f4c7
mov esi, eax
lea ecx, [ebp - 0x40]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000b7f0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0xbc]
push eax
call fcn.1012db10
mov eax, dword [ebp - 0x90]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], dx
mov byte [ebp - 4], 6
test eax, eax
jne 0x1002f52e
mov byte [ebp - 4], 4
lea edi, [eax + 0x1f]
cmp esi, 8
jb 0x1002f604
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1002f5fa
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, edi
ja 0x1002f8fb
jmp 0x1002f5fa
cmp ecx, 8
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x1002f561
nop dword [eax + eax]
cmp ecx, edx
je 0x1002f5f2
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x1002f550
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x1002f5bc
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x90], ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
cmovb ecx, dword [ebp - 0x90]
cmp esi, 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x44], 7
call fcn.1000bc10
movups xmm0, xmmword [ebp - 0x58]
mov esi, dword [ebp - 0x2c]
mov edi, 0x2f
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x78], xmm0
mov ecx, dword [ebp - 0x40]
or edi, 0x10
mov byte [ebp - 4], 4
cmp esi, 8
jb 0x1002f604
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1002f5fa
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f900
jmp 0x1002f5fa
or ecx, 0xffffffff
jmp 0x1002f565
push esi
push ecx
call fcn.100f4a6f
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
cmp ecx, 8
jb 0x1002f64e
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f644
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f905
push edx
push ecx
call fcn.100f4a6f
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x18], xmm0
test edx, edx
je 0x1002f6a4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
add ecx, 0x18
cmp ecx, eax
je 0x1002f689
cmp dword [ebp - 0x74], 8
push edx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.1000bc10
lea ecx, [ebp - 0xa0]
call fcn.100098e0
lea ecx, [ebp - 0xb8]
call fcn.100098e0
jmp 0x1002f235
push 0x98
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.1012e610
mov eax, dword [0x101aa6fc]
add esp, 0xc
test al, 1
jne 0x1002f6d5
or eax, 1
mov dword [0x101aa6f8], 0
mov dword [0x101aa6fc], eax
mov byte [ebp - 0xbd], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.100511be
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xbd]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push eax
push 0x1002c5a0
push 0x101aa6f8
call fcn.1004fca3
add esp, 0x10
test eax, eax
je 0x1002f8c7
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 9
push eax
call fcn.100511f8
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0x10161a0c
add esp, 4
mov dword [ebp - 0xcc], eax
or edi, 0x40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xbc], edi
mov dword [ebp - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x11c], 0x48
call fcn.1000afa0
lea eax, [ebp - 0x164]
mov dword [ebp - 0xdc], 0
push 0x20
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xe0], eax
call fcn.1000d470
cmp dword [ebp - 0xe0], 0
mov word [ebp - 0xd8], ax
jne 0x1002f7c4
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x118]
push 0
or eax, 4
push eax
call fcn.1000bd20
mov eax, dword [ebp - 0x168]
push 2
mov dword [ebp - 4], 0xe
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x16c], eax
lea ecx, [ebp - 0x164]
call fcn.10008fe0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0xf
push 0x101aa700
push eax
call fcn.100086f0
add esp, 8
lea ecx, [ebp - 0x58]
push dword [ebp + 8]
call fcn.1000da50
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x10
push eax
call fcn.100137f0
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.100098e0
cmp dword [0x101aa314], 0
mov byte [ebp - 4], 0x11
je 0x1002f891
lea eax, [ebp - 0x168]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x164]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
call fcn.100098e0
lea ecx, [ebp - 0x168]
call fcn.10009fa0
lea ecx, [ebp - 0xa0]
call fcn.100098e0
lea ecx, [ebp - 0xb8]
call fcn.100098e0
lea ecx, [ebp - 0x70]
call fcn.100098e0
lea ecx, [ebp - 0x28]
call fcn.100098e0
jmp 0x1002f245
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
push eax
call fcn.10051219
add esp, 4
mov byte [ebp - 4], 8
test al, al
jne 0x1002f90a
call fcn.1004fcbb
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
call fcn.10131c3f
sub esp, 8
lea eax, [ebp - 0xd0]
mov ecx, esp
push eax
call fcn.10015050
call fcn.1001e290
int3