Function at 0x40ade0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456618
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x47106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
lea eax, [edi + 4]
push 0x3f9
push dword [eax]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1304
push eax
mov dword [edi + 0x20], eax
call esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0
push ecx
push eax
push 0x133e
push dword [edi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 1
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x64], str.General
call esi
push 0
push 0
push 0x1304
push dword [edi + 0x20]
call esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0
push ecx
push eax
push 0x133e
push dword [edi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 1
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x64], str.Style
call esi
push 0
push 0
push 0x1304
push dword [edi + 0x20]
call esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0
push ecx
push eax
push 0x133e
push dword [edi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 1
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x64], str.Default_Font
call esi
push 0
push 0
push 0x1304
push dword [edi + 0x20]
call esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0
push ecx
push eax
push 0x133e
push dword [edi + 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x70], 1
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x64], str.Color
call esi
push 0
push 0
push 0x1304
push dword [edi + 0x20]
call esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x70]
movlpd qword [ebp - 0x6c], xmm0
push ecx
push eax
push 0x133e
push dword [edi + 0x20]
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x64], str.Other
call esi
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0
push 0x1328
push dword [edi + 0x20]
movups xmmword [ebp - 0x30], xmm0
call esi
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xb0]
xorps xmm0, xmm0
push eax
push dword [edi + 0x20]
movlpd qword [ebp - 0xb0], xmm0
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0xb0]
push eax
push dword [edi + 4]
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xb0]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xac]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xb0]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xac]
add dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x44], eax
test ecx, ecx
jne 0x40b010
call fcn.0041efe7
mov ecx, eax
mov dword [edi + 0x38], ecx
test ecx, ecx
jne 0x40b010
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b07d
push 0
push 0
push ecx
call fcn.0041f0e9
lea eax, [edi + 0x24]
lea esi, [eax + 8]
test esi, esi
je 0x40c336
test eax, eax
je 0x40c336
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x471f00
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x471f18]
mov dword [esi + 8], eax
push 0x471f00
mov dword [0x471f18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x412900
push dword [ebp - 0x44]
push 0x9f
push dword [0x473f88]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
lea esi, [edi + 4]
mov eax, dword [esi]
lea esi, [edi + 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40b0a2
call fcn.0041efe7
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40b0a2
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b10f
push 0
push 0
push eax
call fcn.0041f0e9
lea eax, [esi + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40c336
test esi, esi
je 0x40c336
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0x44]
push 0x471f00
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x471f18]
mov dword [esi + 8], eax
push 0x471f00
mov dword [0x471f18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x412900
push dword [ebp - 0x4c]
push 0xa0
push dword [0x473f88]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [edi + 4]
lea esi, [edi + 0x9c]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40b138
call fcn.0041efe7
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40b138
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b1a5
push 0
push 0
push eax
call fcn.0041f0e9
lea eax, [esi + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40c336
test esi, esi
je 0x40c336
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0x44]
push 0x471f00
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x471f18]
mov dword [esi + 8], eax
push 0x471f00
mov dword [0x471f18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x412900
push dword [ebp - 0x4c]
push 0xa1
push dword [0x473f88]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [edi + 4]
lea esi, [edi + 0x104]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40b1ce
call fcn.0041efe7
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40b1ce
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b23b
push 0
push 0
push eax
call fcn.0041f0e9
lea eax, [esi + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x40c336
test esi, esi
je 0x40c336
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0x44]
push 0x471f00
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x471f18]
mov dword [esi + 8], eax
push 0x471f00
mov dword [0x471f18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x412900
push dword [ebp - 0x4c]
push 0xa3
push dword [0x473f88]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov eax, dword [edi + 4]
lea esi, [edi + 0x60c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40b264
call fcn.0041efe7
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40b264
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40b2cf
push 0
push 0
push eax
call fcn.0041f0e9
add esi, 8
je 0x40c336
lea eax, [edi + 0x60c]
test eax, eax
je 0x40c336
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x471f00
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x471f18]
mov dword [esi + 8], eax
push 0x471f00
mov dword [0x471f18], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x412900
push dword [ebp - 0x44]
push 0xa2
push dword [0x473f88]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub edx, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 0
push edx
push eax
push esi
push ecx
push dword [edi + 0x28]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
call edi
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub edx, esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push 0
push edx
sub eax, ecx
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x34]
push dword [ecx + 0x68]
call edi
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub edx, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 0
push edx
push eax
mov eax, dword [ebp - 0x34]
push esi
push ecx
push dword [eax + 0xa0]
call edi
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub edx, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 0
push edx
push eax
mov eax, dword [ebp - 0x34]
push esi
push ecx
push dword [eax + 0x108]
call edi
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub edx, esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 0
push edx
push eax
mov eax, dword [ebp - 0x34]
push esi
push ecx
push dword [eax + 0x610]
call edi
call fcn.00402120
mov ecx, eax
test ecx, ecx
je 0x40c342
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov edi, dword [ebp - 0x34]
lea edx, [ebp - 0x7c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 1
push edx
mov eax, dword [edi + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x220]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x44]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x80], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
push dword [ebp - 0x80]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x48]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0x84]
mov dword [ebp - 0x84], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x194]
push dword [ebp - 0x84]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x4c]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0x88]
mov dword [ebp - 0x88], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x17c]
push dword [ebp - 0x88]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x50]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1ac]
push dword [ebp - 0x8c]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x54]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1a4]
push dword [ebp - 0x90]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x58]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x19c]
push dword [ebp - 0xa4]
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x5c]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x13
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
movsx eax, word [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push 0x465e24
push eax
call fcn.004049e0
add esp, 0xc
push dword [ebp - 0x40]
push dword [edi + 0x60]
call esi
push 5
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push str.0___None
push 0
push 0x143
push dword [edi + 0x84]
call esi
push str.1___Flat
push 0
push 0x143
push dword [edi + 0x84]
call esi
push str.2___3D
push 0
push 0x143
push dword [edi + 0x84]
call esi
push str.3___Light3D
push 0
push 0x143
push dword [edi + 0x84]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xb4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 0
push dword [ebp - 0xb4]
push 0x14e
push dword [edi + 0x84]
call esi
push str.0___Flat
push 0
push 0x143
push dword [edi + 0x88]
call esi
push str.1___Light3D
push 0
push 0x143
push dword [edi + 0x88]
call esi
push str.2___VisualStyles
push 0
push 0x143
push dword [edi + 0x88]
call esi
push str.3___LinearGradient
push 0
push 0x143
push dword [edi + 0x88]
call esi
push str.4___Office365
push 0
push 0x143
push dword [edi + 0x88]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xb8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18c]
push 0
push dword [ebp - 0xb8]
push 0x14e
push dword [edi + 0x88]
call esi
push str.0___System
push 0
push 0x143
push dword [edi + 0x8c]
call esi
push str.1___Flat
push 0
push 0x143
push dword [edi + 0x8c]
call esi
push str.2___Light3D
push 0
push 0x143
push dword [edi + 0x8c]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xbc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x238]
push 0
push dword [ebp - 0xbc]
push 0x14e
push dword [edi + 0x8c]
call esi
push str.0___Solid
push 0
push 0x143
push dword [edi + 0x90]
call esi
push str.1___Dot
push 0
push 0x143
push dword [edi + 0x90]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20c]
push 0
push dword [ebp - 0xc0]
push 0x14e
push dword [edi + 0x90]
call esi
push str.0___YMD
push 0
push 0x143
push dword [edi + 0x94]
call esi
push str.1___MDY
push 0
push 0x143
push dword [edi + 0x94]
call esi
push str.2___DMY
push 0
push 0x143
push dword [edi + 0x94]
call esi
push str.3___System
push 0
push 0x143
push dword [edi + 0x94]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xc4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
push 0
push dword [ebp - 0xc4]
push 0x14e
push dword [edi + 0x94]
call esi
push str.0___HMS
push 0
push 0x143
push dword [edi + 0x98]
call esi
push str.1___HMSAMPM
push 0
push 0x143
push dword [edi + 0x98]
call esi
push str.2___HM
push 0
push 0x143
push dword [edi + 0x98]
call esi
push str.3___HMAMPM
push 0
push 0x143
push dword [edi + 0x98]
call esi
mov eax, dword [edi + 0x668]
lea edx, [ebp - 0xc8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x298]
push 0
push dword [ebp - 0xc8]
push 0x14e
push dword [edi + 0x98]
call esi
mov eax, dword [0x474f60]
xor ecx, ecx
mov edx, dword [0x474f5c]
sub eax, edx
mov dword [ebp - 0x50], ecx
sar eax, 2
test eax, eax
jle 0x40b8ae
nop dword [eax]
mov edx, dword [edx + ecx*4]
cmp dword [edx - 0xc], 0
jl 0x40c356
cmp word [edx], 0x40
je 0x40b896
push edx
push 0
push 0x143
push dword [edi + 0xbc]
call esi
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x474f60]
inc ecx
mov edx, dword [0x474f5c]
sub eax, edx
sar eax, 2
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40b870
push 0x466078
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x465e34
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x46607c
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x466080
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x466088
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x466090
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x466098
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660a0
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660a8
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660b0
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660b8
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660c0
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660c8
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660d0
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660d8
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660e0
push 0
push 0x143
push dword [edi + 0xc0]
call esi
push 0x4660e8
push 0
push 0x143
push dword [edi + 0xc0]
call esi
call fcn.00402120
mov ecx, eax
test ecx, ecx
je 0x40c34c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push 0x465834
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401d10
test al, al
jne 0x40ba42
push 6
push 0x465834
lea ecx, [ebp - 0x54]
call fcn.00401e30
mov byte [ebp - 4], 2
call fcn.00402120
mov ecx, eax
test ecx, ecx
je 0x40c360
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
push 0x465e34
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401d10
test al, al
jne 0x40ba86
push 1
push 0x465e34
lea ecx, [ebp - 0x50]
call fcn.00401e30
mov byte [ebp - 4], 4
lea edx, [ebp - 0xcc]
mov eax, dword [edi + 0x668]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xe8]
mov edx, dword [ebp - 0xcc]
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test edx, edx
je 0x40baf2
mov eax, dword [edx]
lea ecx, [ebp - 0x48]
push ecx
push 0x4664bc
push edx
call dword [eax]
mov ecx, dword [ebp - 0x48]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40bc50
mov eax, dword [ecx]
lea edx, [ebp - 0x44]
push edx
push ecx
call dword [eax + 0xc]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x4c]
call fcn.0041b9b0
mov byte [ebp - 4], 6
mov edx, dword [eax]
test edx, edx
je 0x40bb41
mov edx, dword [edx]
test edx, edx
je 0x40bb43
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bb30
sub ecx, esi
sar ecx, 1
jmp 0x40bb45
xor edx, edx
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00401e30
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x4c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x40bbaa
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40bba3
test esi, esi
je 0x40bba3
mov eax, dword [esi]
test eax, eax
je 0x40bb81
push eax
call edi
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40bb98
push eax
call fcn.004364db
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004360fb
add esp, 8
mov dword [ebp - 0x4c], 0
push dword [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0xe0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xe0]
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x468610]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4685b8]
movss dword [esp], xmm0
call fcn.0043e721
fstp dword [ebp - 0xd0]
cvttss2si eax, dword [ebp - 0xd0]
push eax
lea eax, [ebp - 0x50]
push 0x465e24
push eax
call fcn.004049e0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0xa8]
add esp, 0x10
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x98]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x34]
push edi
push 0
push 0x158
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x14e
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
push esi
push 0
push 0x158
push dword [eax + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
mov eax, dword [ebp - 0x34]
push 0x14e
push dword [eax + 0xc0]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebp - 0xa8], eax
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0xc4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebp - 0x94], eax
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebp - 0x98], eax
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0xcc]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebp - 0x9c], eax
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0xd0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x124]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + 0x184]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x1e4]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x244]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x2a4]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x304]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x364]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x3c4]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x424]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x668]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x184]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x484]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b4]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x4e4]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x228]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x544]
call fcn.00404210
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x240]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x3c]
lea ecx, [ecx + 0x5a4]
call fcn.00404210
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x74]
push edx
mov dword [ebp - 0x74], 0
push 0
mov eax, dword [eax + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2dc]
mov ecx, dword [ebp - 0x74]
or edx, 0xffffffff
mov dword [ebp - 0x38], edx
test ecx, ecx
je 0x40bf5f
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
call dword [eax + 0x34]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x38]
xor eax, eax
cmp dx, 0xffff
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x62c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x78], 0
push 0
mov eax, dword [eax + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c0]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x40bfb8
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
push ecx
call dword [eax + 0x74]
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x630]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
cmp dword [ebp - 0xd4], eax
push 0
setne al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x638]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x634]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x63c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x378]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x640]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x124]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x644]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x648]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x11c]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x64c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x650]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x170]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x654]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x360]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x658]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1e8]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x65c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x268]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x660]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x668]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x380]
xor eax, eax
cmp word [ebp - 0x38], 0xffff
push 0
sete al
push eax
mov eax, dword [ebp - 0x34]
push 0xf1
push dword [eax + 0x664]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [ebp - 0xd8]
call fcn.0041bae0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x40c2bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c2da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40c2f5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40c314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004360ea
mov esp, ebp
pop ebp
ret 0x10
push 1
push 0xc0000005
call fcn.00402840
push 0x80004005
call fcn.004028d0
push 0x80004005
call fcn.004028d0
push 0x80070057
call fcn.004028d0
push 0x80004005
call fcn.004028d0
int3