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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d7c7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [edi]
or dword [esi + 0xbc], 1
cmp dword [esi + 8], 0x101eb21c
jne 0x1012d925
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1012d920
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1012d922
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push ebx
call fcn.1000bd90
mov ebx, dword [edi + 4]
cmp dword [ebx + 0x10], 0
je 0x1012d97e
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x101eb21c
jne 0x1012d971
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1012d96c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x1012d96e
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push ebx
call fcn.1000bd90
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jle 0x1012d9e0
mov eax, dword [edi + 0x10]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jge 0x1012d9a6
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x14], eax
jmp 0x1012d9cd
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x1012d9b7
inc eax
push eax
lea ecx, [esi + 0x10]
call fcn.10125e20
inc dword [esi + 0x18]
call fcn.10125e90
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x14]
mov ecx, eax
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push 0
push eax
call fcn.1000bd90
inc ebx
cmp ebx, dword [edi + 0xc]
jl 0x1012d985
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x10], 0
jle 0x1012da73
xor ebx, ebx
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
cmp ecx, eax
jge 0x1012da09
mov edx, dword [esi + 0x30]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [esi + 0x34], ecx
jmp 0x1012da56
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jne 0x1012da1a
inc ecx
push ecx
lea ecx, [esi + 0x30]
call fcn.10125e20
inc dword [esi + 0x38]
push 0xb8
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1012da41
mov ecx, eax
call fcn.1014bb30
jmp 0x1012da43
xor eax, eax
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x34]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x18]
push eax
add ecx, ebx
call fcn.1012cdf0
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 0x40
mov dword [ebp - 0x10], eax
cmp eax, dword [edi + 0x14]
jl 0x1012d9f3
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], 0
test eax, eax
jle 0x1012db16
mov dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x58]
cmp ecx, eax
jge 0x1012daa7
mov eax, dword [esi + 0x50]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x54], ecx
mov ebx, 1
jmp 0x1012daf2
mov ecx, dword [esi + 0x5c]
cmp eax, ecx
jne 0x1012dab8
inc ecx
push ecx
lea ecx, [esi + 0x50]
call fcn.10125e20
mov ebx, 1
add dword [esi + 0x58], ebx
push 0x38
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x1012dadd
mov ecx, eax
call fcn.1014c000
jmp 0x1012dadf
xor eax, eax
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov dword [edx + ecx*4], eax
add dword [esi + 0x54], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x20]
add ecx, dword [ebp - 0x10]
push eax
call fcn.1012a300
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 0x20
add eax, ebx
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x1c]
jl 0x1012da8c
mov esi, dword [ebp + 8]
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x14], 0
jle 0x1012dbad
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
cmp ecx, eax
jge 0x1012db46
mov eax, dword [esi + 0x70]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x74], ecx
jmp 0x1012db90
mov ecx, dword [esi + 0x7c]
cmp eax, ecx
jne 0x1012db57
inc ecx
push ecx
lea ecx, [esi + 0x70]
call fcn.10125e20
inc dword [esi + 0x78]
push 0x38
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1012db7b
mov ecx, eax
call fcn.1014c320
jmp 0x1012db7d
xor eax, eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x74]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x28]
push eax
add ecx, ebx
call fcn.1012a460
mov eax, dword [ebp - 0x14]
inc eax
add ebx, 0x18
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x24]
jl 0x1012db30
mov esi, dword [ebp + 8]
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x14], 0
jle 0x1012dc5f
xor ebx, ebx
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x98]
cmp ecx, eax
jge 0x1012dbe2
mov eax, dword [esi + 0x90]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esi + 0x94], ecx
jmp 0x1012dc3e
mov ecx, dword [esi + 0x9c]
cmp eax, ecx
jne 0x1012dbf9
inc ecx
push ecx
lea ecx, [esi + 0x90]
call fcn.10125e20
inc dword [esi + 0x98]
push 0x30
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x1012dc20
mov ecx, eax
call fcn.1014a4d0
jmp 0x1012dc22
xor eax, eax
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x94]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x30]
push eax
add ecx, ebx
call fcn.1012b8a0
mov eax, dword [ebp - 0x14]
inc eax
add ebx, 0x48
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x2c]
jl 0x1012dbc0
mov esi, dword [ebp + 8]
mov ebx, dword [edi + 0x34]
call fcn.10149dc0
cmp ebx, eax
je 0x1012dcbd
mov edi, dword [edi + 0x34]
or dword [esi + 0xbc], 0x80
cmp dword [esi + 0xb0], 0
jne 0x1012dcb1
push 0x54
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x1012dca2
mov ecx, eax
call fcn.1014c6b0
jmp 0x1012dca4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb0]
push edi
call fcn.101577f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4