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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1007000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
sub esi, edi
mov dword [ebp - 0x30], eax
mov eax, 0x88888889
imul esi
mov dword [ebp - 0x34], 0
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100126bb
lea ecx, [ebx + 0x2c]
mov ebx, dword [ebp - 0x30]
push 0xffffffffffffffff
push eax
push ecx
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], eax
mov byte [ebx], al
call fcn.1000bd50
jmp 0x10012872
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
cmp edx, ecx
jge 0x10012711
test byte [ebx + 0x44], 2
je 0x10012711
xorps xmm0, xmm0
mov dword [ebp - 0x48], vtable.boost::io::too_few_args.0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.100158f0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.10015900
push 0x1006e6b8
lea eax, [ebp - 0x7c]
push eax
call fcn.10035256
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 2
mov eax, 0x88888889
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 0x3c]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x10012761
add esi, dword [edi + 0x14]
cmp dword [edi], 0xfffffffe
jne 0x10012756
cmp esi, dword [edi + 0x38]
cmovb esi, dword [edi + 0x38]
add esi, dword [edi + 0x2c]
add edi, 0x78
sub ecx, 1
jne 0x10012747
cmp esi, 0xf
je 0x1001278a
push 1
push esi
lea ecx, [ebp - 0x28]
call fcn.10007780
test al, al
je 0x1001278a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000be80
mov ecx, dword [ebx + 4]
mov eax, 0x88888889
sub ecx, dword [ebx]
imul ecx
mov dword [ebp - 0x2c], 0
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10012829
xor edi, edi
nop dword [eax]
mov esi, dword [ebx]
lea ecx, [ebp - 0x28]
add esi, edi
push 0xffffffffffffffff
push 0
lea eax, [esi + 4]
push eax
call fcn.1000be80
cmp dword [esi], 0xfffffffe
jne 0x100127f3
mov ecx, dword [esi + 0x38]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jbe 0x100127f3
movzx eax, byte [esi + 0x48]
sub ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007960
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000be80
mov ecx, dword [ebx + 4]
mov eax, 0x88888889
sub ecx, dword [ebx]
add edi, 0x78
mov esi, dword [ebp - 0x2c]
imul ecx
inc esi
add edx, ecx
mov dword [ebp - 0x2c], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100127c0
mov byte [ebx + 0x28], 1
mov ebx, dword [ebp - 0x30]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jae 0x10012864
mov eax, dword [ebp - 0x18]
add eax, 1
je 0x10012869
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.10033f50
mov ecx, dword [ebp - 0x14]
add esp, 0xc
jmp 0x10012869
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100193f0
mov esp, ebp
pop ebp
ret 4