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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101f4ec0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov dword [esp + 0xa8], ebx
mov eax, esi
mov dword [esp + 0x18], ebx
call fcn.10029230
test eax, eax
jbe 0x1010e57f
jmp 0x1010e41d
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1010e430
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1010e436
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x19c]
mov esi, dword [eax + ebx*4]
push 0
push 0
lea eax, [eax + ebx*4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1004
push ecx
call ebx
cmp esi, eax
jae 0x1010e497
push 0x30
lea edx, [esp + 0x34]
push 0
push edx
call sub.MSVCR80.dll_memset
mov ecx, dword [edi + 0x19c]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push 0
push 0x104b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], 4
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x4c]
jmp 0x1010e49a
or eax, 0xffffffff
mov dword [esp + 0x20], eax
add edi, 0x214
lea ebx, [esp + 0x20]
lea eax, [esp + 0x24]
mov esi, edi
call fcn.100eacd0
mov esi, dword [eax]
test esi, esi
mov ebx, dword [eax + 4]
mov edi, dword [edi + 4]
je 0x1010e4cc
mov eax, dword [esp + 0x14]
add eax, 0x214
cmp esi, eax
je 0x1010e4d2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x1010e55f
xor eax, eax
mov edi, 7
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
mov byte [esp + 0xa8], 1
cmp esi, eax
jne 0x1010e500
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x1010e50b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0x14]
push edx
push 0x1023c5c4
lea ecx, [esp + 0x68]
call fcn.1019cb70
add esp, 8
xor ebx, ebx
push ebx
lea eax, [esp + 0x64]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x84]
call fcn.1000c700
mov byte [esp + 0xa8], bl
cmp dword [esp + 0x78], 8
jb 0x1010e552
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esi, 1
mov dword [esp + 0x18], esi
call fcn.10029230
cmp esi, eax
mov edi, dword [esp + 0x14]
jb 0x1010e415
lea edx, [edi - 0x34]
test edx, edx
je 0x1010e58b
add edi, 4
jmp 0x1010e58d
xor edi, edi
lea eax, [esp + 0x7c]
push 0x13
push eax
mov ecx, edi
call fcn.1001fe40
add esp, 8
mov dword [esp + 0xa8], 0xffffffff
cmp dword [esp + 0x94], 8
jb 0x1010e5c3
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4