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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10021bfc
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x1002c018]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x3c]
and eax, 0xfffffe06
or eax, 6
xor edi, edi
push 0x20
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x70], edi
cmp esi, edi
je 0x10010734
push esi
call fcn.1000bb30
jmp 0x10010736
xor esi, esi
mov dword [esp + 0x34], esi
mov eax, ebx
mov dword [esp + 0x70], 1
call fcn.10011cf0
mov esi, dword [eax]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call fcn.10007e30
lea ecx, [esp + 0x24]
mov edx, esi
call fcn.10008130
mov eax, ecx
call fcn.10007fe0
lea eax, [esp + 0x34]
mov dword [esp + 0x70], 0xffffffff
call fcn.10007fe0
mov edx, dword [ebx + 0x64]
cmp edx, dword [ebx + 0x60]
je 0x100107a4
mov ecx, dword [ebx + 0x64]
mov al, byte [ecx]
cmp al, 0x20
je 0x10010799
cmp al, 9
je 0x10010799
cmp al, 0xd
je 0x10010799
cmp al, 0xa
jne 0x100107a4
inc ecx
mov eax, ecx
mov dword [ebx + 0x64], ecx
cmp eax, dword [ebx + 0x60]
jne 0x10010784
mov ecx, dword [ebx + 0x64]
cmp byte [ecx], 0x5d
jne 0x100107cc
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.1000fd10
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
add esi, eax
cmp eax, esi
jbe 0x100107e2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
test edi, edi
jne 0x1001080d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec esi
cmp esi, edx
ja 0x1001081a
test edi, edi
je 0x10010813
mov edi, dword [edi]
jmp 0x10010815
mov eax, dword [edi]
mov ecx, eax
jmp 0x100107fa
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x10010820
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], esi
call fcn.10013610
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
push esi
push eax
call fcn.10008d50
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
inc esi
add ecx, eax
mov dword [esp + 0x14], esi
test cl, 3
jne 0x10010868
add eax, 4
shr eax, 2
cmp dword [ebx + 0x14], eax
ja 0x10010868
call fcn.10012110
mov esi, dword [ebx + 0x1c]
add esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov edi, esi
shr edi, 2
cmp eax, edi
ja 0x1001087c
sub edi, eax
mov edx, dword [ebx + 0x10]
cmp dword [edx + edi*4], 0
jne 0x10010895
push 0x10
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x10]
add esp, 4
mov dword [ecx + edi*4], eax
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi*4]
and esi, 3
lea esi, [eax + esi*4]
test esi, esi
je 0x100108ab
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
inc dword [ebx + 0x1c]
mov ecx, ebx
call fcn.1000fa10
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x100108cb
add ecx, 0xffffffff
mov dword [ebx + 0x1c], ecx
jne 0x100108cb
mov dword [ebx + 0x18], 0
test al, al
je 0x1001091d
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.1000fd10
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
jne 0x100108fb
test al, al
je 0x10010937
lea edi, [esp + 0x34]
mov eax, ebx
call fcn.1000fd10
mov ecx, dword [esp + 0x34]
cmp ecx, 0xc
je 0x100108e3
test al, al
je 0x10010937
cmp ecx, 4
jne 0x100107d0
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
call fcn.10011540
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Missing___or___in_array_declaration
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x50]
mov ecx, ebx
mov dword [esp + 0x78], 2
call fcn.10011430
push 4
call fcn.10011540
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x70], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret