Function at 0x40c920
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x2240
call fcn.00424d30
mov eax, dword [0x449238]
xor eax, esp
mov dword [esp + 0x223c], eax
mov eax, dword [esp + 0x2244]
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push 0xc20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], esi
call fcn.0041a184
push 0x43dbbc
push str.LookALF.cfg
mov dword [ebx + 0x4498], eax
call fcn.00424763
mov ebp, eax
add esp, 0xc
cmp ebp, esi
mov dword [esp + 0x24], ebp
je 0x40d0d2
push ebp
lea ecx, [esp + 0x24c]
push 0x7f8
push ecx
call fcn.004245de
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x258]
push str._2d_n
push eax
call fcn.004247e4
add esp, 0x18
cmp dword [ebx + 0x54], esi
je 0x40c9b8
mov dword [esp + 0x10], esi
push edi
push ebp
lea ecx, [esp + 0x250]
push 0x7f8
push ecx
call fcn.004245de
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x20
ja 0x40cffc
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x40cd4d
lea edx, [esp + 0x54]
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0x4498]
push 0xc20
push 0
push eax
call fcn.004238f0
add esp, 0xc
mov eax, 0x820
jmp 0x40ca10
mov ecx, dword [ebx + 0x4498]
mov dword [eax + ecx], 1
add eax, 4
cmp eax, 0xc20
jl 0x40ca10
push ebp
lea edx, [esp + 0x250]
push 0x3ff
push edx
call fcn.004245de
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 4]
push ecx
push eax
lea edx, [eax - 4]
push edx
add eax, 0xfffffff8
push eax
lea eax, [esp + 0x276]
push str._4d__4d__4d__4d_n
push eax
call fcn.004247e4
push ebp
lea ecx, [esp + 0x274]
push 0x3ff
push ecx
call fcn.004245de
mov edx, dword [ebx + 0x4498]
add edx, 0x400
push edx
lea eax, [esp + 0x294]
push 0x43da54
push eax
call fcn.004247e4
push ebp
lea ecx, [esp + 0x128c]
push 0x3ff
push ecx
call fcn.0042438e
lea eax, [esp + 0x1294]
add esp, 0x48
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40cab0
sub eax, edx
lea edx, [esp + 0x124c]
push edx
mov word [esp + eax*2 + 0x24e], 0
call fcn.00416f40
add esp, 4
lea edx, [esp + 0x1a4c]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cae0
lea eax, [esp + 0x1a4c]
push 0x27
push eax
call fcn.00423fab
add esp, 8
test eax, eax
je 0x40cb0c
mov word [eax], 0
lea ecx, [esp + 0x1a4c]
push 0x27
push ecx
call fcn.00424803
add esp, 8
test eax, eax
je 0x40cb3f
add eax, 2
lea edx, [esp + 0x1a4c]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x40cb30
push ebp
lea edx, [esp + 0x250]
push 0x7f8
push edx
call fcn.004245de
mov eax, dword [ebx + 0x4498]
lea ecx, [eax + 0x818]
push ecx
lea edx, [eax + 0x810]
push edx
lea ecx, [eax + 0x80c]
push ecx
add eax, 0x808
push eax
lea edx, [esp + 0x276]
push str._d__d__lg__lg
push edx
call fcn.004247e4
push ebp
lea eax, [esp + 0x274]
push 0x7f8
push eax
call fcn.004245de
add esp, 0x30
lea esi, [esp + 0x25a]
mov edi, 0x408
push 0x7c
push esi
call fcn.00424803
add esp, 8
test eax, eax
je 0x40cbd0
mov ecx, dword [ebx + 0x4498]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x43e414
push esi
call fcn.004247e4
add esp, 0xc
add edi, 4
cmp edi, 0x808
jl 0x40cba7
push ebp
lea edx, [esp + 0x250]
push 0x3ff
push edx
call fcn.004245de
lea eax, [esp + 0x258]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x40cc00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cc00
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x24a], cx
lea eax, [esp + 0x25a]
xor edi, edi
lea esi, [eax + 2]
mov eax, dword [ebx + 0x4498]
add eax, edi
push eax
push 0x43da54
push esi
call fcn.004247e4
push 0x7c
push esi
call fcn.00424803
add esp, 0x14
test eax, eax
je 0x40cc51
add edi, 4
cmp edi, 0x400
jl 0x40cc20
push ebp
lea ecx, [esp + 0x250]
push 0x3ff
push ecx
call fcn.004245de
lea eax, [esp + 0x258]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cc71
sub eax, edx
push 6
lea edx, [esp + 0x250]
sar eax, 1
push 0x43e404
push edx
mov word [esp + eax*2 + 0x256], cx
call fcn.004245a9
add esp, 0xc
test eax, eax
jne 0x40ccf7
lea eax, [esp + 0x258]
mov edi, 0x820
nop
lea esi, [eax + 2]
mov eax, dword [ebx + 0x4498]
add eax, edi
push eax
push 0x43da54
push esi
call fcn.004247e4
push 0x7c
push esi
call fcn.00424803
add esp, 0x14
test eax, eax
je 0x40cce1
add edi, 4
cmp edi, 0xc20
jl 0x40ccb0
push ebp
lea ecx, [esp + 0x250]
push 0x7f8
push ecx
call fcn.004245de
add esp, 0xc
mov edx, dword [ebx + 0x4498]
add edx, 0x404
push edx
lea eax, [esp + 0x264]
push 0x43da54
push eax
call fcn.004247e4
fld qword [0x43df60]
add esp, 4
fstp qword [esp]
push 0xffffffffffffffff
lea ecx, [esp + 0x1a58]
push ecx
mov ecx, ebx
call fcn.0040c080
mov eax, dword [esp + 0x18]
add dword [esp + 0x10], 0x10
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jl 0x40c9f0
push ebp
lea edx, [esp + 0x250]
push 0x3ff
push edx
call fcn.004245de
push 0xd
lea eax, [esp + 0x25c]
push str._HistoryBegin
push eax
call fcn.004245a9
add esp, 0x18
test eax, eax
jne 0x40d000
add ebx, 0x2a0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x1250]
push 0x3ff
push edx
call fcn.0042438e
lea eax, [esp + 0x1258]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40cdb4
sub eax, edx
push 0xb
mov word [esp + eax*2 + 0x24e], 0
lea eax, [esp + 0x1250]
push str._HistoryEnd
push eax
call fcn.00423dbf
add esp, 0xc
test eax, eax
je 0x40d000
lea ecx, [esp + 0x124c]
push 0x3b
push ecx
call fcn.004248a0
mov esi, eax
add esp, 8
test esi, esi
je 0x40d000
lea ebx, [esi + 1]
push 0x3b
push ebx
call fcn.004248a0
mov edi, eax
add esp, 8
test edi, edi
je 0x40d000
lea eax, [edi + 1]
push 0x3b
push eax
mov dword [esp + 0x3c], eax
call fcn.004248a0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40d000
lea eax, [ebp + 1]
push 0x3b
push eax
mov dword [esp + 0x44], eax
call fcn.004248a0
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
je 0x40d000
add eax, 1
push 0x3b
push eax
mov dword [esp + 0x50], eax
call fcn.004248a0
add esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x40d000
add eax, 1
push 0x3b
push eax
mov dword [esp + 0x4c], eax
call fcn.004248a0
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
je 0x40d000
add eax, 1
push 0x3b
push eax
mov dword [esp + 0x40], eax
call fcn.004248a0
lea edx, [esp + 0x1254]
push edx
mov dword [esp + 0x4c], eax
mov byte [esi], 0
call fcn.00416f40
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edx, 0xffffffc0
nop
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cec0
push ebx
mov byte [edi], cl
call fcn.00416f40
mov esi, dword [esp + 0x14]
add esp, 4
mov edx, esi
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cee2
mov eax, dword [esp + 0x34]
push eax
mov byte [ebp], cl
call fcn.00416f40
add esp, 4
lea edx, [esi + 0x40]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cf06
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push edx
mov byte [ecx], 0
call fcn.00416f40
add esp, 4
lea edx, [esi + 0x80]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cf31
mov eax, dword [esp + 0x2c]
mov byte [eax], cl
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00416f40
add esp, 4
lea edx, [esi + 0xc0]
jmp 0x40cf60
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cf60
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
push eax
mov byte [edx], cl
call fcn.00416f40
add esp, 4
lea edx, [esi + 0x100]
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cf90
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40cfd1
mov byte [eax], cl
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00416f40
add esp, 4
lea edx, [esi + 0x500]
mov edi, edi
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x40cfc0
mov eax, dword [esp + 0x1c]
add dword [eax + 0x4490], 1
mov eax, dword [esp + 0x18]
add eax, 1
add esi, 0x584
cmp eax, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
jl 0x40cd90
jmp 0x40d000
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x28]
push edx
call fcn.00423420
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x4498]
push eax
call fcn.0041a1af
add esp, 8
xor edi, edi
mov dword [esi + 0x4498], edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xf
call esi
push 4
mov ebp, eax
call esi
mov esi, dword [esp + 0x30]
push 3
push esi
add ebp, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esp + 0x14], edi
jle 0x40d08f
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0x50]
add ebx, 0x60
lea esp, [esp]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi - 4]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 4]
sub edx, ecx
push edx
sub eax, ebp
push eax
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
add edi, 1
add ebx, 4
add esi, 0x10
cmp edi, dword [esp + 0x14]
jl 0x40d060
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x229
push ecx
call esi
mov edx, dword [edi + 0xc]
push eax
push 0
push 0x222
push edx
call esi
mov esi, dword [esp + 0x30]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.0040c7b0
pop edi
mov ecx, dword [esp + 0x2248]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00423284
add esp, 0x2240
ret 4