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

Disassembly:
push 0xffffffffffffffff
push 0x10014458
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1001c048]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
xor esi, esi
xor ecx, ecx
push esi
mov word [esp + 0x40], cx
push eax
or eax, 0xffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
call fcn.10001c50
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x8c], esi
xor eax, eax
mov dword [esp + 0x20], 0x3a
call fcn.1000ca10
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
mov ebp, eax
push edx
xor eax, eax
mov dword [esp + 0x20], 0x3b
call fcn.1000ca10
cmp eax, 0xffffffff
je 0x100126d9
sub eax, ebp
push eax
mov ecx, ebp
lea esi, [esp + 0x24]
lea edx, [esp + 0x40]
call fcn.1000c8a0
mov edi, eax
lea esi, [esp + 0x3c]
mov byte [esp + 0x80], 1
call fcn.10008000
mov byte [esp + 0x80], 0
cmp dword [esp + 0x34], 8
jb 0x100126d9
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp ebp, 0xffffffff
je 0x1001299b
mov dword [esp + 0x1c], 0x2c
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [ebp + 1]
call fcn.1000ca10
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov byte [esp + 0x80], 2
lea ecx, [ebp + 1]
lea esi, [esp + 0x58]
cmp edi, 0xffffffff
jne 0x100127d9
push edi
lea edx, [esp + 0x40]
call fcn.1000c8a0
mov esi, eax
lea ecx, [esp + 0x20]
cmp ecx, esi
je 0x100127bc
cmp dword [esp + 0x34], 8
jb 0x1001275c
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov ebp, 7
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
cmp dword [esi + 0x14], 8
jae 0x10012793
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x24]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1001279f
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
xor eax, eax
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], 0
mov word [esi], ax
mov byte [esp + 0x80], 2
cmp dword [esp + 0x6c], 8
jb 0x1001287c
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x10012873
mov edx, edi
sub edx, ebp
dec edx
push edx
lea edx, [esp + 0x40]
call fcn.1000c8a0
mov esi, eax
lea eax, [esp + 0x20]
cmp eax, esi
je 0x1001285f
cmp dword [esp + 0x34], 8
jb 0x10012807
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], dx
cmp dword [esi + 0x14], 8
jae 0x1001283a
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [esp + 0x24]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x10012842
mov edx, dword [esi]
mov dword [esp + 0x20], edx
mov dword [esi], ebp
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebp
mov word [esi], dx
mov byte [esp + 0x80], 2
cmp dword [esp + 0x6c], 8
jb 0x1001287c
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1001288b
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
push 0x100183a0
push eax
call dword [sym.imp.MSVCR100.dll_swscanf_s]
add esp, 0xc
cmp eax, 1
jne 0x10012973
mov eax, dword [ebx + 4]
lea edx, [esp + 0x14]
cmp edx, eax
jae 0x1001291d
mov edx, dword [ebx]
lea ecx, [esp + 0x14]
cmp edx, ecx
ja 0x1001291d
mov edi, ecx
mov ecx, dword [ebx + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x10012907
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x100129d1
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x10012907
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x100128f8
xor ecx, ecx
jmp 0x100128fa
add ecx, edx
cmp ecx, eax
cmovb ecx, eax
push ecx
mov esi, ebx
call fcn.1000a620
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [edx + edi*4]
test eax, eax
je 0x10012917
mov ecx, dword [ecx]
mov dword [eax], ecx
mov edi, dword [esp + 0x18]
jmp 0x1001296f
mov ecx, dword [ebx + 8]
cmp eax, ecx
jne 0x10012962
mov edx, dword [ebx]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x100129d1
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x10012962
mov edx, ecx
shr edx, 1
mov esi, 0x3fffffff
sub esi, edx
cmp esi, ecx
jae 0x10012953
xor ecx, ecx
jmp 0x10012955
add ecx, edx
cmp ecx, eax
cmovb ecx, eax
push ecx
mov esi, ebx
call fcn.1000a620
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001296f
mov edx, dword [esp + 0x14]
mov dword [eax], edx
add dword [ebx + 4], 4
mov byte [esp + 0x80], 0
cmp dword [esp + 0x34], 8
mov ebp, edi
jb 0x10012992
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp edi, 0xffffffff
jne 0x100126ea
cmp dword [esp + 0x50], 8
jb 0x100129b0
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100134d2
add esp, 0x70
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3