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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101eae11
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, dword [ebx + 0x2c]
xor edi, edi
cmp esi, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
je 0x1012a232
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esp + 0xa0], edi
cmp esi, edi
jne 0x1012a24d
mov dword [esp + 0xa0], 0xffffffff
jmp 0x1012a708
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0xa0], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
mov byte [esp + 0xa0], 2
mov dword [esp + 0x14], edi
xor esi, esi
mov edi, edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1012a337
mov ecx, dword [esp + 0x2c]
sub ecx, edi
mov eax, 0x84210843
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x1012a337
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + esi + 0x34]
add ecx, 0x20
cmp dword [edi + esi + 0x38], 8
jb 0x1012a2d5
mov edi, dword [edi + esi + 0x24]
jmp 0x1012a2d9
lea edi, [edi + esi + 0x24]
push edi
mov edi, eax
mov eax, dword [ecx + 0x14]
call fcn.1000fad0
test eax, eax
jne 0x1012a32a
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1012a30f
mov ecx, dword [esp + 0x2c]
sub ecx, edi
mov eax, 0x84210843
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x1012a319
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x28]
push 0xffffffffffffffff
push 0
lea eax, [edi + esi + 0x5c]
lea ecx, [esp + 0x44]
call fcn.10007880
add dword [esp + 0x14], 1
add esi, 0x7c
jmp 0x1012a290
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
lea esi, [ebx + 0x3c]
push 0
mov eax, edi
mov ecx, esi
call fcn.10007880
mov eax, dword [edi + 0x1c]
push 0xffffffffffffffff
mov dword [esi + 0x1c], eax
push 0
lea eax, [edi + 0x20]
lea ecx, [esi + 0x20]
call fcn.10007880
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
call fcn.10007880
mov cl, byte [edi + 0x58]
push 0xffffffffffffffff
mov byte [esi + 0x58], cl
push 0
lea eax, [edi + 0x5c]
lea ecx, [esi + 0x5c]
call fcn.10007880
mov edx, dword [edi + 0x78]
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 0x98]
lea eax, [esp + 0x44]
mov dword [esi + 0x78], edx
call fcn.10007880
cmp dword [ebx + 0x8c], edi
jne 0x1012a410
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
mov ecx, ebx
call edx
mov byte [esp + 0x1b], al
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], 8
jb 0x1012a3cf
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
mov byte [esp + 0xa0], 0
lea ebx, [esp + 0x24]
call fcn.100c2670
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x1b]
jmp 0x1012a70a
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
mov dword [esp + 0x14], ecx
je 0x1012a425
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xa0], 3
cmp dword [ebx + 0x50], edi
jne 0x1012a48d
mov eax, dword [ebx + 0x58]
cmp eax, edi
je 0x1012a48d
cmp ecx, edi
je 0x1012a48d
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
lea eax, [esp + 0x5c]
push eax
call edx
mov byte [esp + 0xa0], 4
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10007880
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x70], 8
jb 0x1012a478
mov eax, dword [esp + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], di
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x1012a4c5
push 1
push esi
mov esi, eax
call fcn.100215f0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
push 1
add eax, 4
push edi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 4]
add eax, 4
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x14]
cmp dword [ebx + 0x1c], edi
je 0x1012a6a1
mov esi, dword [ebx + 0x30]
cmp esi, edi
mov dword [esp + 0x20], esi
je 0x1012a4e5
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xa0], 5
cmp esi, edi
je 0x1012a61d
push 0xffffffffffffffff
lea eax, [ebx + 0x78]
push edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
call fcn.10007880
mov byte [esp + 0xa0], 6
push 0x1022fcf8
lea eax, [esp + 0x78]
push 0x10239a50
push eax
call fcn.1019c680
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
add esp, 0xc
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call edx
mov byte [esp + 0xa0], 7
add ebx, 0xb8
push ebx
lea ebx, [esp + 0x5c]
call fcn.10026d20
xor ebx, ebx
test al, al
je 0x1012a5b7
lea edi, [ebx + 1]
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x80]
mov word [ecx + 4], bx
call fcn.10007880
mov byte [esp + 0xc0], 8
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x1c]
push ecx
mov byte [esp + 0xc4], 7
mov ecx, edi
call fcn.1001aab0
mov byte [esp + 0xa0], 6
cmp dword [esp + 0x70], 8
jb 0x1012a5d3
mov edx, dword [esp + 0x5c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov byte [esp + 0xa0], 5
cmp dword [esp + 0x8c], 8
jb 0x1012a604
mov eax, dword [esp + 0x78]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
xor edi, edi
mov byte [esp + 0xa0], 3
cmp esi, edi
je 0x1012a636
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xa0], 2
cmp ecx, edi
je 0x1012a649
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], 8
jb 0x1012a665
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
mov byte [esp + 0xa0], 0
lea ebx, [esp + 0x24]
call fcn.100c2670
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x1012a70a
mov byte [esp + 0xa0], 2
cmp ecx, edi
je 0x1012a6b4
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], 8
jb 0x1012a6d0
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
mov byte [esp + 0xa0], 0
lea ebx, [esp + 0x24]
call fcn.100c2670
mov dword [esp + 0xa0], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4