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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10203654
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x7c], ebx
call fcn.101a7380
mov esi, dword [eax + 0x24]
cmp esi, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0xfc], esi
je 0x1011aeea
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esp + 0x198], ebx
mov eax, dword [edi + 0xac]
xor ecx, ecx
cmp eax, ecx
je 0x1011af09
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [edi + 0xac], ecx
cmp dword [edi + 0x8c], ecx
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x80], edx
je 0x1011be02
cmp esi, ecx
je 0x1011be02
lea eax, [esp + 0x9c]
lea esi, [edi + 0xb4]
push eax
lea ebx, [ebp + 0xc]
call fcn.10122f10
mov eax, dword [esp + 0x9c]
test eax, eax
mov ebx, dword [esi + 4]
je 0x1011af4e
cmp eax, esi
je 0x1011af54
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0xa0]
cmp esi, ebx
je 0x1011be02
lea ebx, [edi + 0xa8]
mov edi, dword [esp + 0x9c]
test edi, edi
mov dword [esp + 0x84], ebx
mov dword [ebx], 0x3a98
jne 0x1011af87
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 4]
jne 0x1011af92
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esp + 0x124]
lea edi, [esi + 0x18]
push ecx
call fcn.100ed510
mov byte [esp + 0x198], 1
xor esi, esi
cmp dword [esp + 0x124], esi
je 0x1011ba70
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x14]
mov edi, dword [eax]
cmp edi, esi
je 0x1011bb65
mov eax, dword [esp + 0x7c]
cmp eax, esi
je 0x1011afdd
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0xffffffffffffffff
push esi
push eax
call edx
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x264]
lea ecx, [esp + 0xb0]
push ecx
push edx
push edi
call eax
mov eax, dword [esp + 0xb0]
test eax, eax
mov esi, eax
mov dword [esp + 0x7c], esi
je 0x1011bb76
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0xffffffffffffffff
push 2
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x84], ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x3c]
lea eax, [esp + 0xd4]
push eax
push esi
call ecx
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xd4]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0xd8]
lea edx, [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
push edx
push eax
mov dword [esp + 0x40], ecx
sub esi, ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xd0]
lea edx, [esp + 0xac]
push edx
push edi
call eax
mov eax, dword [esp + 0xac]
test eax, eax
mov edi, eax
je 0x1011b0de
mov ecx, dword [eax]
lea edx, [esp + 0xa8]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [edi]
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0x58], ecx
mov ecx, dword [edx + 0x1c]
push edi
call ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0xb4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
jmp 0x1011b0e6
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
sub eax, dword [esp + 0x40]
add esi, ecx
mov dword [esp + 0xe8], eax
lea eax, [edi + 0xc0]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], esi
mov dword [esp + 0x54], eax
call fcn.100eaca0
lea eax, [edi + 0xcc]
mov dword [esp + 0x40], eax
call fcn.100eab80
lea edx, [esp + 0x18]
push edx
xor ecx, ecx
call fcn.101aa7f0
mov byte [esp + 0x198], 5
push ecx
mov eax, esp
mov dword [eax], 0x1f8
mov eax, edx
mov dword [esp + 0x54], esp
push eax
call fcn.10050240
cmp dword [esp + 0x18], 0
je 0x1011b8a2
call fcn.101a7380
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x50], ecx
je 0x1011bb93
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov esi, eax
test esi, esi
mov dword [esp + 0xa4], esi
je 0x1011bb93
mov edx, dword [esi]
mov edx, dword [edx + 0x11c]
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
call edx
mov edi, dword [edi + 0x9c]
test edi, edi
mov dword [esp + 0x6c], 0
je 0x1011b1bb
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 5
mov ecx, edi
call edx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov byte [esp + 0x198], 6
xor edi, edi
push edi
lea esi, [esp + 0x8c]
lea ecx, [esp + 0x1c]
call fcn.10050290
mov byte [esp + 0x198], 7
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.101aa7f0
mov byte [esp + 0x198], 9
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov byte [esp + 0x198], 0xa
mov eax, dword [esp + 0x48]
push edi
push edi
push 1
push edi
push 1
push edi
push edi
push 0xffffffffffffffff
lea edx, [esp + 0x78]
push edx
push eax
call fcn.100ec2e0
add esp, 0x28
xor esi, esi
mov ecx, dword [ebx]
mov edx, dword [esp + 0x48]
push ecx
push esi
push edx
call fcn.100ec570
mov edi, dword [esp + 0x134]
add esp, 0xc
test esi, esi
sete al
mov byte [esp + 0xf8], al
mov eax, dword [esp + 0x40]
mov ecx, ebx
call fcn.100ed0f0
mov ecx, dword [esp + 0xf8]
mov dword [eax], edi
mov dword [eax + 4], ecx
add dword [ebx], 1
add esi, 1
cmp esi, 2
jl 0x1011b240
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x198], 0xb
mov edx, dword [esp + 0x18]
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x28]
mov dword [esp + 0x1c], edx
call fcn.100ed280
cmp dword [esp + 0x124], 1
jne 0x1011b432
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
call edx
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x80], edi
je 0x1011b2e3
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov byte [esp + 0x198], 0xc
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x84]
push 0
push 0
push eax
push ebx
lea ecx, [esi + 0xb0]
push ecx
push edx
mov edx, dword [esp + 0x140]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x74]
push ecx
push 0
push edx
push ecx
mov ecx, dword [esi + 0x98]
test ecx, ecx
mov eax, esp
mov dword [esp + 0xb0], esp
mov dword [eax], ecx
je 0x1011b33c
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1c4], 0xd
test edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x54], esp
mov dword [eax], edi
je 0x1011b359
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov byte [esp + 0x1c8], 0xe
mov eax, dword [esp + 0x78]
push eax
mov byte [esp + 0x1cc], 0xc
call fcn.100ec9e0
xor ecx, ecx
add esp, 0x34
cmp dword [esi + 0xc8], ecx
je 0x1011b41d
mov eax, dword [ebx + 4]
mov edx, dword [eax]
mov esi, ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], ecx
mov byte [esp + 0x198], 0xf
test esi, esi
mov edi, dword [ebx + 4]
je 0x1011b3bb
cmp esi, ebx
je 0x1011b3c1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x78], edi
je 0x1011b403
test esi, esi
jne 0x1011b3d1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x78]
cmp eax, dword [esi + 4]
jne 0x1011b3e0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x78]
add ecx, 0x10
push ecx
lea esi, [esp + 0x10c]
call fcn.100f7640
lea esi, [esp + 0x74]
call fcn.100ebda0
mov esi, dword [esp + 0x74]
jmp 0x1011b3b0
mov byte [esp + 0x198], 0xc
lea ebx, [esp + 0x108]
call fcn.100079b0
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov byte [esp + 0x198], 0xb
cmp edi, ecx
je 0x1011b432
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
call fcn.10191fb0
mov edi, eax
call fcn.10192680
test al, al
je 0x1011b454
mov ecx, dword [esp + 0x48]
push 1
push 0x9c9f
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, dword [esp + 0xa4]
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
mov edx, dword [edx]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xdc]
push 0x118
mov ecx, esi
call edx
mov ebx, dword [esp + 0x14]
push 0
mov edi, esi
call fcn.10121d30
mov eax, dword [esi]
mov edx, dword [eax + 0xec]
lea ecx, [ebx + 0x18]
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xe4]
push eax
mov eax, dword [esp + 0x3c]
push 0x21
add ecx, 1
push ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x70], esi
mov byte [ebx + 0x74], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
push eax
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
xor edi, edi
push eax
mov dword [ebx + 0x70], edi
mov byte [ebx + 0x74], 0
mov dword [ebx + 0x78], 0xffffffff
mov dword [ebx + 0x7c], edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
call eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, edi
je 0x1011b548
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x1011b548
cmp dword [eax + esi*4], edi
je 0x1011b543
cmp eax, edi
je 0x1011b527
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x1011b531
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + esi*4]
push ecx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esi, 1
jmp 0x1011b506
cmp eax, edx
mov edi, edx
jbe 0x1011b55c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, edx
lea esi, [esp + 0x28]
mov ebx, eax
jbe 0x1011b56c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
push ebx
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x110]
push edx
mov ebx, eax
call fcn.10192a90
lea esi, [esp + 0x58]
call fcn.100ec840
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [eax + 0xac], ebx
jne 0x1011b621
cmp dword [esp + 0x1c], ebx
jne 0x1011b62b
mov byte [esp + 0x198], 0xa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1011b5c1
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x198], 9
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x1011b5e6
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x198], 5
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp eax, ebx
je 0x1011b60d
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x198], bl
lea eax, [esp + 0x124]
push eax
jmp 0x1011bdf9
cmp dword [esp + 0x1c], ebx
je 0x1011b9da
mov esi, dword [esp + 0x54]
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x94]
call fcn.100eacd0
cmp dword [esp + 0x94], 0
mov edi, dword [esi + 4]
je 0x1011b655
cmp dword [esp + 0x94], esi
je 0x1011b65b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x98]
cmp ebx, edi
jne 0x1011b8c4
mov esi, dword [esp + 0x40]
lea ebx, [esp + 0x1c]
lea eax, [esp + 0x8c]
call fcn.100eabb0
mov ebx, dword [esp + 0x8c]
test ebx, ebx
mov edi, dword [esi + 4]
je 0x1011b690
cmp ebx, esi
je 0x1011b696
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x90]
cmp esi, edi
je 0x1011b9d8
xor eax, eax
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], eax
mov word [esp + 0x10c], ax
mov byte [esp + 0x198], 0x12
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x108]
mov edx, edi
call fcn.1011fed0
test ebx, ebx
jne 0x1011b6e5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 4]
jne 0x1011b6f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp byte [esi + 0x14], 0
je 0x1011bbb6
call fcn.101a7380
mov esi, dword [eax + 0x20]
test esi, esi
mov dword [esp + 0x44], esi
je 0x1011b712
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0x198], 0x13
test esi, esi
je 0x1011b77c
mov edx, 0x1023cb34
lea eax, [esp + 0xb8]
call fcn.10007690
mov bl, 0x14
mov byte [esp + 0x198], bl
lea ecx, [esp + 0xb8]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x2c], esp
call eax
mov byte [esp + 0x1a0], 0x15
mov byte [esp + 0x1a0], bl
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0x198], 0x13
lea ecx, [esp + 0xb8]
call fcn.10001dd0
mov byte [esp + 0x198], 0x12
test esi, esi
je 0x1011b791
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
sub esp, 0x1c
lea ecx, [esp + 0x124]
mov esi, esp
mov dword [esp + 0x60], esp
push ecx
call fcn.100076d0
mov byte [esp + 0x1b4], 0x16
push 0
push 0
lea esi, [esp + 0xb0]
call fcn.10155650
mov edx, dword [eax + 4]
push edx
push ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], ecx
je 0x1011b7dc
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1c4], 0x17
push ecx
mov ecx, dword [edi + 0xa4]
test ecx, ecx
mov eax, esp
mov dword [esp + 0xb0], esp
mov dword [eax], ecx
je 0x1011b800
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1c8], 0x18
push ecx
mov ecx, dword [edi + 0x9c]
test ecx, ecx
mov eax, esp
mov dword [esp + 0xbc], esp
mov dword [eax], ecx
je 0x1011b824
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1cc], 0x19
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xf0]
push ecx
mov byte [esp + 0x1d0], 0x12
call fcn.100ee890
movzx edx, al
add esp, 0x38
mov dword [esp + 0x20], edx
mov byte [esp + 0x198], 0xb
lea ecx, [esp + 0x108]
call fcn.10001dd0
mov byte [esp + 0x198], 0xa
lea esi, [esp + 0x28]
call fcn.100a0ee0
mov byte [esp + 0x198], 9
lea esi, [esp + 0x58]
call fcn.100a0ee0
mov byte [esp + 0x198], 6
call fcn.101aa830
mov byte [esp + 0x198], 5
lea esi, [esp + 0x4c]
call fcn.10112490
mov byte [esp + 0x198], 1
call fcn.101aa830
mov byte [esp + 0x198], 0
lea eax, [esp + 0x124]
push eax
jmp 0x1011bdf9
call fcn.101a7380
mov esi, dword [eax + 0x20]
test esi, esi
mov dword [esp + 0x44], esi
je 0x1011b8dc
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0x198], 0x21
test esi, esi
je 0x1011b946
mov edx, 0x1023cb2c
lea eax, [esp + 0xb8]
call fcn.10007690
mov byte [esp + 0x198], 0x22
lea ecx, [esp + 0xb8]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x2c], esp
call eax
mov byte [esp + 0x1a0], 0x23
mov byte [esp + 0x1a0], 0x22
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0x198], 0x21
lea ecx, [esp + 0xb8]
call fcn.10001dd0
mov byte [esp + 0x198], 0xb
test esi, esi
je 0x1011b95b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
push 0x60
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x198], 0x24
test eax, eax
je 0x1011b97f
push eax
call fcn.1006bd00
mov esi, eax
jmp 0x1011b981
xor esi, esi
mov byte [esp + 0x198], 0xb
mov edi, dword [esp + 0x94]
test edi, edi
jne 0x1011b99a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [edi + 4]
jne 0x1011b9a5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push 0xffffffffffffffff
lea eax, [ebx + 0x1c]
push 0
lea ecx, [esi + 0xc]
call fcn.10007880
cmp ebx, dword [edi + 4]
jne 0x1011b9bf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x68]
mov ecx, dword [ebx + 0x14]
push esi
push 4
push 0x80e
push edx
mov dword [esi + 4], ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xac], ebx
je 0x1011bd81
mov byte [esp + 0x198], 0xa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1011ba03
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x198], 9
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x1011ba28
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x198], 5
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp eax, ebx
je 0x1011ba4f
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x198], bl
lea edx, [esp + 0x124]
push edx
call fcn.10007e40
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x14]
jmp 0x1011aef1
call fcn.101a7380
mov edi, dword [eax + 0x20]
cmp edi, esi
mov dword [esp + 0x44], edi
je 0x1011ba88
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov byte [esp + 0x198], 2
cmp edi, esi
je 0x1011bb1e
mov edx, 0x1023cb2c
lea eax, [esp + 0x108]
call fcn.10007690
mov bl, 3
mov byte [esp + 0x198], bl
lea eax, [esp + 0x108]
push eax
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
mov dword [esp + 0x2c], esp
call eax
mov byte [esp + 0x1a0], 4
mov byte [esp + 0x1a0], bl
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0x198], 2
cmp dword [esp + 0x120], 8
jb 0x1011bb04
mov ecx, dword [esp + 0x10c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x120], 7
mov dword [esp + 0x11c], esi
mov word [esp + 0x10c], si
mov byte [esp + 0x198], 1
cmp edi, esi
je 0x1011bb33
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x8c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x124]
push eax
call edx
mov dword [esp + 0x20], esi
mov byte [esp + 0x198], 0
lea eax, [esp + 0x124]
push eax
jmp 0x1011bdf9
mov dword [esp + 0x20], esi
mov byte [esp + 0x198], 0
jmp 0x1011bdf1
mov dword [esp + 0x20], 0
mov byte [esp + 0x198], 0
lea edx, [esp + 0x124]
push edx
jmp 0x1011bdf9
lea esi, [esp + 0x18]
call fcn.10050270
mov byte [esp + 0x198], 1
call fcn.101aa830
mov byte [esp + 0x198], 0
jmp 0x1011bdf1
call fcn.101a7380
mov esi, dword [eax + 0x20]
test esi, esi
mov dword [esp + 0x44], esi
je 0x1011bbce
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov byte [esp + 0x198], 0x1a
test esi, esi
je 0x1011bc38
mov edx, 0x1023cb3c
lea eax, [esp + 0xb8]
call fcn.10007690
mov bl, 0x1b
mov byte [esp + 0x198], bl
lea ecx, [esp + 0xb8]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x2c], esp
call eax
mov byte [esp + 0x1a0], 0x1c
mov byte [esp + 0x1a0], bl
call fcn.1001aeb0
add esp, 8
mov byte [esp + 0x198], 0x1a
lea ecx, [esp + 0xb8]
call fcn.10001dd0
mov byte [esp + 0x198], 0x12
test esi, esi
je 0x1011bc4d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
sub esp, 0x1c
lea ecx, [esp + 0x124]
mov esi, esp
mov dword [esp + 0x60], esp
push ecx
call fcn.100076d0
mov byte [esp + 0x1b4], 0x1d
lea esi, [esp + 0xa8]
xor ebx, ebx
xor edi, edi
call fcn.10155650
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x30]
push edx
push ecx
mov ecx, dword [esi + 0x104]
test ecx, ecx
mov eax, esp
mov dword [esp + 0x48], esp
mov dword [eax], ecx
je 0x1011bc9c
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1bc], 0x1e
push ecx
mov ecx, dword [esi + 0xa4]
test ecx, ecx
mov eax, esp
mov dword [esp + 0xa8], esp
mov dword [eax], ecx
je 0x1011bcc0
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1c0], 0x1f
push ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
mov eax, esp
mov dword [esp + 0xb4], esp
mov dword [eax], ecx
je 0x1011bce4
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov byte [esp + 0x1c4], 0x20
mov eax, dword [esi + 0xf0]
push eax
mov byte [esp + 0x1c8], 0x12
mov edx, ebx
mov ecx, edi
call fcn.100ef4f0
movzx ecx, al
add esp, 0x30
mov dword [esp + 0x20], ecx
mov byte [esp + 0x198], 0xb
lea ecx, [esp + 0x108]
call fcn.10001dd0
mov byte [esp + 0x198], 0xa
lea esi, [esp + 0x28]
call fcn.100a0ee0
mov byte [esp + 0x198], 9
lea esi, [esp + 0x58]
call fcn.100a0ee0
mov byte [esp + 0x198], 6
call fcn.101aa830
mov byte [esp + 0x198], 5
lea esi, [esp + 0x4c]
call fcn.10112490
mov byte [esp + 0x198], 1
call fcn.101aa830
mov byte [esp + 0x198], 0
lea edx, [esp + 0x124]
push edx
jmp 0x1011bdf9
mov dword [esp + 0x20], ebx
mov byte [esp + 0x198], 0xa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1011bd9e
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x198], 9
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x1011bdc3
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x198], 5
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp eax, ebx
je 0x1011bdea
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x198], bl
lea ecx, [esp + 0x124]
push ecx
call fcn.10007e40
mov edi, dword [esp + 0x14]
mov edi, dword [edi + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x1011be33
mov edx, dword [eax]
mov edx, dword [edx + 0x264]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1011be33
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0xffffffffffffffff
push 0
push eax
call edx
mov dword [esp + 0x198], 0xffffffff
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1011be4d
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 0xc