Function at 0x419380
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x46dbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4871a0]
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 0x4193b8
lea ecx, [ebp + 0x64]
lea edi, [ebp + 0x118]
mov eax, edi
call fcn.00414560
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.00413940
mov eax, 0x139
call fcn.00419fe0
mov eax, dword [ebp + 0x4dc]
cmp dword [eax - 8], 0
je 0x419406
mov esi, edi
mov dword [esp + 0x44], 0x14
call fcn.0041a6e0
lea edi, [ebp + 0x1e4]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.00414560
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.00413940
mov eax, 0x13b
call fcn.00419fe0
mov ecx, 0xffffff
mov eax, edi
call fcn.0041b770
mov eax, dword [ebp + 0x4e0]
cmp dword [eax - 8], 0
je 0x41945b
mov esi, edi
call fcn.0041a6e0
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 0x4194f4
or esi, 0xffffffff
jmp 0x419511
push str._n__
push eax
call fcn.004503b8
add esp, 8
cmp eax, edi
jne 0x41950b
or esi, 0xffffffff
jmp 0x419511
sub eax, dword [ebx]
sar eax, 1
mov esi, eax
mov eax, dword [0x48b9d0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
cmp esi, edi
mov byte [esp + 0x3c], 1
jle 0x419667
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040e020
mov edi, eax
lea eax, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.0040dec0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x41957d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41957d
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
sub eax, esi
dec eax
test eax, eax
jle 0x4195dc
mov ecx, dword [ecx - 8]
lea eax, [esp + 0x18]
sub ecx, esi
push eax
dec ecx
push ebx
call fcn.0040fca0
mov edi, eax
lea eax, [esp + 0x44]
mov byte [esp + 0x3c], 3
call fcn.0040dec0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x4195dc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4195dc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004501ef
add esp, 4
mov esi, dword [esp + 0x44]
cmp dword [esi - 8], 0
jl 0x419672
push str._n__
push esi
call fcn.004503b8
add esp, 8
test eax, eax
je 0x419672
sub eax, esi
sar eax, 1
test eax, eax
jle 0x419672
mov ecx, dword [esi - 8]
sub ecx, eax
dec ecx
test ecx, ecx
jle 0x419672
mov ecx, dword [esi - 8]
sub ecx, eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
dec ecx
push eax
call fcn.0040fca0
mov edi, eax
lea eax, [esp + 0x44]
mov byte [esp + 0x3c], 4
call fcn.0040dec0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x48b9c0
je 0x419672
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419672
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004501ef
add esp, 4
jmp 0x419672
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.0040dec0
lea edi, [ebp + 0x37c]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.00414560
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.00413940
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.0041b550
mov ecx, 0x707070
lea eax, [ebp + 0x37c]
call fcn.0041b770
lea edi, [ebp + 0x3ec]
lea ecx, [ebp + 0x64]
mov eax, edi
call fcn.00414560
xor edx, edx
call fcn.00414570
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.00413940
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.0041b550
mov ecx, 0x707070
lea eax, [ebp + 0x3ec]
call fcn.0041b770
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.00414560
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.00413940
mov eax, 0x136
call fcn.00419fe0
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.00414560
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.00413940
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, 0x48b9c0
je 0x419817
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419817
push esi
call fcn.004501ef
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x48b9c0
je 0x41983d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41983d
push esi
call fcn.004501ef
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