Function at 0x40af70
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce5c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x5010c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xcc], esi
cmp dword [ebx + 0x1c], 0
mov ecx, dword [ebx + 0x18]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0xc8], ecx
jne 0x40b15f
cmp edi, 0xf
jne 0x40b02f
lea eax, [ebp - 0x98]
mov dword [ebp - 0xc4], 1
push eax
push dword [esi + 4]
lea edi, [esi - 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
sub esp, 0x10
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x90]
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push esi
mov ecx, edi
call fcn.0040cc10
lea eax, [ebp - 0x98]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 0x85
je 0x40bd81
cmp edi, 0x14
je 0x40bd81
cmp edi, 5
jne 0x40b107
cmp dword [esi + 0x2c], 0
lea edi, [esi - 0x34]
mov dword [ebp - 0xc4], 1
je 0x40b0d5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b0d5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b0d5
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [edi + 0x38]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x60]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x40b0d5
mov ecx, dword [edi + 0x60]
movups xmm0, xmmword [ebp - 0x34]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov ecx, dword [edi + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x54]
push 1
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [edi + 0xc4], 0
je 0x40b0f6
cmp dword [ebx + 0x10], 1
je 0x40b0f6
mov esi, dword [ebx + 0x14]
mov ecx, edi
mov eax, dword [edi]
movzx edx, si
shr esi, 0x10
push esi
push edx
call dword [eax + 0x68]
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 0x4e
je 0x40bd81
cmp edi, 0x215
jne 0x40b181
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040c6d0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
mov eax, ecx
mov dword [eax], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049fb4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
cmp edi, 1
jne 0x40b243
add esi, 0xffffffcc
mov dword [ebp - 0xc4], 0
cmp dword [esi + 0x60], 0
jne 0x40b20a
push 0x150
call fcn.0049f7ce
add esp, 4
mov dword [ebp - 0xcc], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00405120
mov edi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x60], edi
je 0x40b1e6
test edi, edi
je 0x40b1d6
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov eax, dword [esi + 0x60]
mov dword [esi + 0x60], edi
test eax, eax
je 0x40b1e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x40b20a
mov eax, dword [ecx]
push esi
call dword [eax + 0x94]
mov ecx, dword [esi + 0x60]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, esi
call fcn.0040c960
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x40b0f6
mov eax, dword [ecx]
push esi
call dword [eax + 0x94]
mov ecx, dword [esi + 0x60]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov ecx, esi
call fcn.0040c960
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 2
jne 0x40b26d
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d840
jmp 0x40b138
cmp edi, 0x5f5
jne 0x40b298
lea ecx, [esi - 0x34]
mov dword [ebp - 0xc4], 1
call fcn.0040c960
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 0x200
jne 0x40b2c5
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040cdc0
jmp 0x40b4ce
cmp edi, 0xa0
jne 0x40b314
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040cdc0
mov ecx, dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], 0
mov dword [ecx], eax
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
lea eax, [edi - 0x2b]
jmp 0x40bc8a
cmp edi, 0x2a3
jne 0x40b341
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d5d0
jmp 0x40b138
cmp edi, 0x2a2
jne 0x40b36e
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d5d0
jmp 0x40b138
cmp edi, 0x20a
jne 0x40b39b
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d620
jmp 0x40b4ce
cmp edi, 0x201
jne 0x40b3c8
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d030
jmp 0x40b4ce
cmp edi, 0x204
jne 0x40b3f5
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040e0c0
jmp 0x40b4ce
cmp edi, 0x205
jne 0x40b422
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040e330
jmp 0x40b4ce
cmp edi, 0xa4
jne 0x40b44f
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040e5c0
jmp 0x40b2ed
cmp edi, 0xa5
jne 0x40b47c
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040e800
jmp 0x40b2ed
cmp edi, 0x203
jne 0x40b4a6
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040de60
jmp 0x40b4ce
cmp edi, 0x202
jne 0x40b4f8
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d2a0
cmp dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
lea eax, [edi - 0x133]
jmp 0x40bd10
cmp edi, 0xa2
jne 0x40b525
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d2a0
jmp 0x40b2ed
cmp edi, 0x20
jne 0x40b69f
cmp dword [esi + 0x2c], 0
mov dword [ebp - 0xc4], 0
je 0x40b67b
mov edi, dword [esi + 0x30]
test edi, edi
je 0x40b5b6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b675
mov esi, dword [edi + 0xbc]
mov edx, dword [ebx + 0x14]
cmp esi, dword [edi + 0xc0]
je 0x40b599
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x40b58e
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
mov edx, dword [ebx + 0x14]
push edx
push dword [ebx + 0x10]
push 0x20
push edi
call dword [eax]
mov edx, dword [ebx + 0x14]
add esi, 4
cmp esi, dword [edi + 0xc0]
jne 0x40b570
mov eax, dword [edi]
lea ecx, [ebp - 0xc4]
push ecx
push edx
push dword [ebx + 0x10]
mov ecx, edi
push 0x20
push edi
call dword [eax + 0xc0]
jmp 0x40b675
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 2
push eax
push dword [ebp - 0x18]
lea ecx, [esi - 0x34]
push dword [ebp - 0x1c]
call fcn.0040ca50
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x40b664
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x40b664
mov edi, dword [esi + 0xbc]
mov edx, dword [ebx + 0x14]
cmp edi, dword [esi + 0xc0]
je 0x40b64c
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x40b641
mov eax, dword [ecx]
lea esi, [ebp - 0xc4]
push esi
mov esi, dword [ebp - 0xcc]
push edx
push dword [ebx + 0x10]
push 0x20
push esi
call dword [eax]
mov edx, dword [ebx + 0x14]
add edi, 4
cmp edi, dword [esi + 0xc0]
jne 0x40b620
mov eax, dword [esi]
lea ecx, [ebp - 0xc4]
push ecx
push edx
push dword [ebx + 0x10]
mov ecx, esi
push 0x20
push esi
call dword [eax + 0xc0]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40b675
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc8]
cmp dword [ebp - 0xc4], 0
mov dword [ecx], 0
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc8]
jmp 0x40b159
cmp edi, 0x84
jne 0x40b6cc
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 1
push eax
push dword [ebx + 0x14]
lea ecx, [esi - 0x34]
push dword [ebx + 0x10]
push edi
call fcn.0040d9a0
jmp 0x40b2ed
cmp edi, 0x83
je 0x40bd81
cmp edi, 0x86
jne 0x40b6f0
mov dword [ecx], 1
mov eax, 1
jmp 0x40b161
cmp edi, 0x100
jne 0x40b740
mov edx, dword [esi + 0x2c]
mov eax, 1
mov dword [ebp - 0xc4], eax
test edx, edx
je 0x40b735
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push edx
call fcn.0040dc70
mov ecx, dword [ebp - 0xc8]
mov edx, eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov dword [ecx], edx
jmp 0x40b2fc
xor edx, edx
test eax, eax
mov dword [ecx], edx
jmp 0x40b2fc
cmp edi, 0x101
jne 0x40b785
mov edx, dword [esi + 0x2c]
mov eax, 1
mov dword [ebp - 0xc4], eax
test edx, edx
je 0x40b735
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push edx
call fcn.0040dc70
mov ecx, dword [ebp - 0xc8]
mov edx, eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov dword [ecx], edx
jmp 0x40b2fc
cmp edi, 0x102
jne 0x40b7ca
mov edx, dword [esi + 0x2c]
mov eax, 1
mov dword [ebp - 0xc4], eax
test edx, edx
je 0x40b735
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push edx
call fcn.0040dc70
mov ecx, dword [ebp - 0xc8]
mov edx, eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov dword [ecx], edx
jmp 0x40b2fc
cmp edi, 0x104
jne 0x40b813
mov edx, dword [esi + 0x2c]
mov eax, 1
mov dword [ebp - 0xc4], eax
test edx, edx
je 0x40b735
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push edx
call fcn.0040dc70
mov ecx, dword [ebp - 0xc8]
mov edx, eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov dword [ecx], edx
jmp 0x40b2fc
cmp edi, 0x18
jne 0x40b8ae
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 0x10]
test ecx, ecx
je 0x40b82f
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
cmp dword [esi + 0xb8], 0
mov dword [ebp - 0xc4], 0
je 0x40b0f6
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x40b0f6
mov eax, dword [eax + 0x38]
test edi, edi
je 0x40b875
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
test eax, eax
je 0x40b0f6
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 0x47
jne 0x40b9b7
mov edx, dword [esi + 0x2c]
lea ecx, [esi - 0x34]
test edx, edx
je 0x40b8cb
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x24]
lea ecx, [esi - 0x34]
cmp dword [ecx + 0xec], 0
je 0x40b994
mov eax, dword [ecx + 0xe8]
test eax, eax
je 0x40b994
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b991
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40b980
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b980
mov eax, dword [esi + 0xb4]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi - 4]
push 5
call fcn.00424340
mov ecx, dword [esi - 4]
sub dword [ebp - 0x24], eax
push 3
call fcn.00424340
mov ecx, dword [esi - 4]
sub dword [ebp - 0x20], eax
push 5
call fcn.00424340
mov ecx, dword [esi - 4]
add dword [ebp - 0x1c], eax
push 7
call fcn.00424340
add dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
mov ecx, dword [esi + 0xb4]
push 1
push eax
add ecx, 0x38
call fcn.00410140
jmp 0x40b991
mov eax, dword [esi + 0xb4]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi - 0x34]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], 1
mov dword [eax], 0
lea eax, [edi - 0x2b]
jmp 0x40bc8a
cmp edi, 0x46
jne 0x40baee
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0xc4], 0
test edx, edx
jne 0x40b9e5
mov dword [ecx], edx
lea eax, [edi - 0x2b]
mov dword [ebp - 0xc4], 1
jmp 0x40bc8d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x40baac
mov esi, dword [ebx + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x80], 0x28
movups xmmword [ebp - 0x70], xmm0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
add eax, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edx
push eax
movq qword [ebp - 0x60], xmm0
call dword [sym.imp.USER32.dll_MonitorFromRect]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x34]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x54]
push eax
call esi
mov eax, dword [ebp - 0x78]
neg eax
push eax
mov eax, dword [ebp - 0x7c]
neg eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
mov edx, dword [ebx + 0x14]
test eax, eax
jne 0x40babd
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cmp dword [edx + 0x10], eax
jle 0x40ba96
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0xcc]
cmp dword [edx + 0x14], eax
jle 0x40bac3
mov dword [edx + 0x14], eax
jmp 0x40bac3
mov eax, dword [esi - 0x34]
lea ecx, [esi - 0x34]
push dword [ebx + 0x14]
call dword [eax + 0x54]
mov edx, dword [ebx + 0x14]
jmp 0x40bac3
mov esi, dword [ebp - 0xcc]
cmp dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
lea eax, [edi - 0x2b]
jmp 0x40bc8d
cmp edi, 0x24
jne 0x40bb97
push 1
push dword [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x40bb5e
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0xb8]
neg eax
push eax
mov eax, dword [ebp - 0xbc]
neg eax
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x40bb6e
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax], 0
jmp 0x40bbf6
cmp edi, 0xf48
jne 0x40bc12
mov esi, dword [ebx + 0x10]
xor edi, edi
mov dword [ebp - 0xc4], 1
test esi, esi
jne 0x40bbbc
mov dword [ecx], edi
lea eax, [edi + 1]
jmp 0x40b161
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40bbe0
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
push dword [ebx + 0x14]
push dword [esi + 8]
mov eax, dword [eax + 0xc0]
push dword [esi + 4]
push ecx
call eax
mov edi, eax
cmp dword [esi + 0x10], 0
je 0x40bbee
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov eax, dword [ebp - 0xc8]
mov dword [eax], edi
cmp dword [ebp - 0xc4], 0
jne 0x40b6e6
mov dword [ebp - 0xc4], 1
jmp 0x40b159
cmp edi, 0x2e0
je 0x40bd81
mov eax, 1
mov dword [ebp - 0xc4], eax
test edi, edi
jne 0x40bc6a
mov edx, dword [esi + 0x2c]
test edx, edx
je 0x40bc5f
lea eax, [ebp - 0xc4]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
push edx
call fcn.0040dc70
mov ecx, dword [ebp - 0xc8]
mov edx, eax
mov eax, dword [ebp - 0xc4]
test eax, eax
mov dword [ecx], edx
jmp 0x40b688
xor edx, edx
test eax, eax
mov dword [ecx], edx
jmp 0x40b688
cmp edi, 0x132
ja 0x40bcff
je case.0x40bd17.307
lea eax, [edi - 0x2b]
cmp eax, 0xea
ja case.default.0x40bd17
mov edx, dword [ebx + 0x14]
movzx eax, byte [eax + 0x40bdb4]
jmp dword [eax*4 + 0x40bd94]
test edx, edx
je case.0x40bd17.313
jmp case.0x40bc94.46
mov ecx, dword [edx]
jmp 0x40bd4e
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bd17.313
mov ecx, dword [edx + 0x14]
jmp 0x40bd51
cmp dword [ebx + 0x10], 0
je case.0x40bd17.313
push dword [edx + 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebx + 0x14]
mov ecx, eax
jmp 0x40bd4e
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bd17.313
mov ecx, dword [edx + 8]
jmp 0x40bd51
mov eax, dword [ebx + 0x10]
test eax, eax
je case.0x40bd17.313
mov ecx, dword [edx + 0xc]
jmp 0x40bd51
lea eax, [edi - 0x133]
cmp eax, 0xdd
ja case.default.0x40bd17
movzx eax, byte [eax + 0x40beac]
jmp dword [eax*4 + 0x40bea0]
mov eax, dword [ebx + 0x10]
movzx ecx, ax
sub ecx, 1
je 0x40bd42
sub ecx, 1
je 0x40bd42
shr eax, 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebx + 0x14]
mov ecx, eax
jmp 0x40bd4e
mov edx, dword [ebx + 0x14]
mov ecx, edx
jmp 0x40bd51
mov edx, dword [ebx + 0x14]
mov ecx, edx
mov eax, dword [ebx + 0x10]
test ecx, ecx
je case.0x40bd17.313
push edx
push eax
lea eax, [edi + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
xor eax, eax
cmp dword [ebp - 0xc4], eax
setne al
jmp 0x40b161
mov dword [ecx], 0
mov eax, 1
jmp 0x40b161