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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101ea97a
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 esi, ecx
mov ebx, edx
xor edi, edi
cmp dword [ebx + 0xb0], edi
mov dword [esp + 0x14], ebx
je 0x1013e5bf
lea eax, [esp + 0x2c]
push eax
call fcn.1006bd00
mov dword [esp + 0xa0], edi
mov ecx, dword [ebx + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x2c]
push eax
push esi
call edx
test al, al
jne 0x1013e5c6
mov dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.10007e40
xor al, al
jmp 0x1013e743
cmp esi, 0xffffffff
je 0x1013e702
mov eax, dword [ebx + 0xd8]
mov eax, dword [eax]
add ebx, 0xd4
mov dword [esp + 0x18], edi
mov esi, ebx
mov edi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
lea ecx, [ecx]
test esi, esi
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], ecx
je 0x1013e5ff
cmp esi, ebx
je 0x1013e605
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x28]
je 0x1013e6ad
test esi, esi
jne 0x1013e619
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
jne 0x1013e624
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 8]
cmp dword [edi + 0x14], edx
je 0x1013e63f
lea esi, [esp + 0x1c]
call fcn.100ebda0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
jmp 0x1013e5f0
cmp dword [esp + 0x2c], 1
jne 0x1013e664
cmp edi, dword [esi + 4]
jne 0x1013e651
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.1013f320
jmp 0x1013e685
cmp edi, dword [esi + 4]
jne 0x1013e66f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.1013f220
cmp edi, dword [esi + 4]
mov dword [esp + 0x18], eax
jne 0x1013e694
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push edi
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.101369e0
mov edx, dword [esp + 0x2c]
mov esi, eax
mov dword [esi], edx
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
mov dword [esi + 8], ecx
push 0
lea ecx, [esi + 0xc]
lea eax, [esp + 0x40]
call fcn.10007880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x28]
lea eax, [esp + 0x5c]
call fcn.10007880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
lea eax, [esp + 0x78]
call fcn.10007880
mov ebx, dword [esp + 0x14]
cmp byte [ebp + 0xc], 0
je 0x1013e72c
mov ebx, dword [ebx + 0xcc]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x811
push ebx
call esi
push 0
push 0xb
push 0x815
push ebx
call esi
mov dword [esp + 0xa0], 0xffffffff
lea edx, [esp + 0x2c]
push edx
call fcn.10007e40
mov al, 1
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 8