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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fcf38
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
xor ebx, ebx
cmp dword [ecx + 0x208], ebx
je 0x1010e062
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x80], ebx
mov esi, dword [ebp + 8]
mov eax, esi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.10029230
test eax, eax
jbe 0x1010e02d
mov edi, dword [esp + 0x14]
add edi, 0xffffffcc
mov dword [esp + 0x20], edi
jmp 0x1010decb
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1010dede
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1010dee4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x1d0]
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 0x1010df45
push 0x30
lea edx, [esp + 0x48]
push 0
push edx
call sub.MSVCR80.dll_memset
mov ecx, dword [edi + 0x1d0]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push 0
push 0x104b
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 4
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x60]
jmp 0x1010df48
or eax, 0xffffffff
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
add edi, 0x214
lea ebx, [esp + 0x24]
lea eax, [esp + 0x28]
mov esi, edi
call fcn.100eacd0
mov esi, dword [eax]
test esi, esi
mov ebx, dword [eax + 4]
mov edi, dword [edi + 4]
je 0x1010df7e
mov eax, dword [esp + 0x14]
add eax, 0x214
cmp esi, eax
je 0x1010df84
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x1010dfd4
test esi, esi
jne 0x1010df92
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 4]
jne 0x1010df9d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x10], 1
lea edi, [ebx + 0x10]
jne 0x1010dfbf
cmp ebx, dword [esi + 4]
mov byte [esp + 0x13], 1
jne 0x1010dfb6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x1c], edx
jmp 0x1010dfd4
cmp ebx, dword [esi + 4]
jne 0x1010dfca
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea esi, [esp + 0x34]
call fcn.100f7640
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
add esi, 1
mov dword [esp + 0x18], esi
call fcn.10029230
cmp esi, eax
jb 0x1010dec0
cmp byte [esp + 0x13], 0
je 0x1010e02b
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push eax
lea eax, [esi + 0x98]
call fcn.10132b20
mov ecx, dword [esi + 0x9c]
push eax
push 9
push 0x110b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x20]
push edx
call fcn.10111600
jmp 0x1010e095
xor ebx, ebx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1010e04e
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1010e07c
mov dword [esp + 0x80], 0xffffffff
lea ebx, [esp + 0x30]
call fcn.100079b0
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x208]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
push ebx
push 1
lea eax, [esp + 0x38]
push eax
call edx
mov dword [esp + 0x80], 0xffffffff
lea ebx, [esp + 0x30]
call fcn.100079b0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4