Function at 0x49c640
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64200b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push edi
mov dword [ebp - 0x34], ebx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], esp
push 0x47a
push eax
mov dword [ebp - 4], 0
call esi
push eax
lea ecx, [ebx + 0x48]
call fcn.00626578
mov ecx, dword [ebx + 0x10]
push 0x49b
push ecx
call esi
push eax
lea ecx, [ebx + 0x84]
call fcn.00626578
mov edx, dword [ebx + 0x10]
push edx
call fcn.00623b6b
push 2
mov ecx, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 2
call fcn.0062325c
mov eax, dword [eax + 0x1c]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.00623b6b
push 0x486
mov ecx, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 0x486
call fcn.0062325c
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x2c], edx
mov eax, dword [ebx + 0x10]
push eax
call fcn.00623b6b
push 0x49a
mov ecx, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0x49a
call fcn.0062325c
mov ecx, dword [eax + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebx + 0x3c], ecx
mov edx, dword [ebx + 0x7cc]
mov eax, dword [ebx + 0x10]
push edx
push 1
push 0x80
push eax
call esi
mov ecx, dword [ebx + 0x7cc]
mov edx, dword [ebx + 0x10]
push ecx
push 0
push 0x80
push edx
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ebx + 0x10]
push eax
push ecx
push edx
lea ecx, [ebx + 0xc0]
call fcn.00499b30
mov eax, dword [0x6fca98]
test eax, eax
je 0x49c771
mov eax, dword [ebx + 0x10]
mov ecx, 0x6fca58
push eax
call fcn.004f7410
mov eax, dword [0x6fca98]
mov byte [ebp - 4], 1
test eax, eax
je 0x49c817
lea esi, [ebx + 0x750]
mov ecx, 0x6fca58
push esi
push 0x16b
call fcn.004f7240
test eax, eax
mov edi, 8
je 0x49c7b7
mov eax, dword [ebx + 0x400]
or eax, edi
mov dword [ebx + 0x400], eax
mov esi, dword [esi]
mov dword [ebx + 0x410], esi
lea esi, [ebx + 0x754]
mov ecx, 0x6fca58
push esi
push 0x16c
call fcn.004f7240
test eax, eax
je 0x49c7e7
mov eax, dword [ebx + 0x520]
mov esi, dword [esi]
or eax, edi
mov dword [ebx + 0x530], esi
mov dword [ebx + 0x520], eax
lea esi, [ebx + 0x758]
mov ecx, 0x6fca58
push esi
push 0x16d
call fcn.004f7240
test eax, eax
je 0x49c817
mov eax, dword [ebx + 0x670]
mov esi, dword [esi]
or eax, edi
mov dword [ebx + 0x680], esi
mov dword [ebx + 0x670], eax
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx]
mov dword [ebx + 0x58c], ecx
mov dword [ebx + 0x6dc], ecx
lea ecx, [ebx + 0x610]
mov dword [ebx + 0x588], eax
mov dword [ebx + 0x42c], eax
mov dword [ebx + 0x6d8], eax
mov dword [ebx + 0x438], ecx
jmp 0x49c851
mov edx, dword [ebx + 0x10]
push 0
push 0
push 0x31
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.006296f3
test eax, eax
je 0x49c906
mov edx, dword [eax + 4]
lea ecx, [ebp - 0xcc]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x49c906
mov edi, 0x6cf0cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
test eax, eax
mov dword [ebx + 0xa24], eax
je 0x49c906
mov edx, dword [ebx + 0x10]
push 1
push eax
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call edi
mov esi, eax
test esi, esi
je 0x49c906
mov ecx, dword [ebx + 0xa24]
push 1
push ecx
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push esi
jmp 0x49c8e7
mov edx, dword [ebx + 0x10]
push edx
call fcn.00623b6b
lea esi, [ebx + 0x760]
push 1
push eax
mov ecx, esi
call fcn.0061fe9d
push 0xac
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x49c955
mov eax, dword [0x6fd69c]
mov edx, dword [ebx + 0x10]
push 0x11f
push 0x3e8
push eax
push esi
push edx
call fcn.00557240
jmp 0x49c957
xor eax, eax
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x7bc], eax
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x114]
mov esi, dword [ebp - 0x11c]
mov eax, dword [ebx + 0x10]
sub edx, esi
push 0x499
push eax
mov dword [ebx + 0x7c0], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
mov dword [ebp - 0x38], edi
je 0x49ccc9
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xbeb4be
push 0
push 0x1001
push edi
call esi
push 0xbeb4be
push 0
push 0x1026
push edi
call esi
mov eax, dword [0x6fcacc]
test eax, eax
je 0x49c9e1
push 0x10000
push 0x10000
push 0x1036
push edi
call esi
push 0
mov dword [ebp - 0x40], 0x60
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x49ca12
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [ebp - 0x40], eax
call edi
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
push 0x1e
call edi
mov edx, dword [ebp - 0x40]
push 0x60
mov esi, eax
push edx
push 0x64
mov dword [ebp - 0x24], esi
call edi
mov dword [ebp - 0x20], eax
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0xac]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x18], ax
mov eax, dword [0x6fca90]
mov esi, dword [0x6fd9e4]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], eax
call fcn.00401070
test esi, esi
je 0x49cad7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49cad7
mov ecx, dword [ebp - 0x28]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x49cad7
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x49cae6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cae6
mov dword [ebp - 0xa4], eax
jmp 0x49caf2
lea eax, [ebp - 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00609a4e
mov edx, dword [ebp - 0x38]
add esp, 4
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], eax
push ecx
push 0
push 0x1061
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x6fca90]
mov eax, dword [ebp - 0x20]
mov esi, dword [0x6fd9e0]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x9c], 1
call fcn.00401070
test esi, esi
je 0x49cb94
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49cb94
mov edi, dword [ebp - 0x28]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x49cb94
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x49cba3
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cba3
mov dword [ebp - 0xa4], eax
jmp 0x49cbaf
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x18]
mov dword [ebp - 0xa4], edx
push eax
call fcn.00609a4e
mov esi, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
push 1
push 0x1061
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x68]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x40]
push 0x60
push edx
push 0x1b
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebp - 0x24]
sub ecx, esi
mov esi, dword [0x6fd9dc]
sub ecx, edx
mov edx, dword [0x6fca90]
sub ecx, eax
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0x24], edx
call fcn.00401070
test esi, esi
je 0x49cc7b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x49cc7b
mov edi, dword [ebp - 0x24]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x49cc7b
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x49cc8a
mov ecx, dword [ebp - 0x14]
push ecx
push eax
push 0xffffffffffffffff
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49cc8a
mov dword [ebp - 0xa4], eax
jmp 0x49cc96
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x18]
mov dword [ebp - 0xa4], edx
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
push eax
push 2
push 0x1061
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
xor esi, esi
xor edi, edi
cmp edi, 0x20
jge 0x49ccf9
push edi
mov ecx, ebx
call fcn.0049bb70
mov dword [ebx + edi*8 + 0x800], esi
mov dword [ebx + edi*8 + 0x804], esi
mov dword [ebx + edi*8 + 0x900], esi
mov dword [ebx + edi*8 + 0x904], esi
inc edi
jmp 0x49cccd
mov edx, dword [ebx + 0x64]
push 0x4000000
push esi
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebx]
add edx, 0x20
mov ecx, ebx
push edx
call fcn.0049d600
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x49cdb3
cmp eax, 5
je 0x49cdb3
mov edx, dword [ecx + 0x31c]
cmp edx, esi
je 0x49cd53
fld qword [ecx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
je 0x49cdb3
mov edi, dword [ecx + 0x4a8]
lea eax, [ecx + 0x4a8]
or edi, dword [eax + 4]
je 0x49cd71
cmp edx, 0x20
je 0x49cd71
push eax
push 0x1473
jmp 0x49cde2
cmp dword [ecx + 0x114], esi
jl 0x49cde9
jg 0x49cd83
cmp dword [ecx + 0x110], esi
jbe 0x49cde9
mov edx, dword [ecx + 0x114]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ecx + 0x110]
push edx
push eax
mov ecx, ebx
call fcn.0049e8c0
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebx + 0x3a0]
call fcn.00493400
jmp 0x49cde9
fld qword [ecx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
je 0x49cddc
mov eax, dword [ecx + 0x3cc]
add ecx, 0x3c8
cmp eax, esi
jl 0x49cde9
jg 0x49cddc
cmp dword [ecx], esi
jbe 0x49cde9
push esi
push 0x146d
mov ecx, ebx
call fcn.0049d670
mov eax, dword [ebx]
mov edx, dword [eax + 0x4b0]
mov ecx, dword [eax + 0x4b4]
or edx, ecx
je 0x49ce28
mov ecx, dword [eax + 0x4a8]
mov dword [ebp - 0x70], ecx
mov edx, dword [eax + 0x4ac]
mov dword [ebp - 0x6c], edx
mov ecx, dword [eax + 0x4b0]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax + 0x4b4]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], esi
push eax
jmp 0x49ce7f
mov ecx, dword [eax + 0x8f8]
cmp ecx, esi
je 0x49ce8b
mov edx, dword [ecx + 0xc8]
mov edi, dword [ecx + 0xcc]
add ecx, 0xc8
or edx, edi
je 0x49ce8b
mov ecx, dword [eax + 0x8f8]
mov edx, dword [ecx + 0xd0]
mov dword [ebp - 0x70], edx
mov ecx, dword [ecx + 0xd4]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 0x8f8]
mov eax, dword [edx + 0xc8]
mov dword [ebp - 0x68], eax
mov ecx, dword [edx + 0xcc]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], esi
push edx
push 0x1471
mov ecx, ebx
call fcn.0049d670
mov eax, dword [ebx + 0x2c]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push esi
push eax
call edi
mov eax, dword [ebx]
mov ecx, dword [eax + 0x8f8]
cmp ecx, esi
je 0x49cf69
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [ebx]
lea esi, [ebx + 0x3a0]
mov ecx, dword [eax + 0x8f8]
mov eax, dword [ecx + 0x130]
mov ecx, esi
push eax
call fcn.00493820
mov eax, dword [ebx]
mov edx, dword [eax + 0x8f8]
cmp dword [edx + 0x134], 1
jne 0x49cef6
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x49cee8
mov eax, dword [ebx + 0x2c]
push 1
push eax
call edi
mov ecx, dword [0x6fd9d8]
push ecx
mov ecx, esi
call fcn.00493300
mov edx, dword [ebx]
mov eax, dword [edx + 0x8f8]
cmp dword [eax + 0x134], 2
jne 0x49cf15
mov ecx, dword [0x6fd9d4]
push ecx
mov ecx, esi
call fcn.00493300
mov eax, dword [ebx]
mov edx, dword [eax + 0x8f8]
mov ecx, dword [edx + 0x178]
test ecx, ecx
jne 0x49cf31
mov cl, byte [eax + 0x330]
test cl, cl
je 0x49cf3f
push 0
push 0x1492
mov ecx, ebx
call fcn.0049d670
xor esi, esi
mov eax, dword [ebx]
cmp dword [eax + 0x314], 4
jne 0x49cf85
mov cl, byte [eax + 0x322]
test cl, cl
je 0x49cf85
mov ecx, dword [eax + 0x318]
cmp ecx, esi
je 0x49cf85
lea esi, [ebx + 0x7e4]
push esi
jmp 0x49cf8e
cmp dword [eax + 0x8fc], 5
jne 0x49cf41
mov eax, dword [0x6fde84]
lea ecx, [ebx + 0x3a0]
push eax
call fcn.00493820
jmp 0x49cf41
lea esi, [ebx + 0x7e4]
mov ecx, eax
push esi
call fcn.005d7b20
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
jne 0x49cf9e
lea eax, [esi + 4]
push eax
call fcn.00609a4e
add esp, 4
cmp eax, 0x28
jbe 0x49d1dd
mov eax, dword [esi]
cmp eax, edi
jne 0x49cfb9
lea eax, [esi + 4]
push 0x24
lea ecx, [ebp - 0xe0]
push eax
push ecx
call fcn.0060b587
add esp, 0xc
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x98], di
push edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
call fcn.00401f20
mov eax, 0x6d1178
mov byte [ebp - 4], 5
test eax, eax
je 0x49d07d
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d07d
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x49d01b
push eax
call fcn.00609a4e
add esp, 4
mov edi, eax
push 0x6d1178
call fcn.00609a4e
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
je 0x49d07d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49d058
push eax
push edi
call fcn.00609a95
push 0x6d1178
push edi
call fcn.00609a6b
add esp, 0x10
jmp 0x49d066
push 0x6d1178
push edi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push edi
mov dword [ebp - 0x1c], edi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
test eax, eax
jne 0x49d086
lea eax, [esi + 4]
push 0x2e
push eax
call fcn.00609ba3
mov esi, eax
add esp, 8
test esi, esi
je 0x49d115
add esi, 2
je 0x49d115
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d115
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49d0bd
push eax
call fcn.00609a4e
add esp, 4
mov edi, eax
jmp 0x49d0bf
xor edi, edi
push esi
call fcn.00609a4e
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
je 0x49d115
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49d0f4
push eax
push edi
call fcn.00609a95
push esi
push edi
call fcn.00609a6b
add esp, 0x10
jmp 0x49d0fe
push esi
push edi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00401070
push edi
mov dword [ebp - 0x1c], edi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x49d123
lea edi, [ebp - 0x18]
test edi, edi
je 0x49d185
mov eax, dword [ebx + 0x7e4]
lea esi, [ebx + 0x7e4]
test eax, eax
je 0x49d185
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d185
mov eax, dword [esi]
cmp eax, edi
ja 0x49d185
push eax
call fcn.00609a4e
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x49d185
push edi
lea ecx, [ebp - 0x44]
call fcn.00401ee0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 6
test eax, eax
jne 0x49d16f
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00401f20
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
jmp 0x49d1d1
lea esi, [ebx + 0x7e4]
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x49d1d1
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d1d1
push edi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x49d1d1
push edi
call fcn.00609a4e
mov ecx, dword [esi]
push edi
push ecx
mov dword [esi + 8], eax
call fcn.00609a95
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov esi, dword [ebx + 0x7e4]
test esi, esi
jne 0x49d1ed
lea esi, [ebx + 0x7e8]
test esi, esi
lea edi, [ebx + 0x7f0]
je 0x49d25a
cmp dword [edi], 0
je 0x49d25a
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d25a
mov eax, dword [edi]
cmp eax, esi
ja 0x49d25a
push eax
call fcn.00609a4e
mov edx, dword [edi]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x49d25a
xor eax, eax
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x18], ax
call fcn.00401f20
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test eax, eax
jne 0x49d244
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.00401f20
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x49d2a0
mov ecx, edi
call fcn.00401070
test esi, esi
je 0x49d2a0
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x49d2a0
push esi
call fcn.00609a4e
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x49d2a0
push esi
call fcn.00609a4e
mov edx, dword [edi]
push esi
push edx
mov dword [edi + 8], eax
call fcn.00609a95
add esp, 0xc
mov eax, dword [ebx + 0x14]
test eax, eax
mov eax, dword [edi]
je 0x49d2bd
test eax, eax
jne 0x49d2b0
lea eax, [edi + 4]
push eax
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x49d2e7
test eax, eax
jne 0x49d2c4
lea eax, [edi + 4]
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.00402850
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
add esp, 8
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x20]
call fcn.00622d8a
mov edx, dword [ebx + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x90]
push ecx
push edx
call esi
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ebp - 0x88]
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x58]
push eax
push ecx
sub edi, edx
call esi
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
sub edx, ecx
mov ecx, dword [ebx + 0x64]
lea eax, [ebp - 0x58]
add edx, edi
push eax
push ecx
mov dword [ebx + 0xa04], edx
call esi
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x58]
sub edx, ecx
mov ecx, dword [ebx + 0x10]
push eax
add edx, edi
push 0x499
push ecx
mov dword [ebx + 0xa08], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
sub edx, ecx
mov ecx, dword [ebp - 0x4c]
add edx, edi
mov dword [ebx + 0xa0c], edx
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp - 0x8c]
sub eax, ecx
sub edx, ecx
add edx, dword [ebp - 0x84]
mov ecx, dword [ebx + 0x2c]
add eax, 0x14
mov dword [ebx + 0xa18], eax
lea eax, [ebp - 0x80]
push eax
push ecx
mov dword [ebx + 0xa10], edx
call esi
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], edx
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x30]
mov eax, edi
sub eax, edx
mov dword [ebx + 0xa20], eax
add eax, 0x1e
mov dword [ebx + 0xa14], eax
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 0x58]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
sub edx, ecx
mov eax, dword [ebx + 0xa14]
mov ecx, dword [ebx + 0x1c]
add eax, edx
mov dword [ebx + 0xa14], eax
lea eax, [ebp - 0x80]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], edx
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x30]
mov ecx, ebx
sub edi, edx
mov dword [ebx + 0xa1c], edi
call fcn.0049bd90
test al, al
jne 0x49d42b
mov ecx, ebx
call fcn.0049ed20
jmp 0x49d460
mov eax, dword [0x6fcad8]
test eax, eax
je 0x49d460
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x48]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub edx, eax
push 0x20
push edx
mov edx, dword [ebp - 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x10]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [ebx + 0xa02], 0
mov eax, dword [0x6fcad0]
test eax, eax
je 0x49d4b8
mov eax, dword [ebx + 0x75c]
test eax, eax
je 0x49d4b8
mov edx, dword [ebx + 0x10]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x75c]
mov edx, dword [ebx + 0x10]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
jmp 0x49d4b8
mov cl, byte [ebx + 0xc]
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
sete al
pop ebx
mov esp, ebp
pop ebp
ret