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

Disassembly:
push 0xffffffffffffffff
push 0x101fcdd0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
mov eax, dword [ebp + 0x80]
xor ebx, ebx
cmp eax, ebx
je 0x1011ea96
cmp dword [ebp + 0x88], eax
je 0x1011ea96
push ebx
push eax
mov eax, ebp
call fcn.10122800
cmp eax, 1
jne 0x1011ea96
mov eax, dword [ebp + 0x80]
push ebx
push eax
xor eax, eax
mov ebx, ebp
call fcn.10122740
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp eax, ebx
je 0x1011eb36
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x270]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1011eb36
mov ecx, dword [eax]
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0xa0], ebx
call eax
xor eax, eax
cmp word [esp + 0x98], bx
setne al
cmp eax, ebx
jne 0x1011eb36
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp eax, ebx
je 0x1011eb36
mov ecx, dword [eax]
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0x270]
call eax
mov edi, dword [esp + 0x98]
cmp edi, ebx
je 0x1011eb36
mov eax, dword [ebp + 0xf8]
cmp eax, ebx
mov esi, 1
je 0x1011eb24
call fcn.100676c0
test eax, eax
jne 0x1011eb24
xor esi, esi
mov ecx, dword [edi]
mov edx, dword [ecx + 0x40]
neg esi
sbb esi, esi
movzx eax, si
push eax
push 0xffffffffffffffff
push edi
call edx
mov ecx, dword [ebp + 0x70]
cmp ecx, ebx
je 0x1011eb56
cmp dword [ebp + 0x84], 0xffffffff
jne 0x1011eb56
mov eax, dword [ecx]
mov edx, dword [eax + 0x110]
call edx
mov dword [ebp + 0x84], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x80], 0xffffffff
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x1011f033
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x270]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov esi, eax
mov dword [esp + 0x28], esi
je 0x1011f033
mov ecx, dword [eax]
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
cmp dword [esp + 0x98], 1
jl 0x1011f033
mov ecx, dword [esi]
mov eax, dword [ecx + 0x34]
lea edx, [esp + 0x98]
push edx
push ebx
push esi
call eax
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x1011ebda
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
lea esi, [ebp + 0xb4]
push ecx
lea ebx, [esp + 0x30]
call fcn.10122f10
mov eax, dword [esp + 0x38]
test eax, eax
mov edi, dword [esi + 4]
je 0x1011ec09
cmp eax, esi
je 0x1011ec0f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x3c], edi
je 0x1011ec25
lea esi, [esp + 0x38]
call fcn.101231b0
mov edx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 0xc0]
mov dword [ebp + 0xa8], 0x3a98
mov dword [ebp + 0xb0], 0x30d4
call fcn.100eaca0
lea eax, [ebp + 0xcc]
call fcn.100eab80
call fcn.101a7380
mov edi, dword [eax + 0x24]
test edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
je 0x1011ec6b
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov dword [esp + 0x90], 0
test edi, edi
jne 0x1011ec8a
mov dword [esp + 0x90], 0xffffffff
jmp 0x1011f033
call dword [sym.imp.USER32.dll_CreatePopupMenu]
test eax, eax
mov dword [esp + 0x98], eax
jne 0x1011ecaf
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [edi]
mov ecx, edi
jmp 0x1011f02e
lea esi, [ebp + 0x44]
lea ebx, [esp + 0x98]
call fcn.100ed280
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x90], 1
push ebx
push ebx
lea eax, [ebp + 0xcc]
push eax
lea eax, [ebp + 0xc0]
push eax
lea eax, [ebp + 0xb0]
push eax
lea eax, [ebp + 0xa8]
push eax
push esi
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x40]
call fcn.10117eb0
mov ecx, dword [esp + 0x3c]
sub eax, 1
push eax
push ecx
push ecx
mov ecx, dword [ebp + 0x98]
cmp ecx, ebx
mov eax, esp
mov dword [esp + 0x48], esp
mov dword [eax], ecx
je 0x1011ed2c
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov byte [esp + 0xbc], 2
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
mov ecx, edi
call eax
cmp eax, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
mov dword [ecx], eax
je 0x1011ed52
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
mov byte [esp + 0xc0], 3
mov ecx, dword [esp + 0xc8]
push ecx
mov byte [esp + 0xc4], 1
call fcn.100ec9e0
mov eax, dword [esp + 0x5c]
add esp, 0x34
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x9c]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
call ebx
lea ecx, [esp + 0x48]
push ecx
push edi
call ebx
lea edx, [esp + 0x50]
push edx
push edi
call ebx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
push ecx
push edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call ebx
lea edx, [esp + 0x60]
push edx
push edi
call ebx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x5c], 1
call fcn.10017b30
mov ebx, eax
test ebx, ebx
je 0x1011ee8d
call fcn.1001a870
mov edi, eax
mov eax, ebx
call fcn.1001a830
add dword [esp + 0x40], eax
add dword [esp + 0x44], edi
mov eax, ebx
call fcn.1001a870
mov edi, eax
mov eax, ebx
call fcn.1001a830
add dword [esp + 0x48], eax
add dword [esp + 0x4c], edi
mov eax, ebx
call fcn.1001a870
mov edi, eax
mov eax, ebx
call fcn.1001a830
add dword [esp + 0x50], eax
add dword [esp + 0x54], edi
mov eax, ebx
call fcn.1001a870
push eax
mov eax, ebx
call fcn.1001a830
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
call fcn.101a7380
mov edi, dword [eax + 0x1c]
xor ebx, ebx
cmp edi, ebx
je 0x1011eebb
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x1011eeaf
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
mov dword [ebp + 0x40], ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov dword [ebp + 0x40], eax
mov ecx, dword [ebp + 0x40]
cmp ecx, ebx
jne 0x1011ef32
mov ebx, dword [sym.imp.USER32.dll_DestroyMenu]
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1011eefc
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x1011eefc
call fcn.100ead40
cmp dword [eax], 0
je 0x1011eef7
call fcn.100ead40
mov ecx, dword [eax]
push ecx
call ebx
add edi, 1
jmp 0x1011eed0
lea esi, [esp + 0x78]
call fcn.100ec840
mov byte [esp + 0x90], 0
call fcn.100a0ee0
mov dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x1011f035
mov edx, dword [ecx]
mov edx, dword [edx + 0x11c]
lea eax, [ebp + 0x1c]
push eax
call edx
mov ecx, dword [ebp + 0x9c]
cmp ecx, ebx
je 0x1011ef56
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 5
call edx
mov dword [ebp + 0x64], eax
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x64]
mov eax, dword [eax + 0xbc]
push edx
call eax
mov ecx, dword [ebp + 0x40]
mov edx, dword [ecx]
mov eax, dword [esp + 0x98]
mov edx, dword [edx]
push eax
call edx
test al, al
mov ecx, dword [ebp + 0x40]
jne 0x1011efc8
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov dword [ebp + 0x40], ebx
mov ebx, dword [sym.imp.USER32.dll_DestroyMenu]
xor edi, edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1011eefc
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x1011eefc
call fcn.100ead40
cmp dword [eax], 0
je 0x1011efc3
call fcn.100ead40
mov eax, dword [eax]
push eax
call ebx
add edi, 1
jmp 0x1011ef94
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
push 0x118
call eax
mov edi, dword [ebp + 0x40]
push 1
mov ebx, ebp
call fcn.10121d30
mov ecx, dword [esp + 0x44]
mov ebp, dword [ebp + 0x40]
mov edx, dword [ebp]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x44]
push 0x21
add ecx, 1
push ecx
mov ecx, dword [esp + 0xa8]
push eax
push ecx
mov ecx, ebp
call edx
mov byte [esp + 0x90], 0
lea esi, [esp + 0x78]
call fcn.100a0ee0
mov dword [esp + 0x90], 0xffffffff
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
xor eax, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8