Function at 0x416080
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x450bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x44], ecx
cmp ebp, ecx
je 0x4160b8
lea ecx, [ebp + 0x64]
lea edi, [ebp + 0x118]
mov eax, edi
call fcn.004123b0
mov eax, dword [ebp + 4]
push 0x3f6
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x154]
mov ebx, eax
call fcn.00411930
mov eax, 0x139
call fcn.00416cd0
mov eax, dword [ebp + 0x4dc]
cmp dword [eax - 8], 0
je 0x416106
mov esi, edi
mov dword [esp + 0x44], 0x14
call fcn.004173d0
lea edi, [ebp + 0x1e4]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.004123b0
mov ecx, dword [ebp + 4]
push 0x406
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x220]
mov ebx, eax
call fcn.00411930
mov eax, 0x13b
call fcn.00416cd0
mov ecx, 0xffffff
mov eax, edi
call fcn.004185a0
mov eax, dword [ebp + 0x4e0]
cmp dword [eax - 8], 0
je 0x41615b
mov esi, edi
call fcn.004173d0
mov edx, dword [ebp + 0x224]
mov esi, dword [esp + 0x44]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x1c
push 0x4c
push 0x71
push 0x126
push edx
add esi, 0x4c
call ebx
mov edx, dword [ebp + 0x158]
push 1
mov eax, 0x120
sub eax, esi
push 0x1c
mov ecx, 0x11f
sub ecx, eax
push ecx
push 0x71
push eax
push edx
call ebx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x20]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x224]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x4d0]
mov ecx, dword [eax - 8]
cmp ecx, edi
lea ebx, [ebp + 0x4d0]
jge 0x4161f4
or esi, 0xffffffff
jmp 0x416211
push str._n__
push eax
call fcn.00433f8e
add esp, 8
cmp eax, edi
jne 0x41620b
or esi, 0xffffffff
jmp 0x416211
sub eax, dword [ebx]
sar eax, 1
mov esi, eax
mov eax, dword [0x4674cc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
cmp esi, edi
mov byte [esp + 0x3c], 1
jle 0x416367
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00409d70
mov edi, eax
lea eax, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.00408d10
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x41627d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41627d
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
sub eax, esi
dec eax
test eax, eax
jle 0x4162dc
mov ecx, dword [ecx - 8]
lea eax, [esp + 0x18]
sub ecx, esi
push eax
dec ecx
push ebx
call fcn.0040d820
mov edi, eax
lea eax, [esp + 0x44]
mov byte [esp + 0x3c], 3
call fcn.00408d10
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x4162dc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4162dc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043406a
add esp, 4
mov esi, dword [esp + 0x44]
cmp dword [esi - 8], 0
jl 0x416372
push str._n__
push esi
call fcn.00433f8e
add esp, 8
test eax, eax
je 0x416372
sub eax, esi
sar eax, 1
test eax, eax
jle 0x416372
mov ecx, dword [esi - 8]
sub ecx, eax
dec ecx
test ecx, ecx
jle 0x416372
mov ecx, dword [esi - 8]
sub ecx, eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
dec ecx
push eax
call fcn.0040d820
mov edi, eax
lea eax, [esp + 0x44]
mov byte [esp + 0x3c], 4
call fcn.00408d10
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x416372
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416372
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043406a
add esp, 4
jmp 0x416372
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.00408d10
lea edi, [ebp + 0x37c]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.004123b0
mov eax, dword [ebp + 4]
push 0x408
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x3b8]
mov ebx, eax
call fcn.00411930
mov ecx, dword [ebp + 0x3bc]
push 4
push 0x28
push 0x11d
push 0x37
push 0x49
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
mov edi, dword [esp + 0x18]
call fcn.00418240
mov ecx, 0x707070
lea eax, [ebp + 0x37c]
call fcn.004185a0
lea edi, [ebp + 0x3ec]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.004123b0
xor edx, edx
call fcn.004123c0
mov edx, dword [ebp + 4]
push 0x40b
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x428]
mov ebx, eax
call fcn.00411930
mov eax, dword [ebp + 0x42c]
push 4
push 0x14
push 0x11d
push 0x50
push 0x49
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
mov edi, dword [esp + 0x48]
call fcn.00418240
mov ecx, 0x707070
lea eax, [ebp + 0x3ec]
call fcn.004185a0
mov ecx, dword [ebp + 0x42c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [ebp + 0x2b0]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.004123b0
mov edx, dword [ebp + 4]
push 0x407
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x2ec]
mov ebx, eax
call fcn.00411930
mov eax, 0x136
call fcn.00416cd0
mov ecx, dword [ebp + 0x2f0]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x20]
push 5
push 0
push 0
push 0
sub edx, dword [esp + 0x38]
mov eax, dword [ebp + 0x2f0]
add edx, dword [esp + 0x2c]
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp + 0x45c]
lea ecx, [ebp + 0x64]
call fcn.004123b0
mov ecx, dword [ebp + 4]
push 0x409
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea esi, [ebp + 0x498]
mov ebx, eax
call fcn.00411930
mov edx, dword [ebp + 0x49c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x44]
lea ecx, [eax - 0xc]
cmp ecx, 0x4674bc
je 0x416517
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416517
push esi
call fcn.0043406a
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4674bc
je 0x41653d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41653d
push esi
call fcn.0043406a
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4