Function at 0x409e20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x56d8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x59ab5c
call fcn.00402a10
mov dword [esp + 0x58], 0
mov eax, dword [0x5de568]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x60], 1
mov eax, dword [0x5de564]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x64], 2
mov eax, dword [0x5de560]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
lea ebx, [ebp + 0x4e8]
or edi, 0xffffffff
add esp, 4
mov esi, ebx
mov dword [esp + 0x64], edi
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x59ab5c
call fcn.00402a10
mov dword [esp + 0x58], 3
mov eax, dword [0x5de574]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x60], 4
mov eax, dword [0x5de570]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x64], 5
mov eax, dword [0x5de56c]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add esp, 4
add eax, 0x10
mov dword [esi], eax
lea esi, [ebp + 0x5dc]
mov dword [esp + 0x64], edi
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x59ab5c
call fcn.00402a10
mov dword [esp + 0x58], 6
mov eax, dword [0x5de580]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x60], 7
mov eax, dword [0x5de57c]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x64], 8
mov eax, dword [0x5de578]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
lea esi, [ebp + 0x6d0]
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], edi
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov dword [esp + 0x5c], 9
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov byte [esp + 0x60], 0xa
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x59ab5c
call fcn.00402a10
mov byte [esp + 0x60], 0xb
mov eax, dword [0x5de584]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp + 0x7c4]
mov dword [esp + 0x64], edi
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov dword [esp + 0x5c], 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov byte [esp + 0x60], 0xd
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59ab5c
call fcn.00402a10
mov byte [esp + 0x60], 0xe
mov eax, dword [0x5de58c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp + 0x8b8]
mov dword [esp + 0x64], edi
call fcn.00419060
mov eax, dword [0x5de53c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
add esp, 4
mov edi, ebx
mov dword [esi], eax
call fcn.004191b0
mov eax, dword [0x5de53c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
add esp, 4
lea edi, [ebp + 0x5dc]
mov dword [esi], eax
call fcn.004191b0
mov eax, dword [0x5de53c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
mov edi, dword [esp + 0x64]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004191b0
mov eax, dword [0x5de53c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
add esp, 4
lea edi, [ebp + 0x7c4]
mov dword [esi], eax
call fcn.004191b0
mov eax, dword [0x5de53c]
push ecx
mov dword [esp + 0x28], esp
mov esi, esp
add eax, 0xfffffff0
push eax
call fcn.00402ad0
add eax, 0x10
add esp, 4
lea edi, [ebp + 0x8b8]
mov dword [esi], eax
call fcn.004191b0
lea esi, [ebp + 0x9ac]
mov eax, esi
mov ecx, 0x5d1640
call fcn.00407d10
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
mov dword [esi + 0xc8], 5
call edi
mov ecx, dword [0x5de68c]
mov edx, dword [esi + 0x20]
push 1
mov eax, ecx
push 0
push edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
call edi
mov eax, dword [0x5de678]
push 1
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x20]
push 0
push eax
mov dword [esi + 0xbc], 1
call edi
lea esi, [ebp + 0xc78]
call fcn.004255c0
mov edx, dword [ebp + 0xc98]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
push edx
call esi
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00444588
mov edx, dword [ebp + 0x8d8]
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push edx
add edi, 2
call esi
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.00444588
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
push 5
sub ecx, eax
push ecx
push edx
push eax
push edi
push 0x5cd350
lea ecx, [ebp + 0x8b8]
call fcn.0044d59c
mov ecx, dword [ebp + 0x1124]
lea eax, [esp + 0x28]
push eax
push ecx
call esi
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.00444588
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
push 0x20
sub ecx, eax
push ecx
push edx
push eax
push edi
push 0x5cd350
lea ecx, [ebp + 0x1104]
call fcn.0044d59c
push ecx
mov eax, str.Close
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00417710
push ebp
mov ecx, ebx
call fcn.0041c570
push ecx
mov eax, 0x59c788
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00417710
push ebp
lea ecx, [ebp + 0x5dc]
call fcn.0041c570
push ecx
mov eax, 0x59c790
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00417710
mov ecx, dword [esp + 0x60]
push ebp
call fcn.0041c570
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4