Function at 0x40d700
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x10e0
call fcn.004226e0
mov eax, dword [0x43c730]
xor eax, esp
mov dword [esp + 0x10dc], eax
mov eax, dword [esp + 0x10e8]
push ebp
xor ebp, ebp
push edi
mov edi, dword [esp + 0x10ec]
mov dword [esp + 0x28], eax
cmp eax, ebp
je 0x40dc5e
xor eax, eax
push ebx
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0xb1e
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0xffffffffffffffec
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov esi, 0x4000
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x40d79c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov esi, 0x3000
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [0x4464d0]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push ebp
push edx
mov edx, dword [esp + 0x24]
push ebp
push edi
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
or esi, 0x40a10844
push esi
push ebp
push str.RichEdit20W
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x58
lea ecx, [esp + 0x98]
push ebp
push ecx
call fcn.00422290
push 0x58
lea edx, [esp + 0x48]
push ebp
push edx
mov dword [esp + 0x4c], ebp
call fcn.00422290
add esp, 0x18
lea eax, [esp + 0x90]
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x43a
push ebx
mov dword [esp + 0xa0], 0x5c
call ebp
push 0x435040
lea ecx, [esp + 0xae]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
and dword [esp + 0x98], 0xfffffffe
mov eax, 0x81
mov ecx, 0x17
lea esi, [esp + 0x90]
lea edi, [esp + 0x34]
mov dword [esp + 0x9c], 0xa5
rep movsd dword es:[edi], dword [esi]
or dword [esp + 0x38], eax
or dword [esp + 0x3c], eax
xor eax, eax
push 0xffe
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf6]
xor edx, edx
push eax
mov dword [esp + 0x40], 0x5c
mov word [esp + 0xf8], dx
call fcn.00422290
push 0xa5b
call fcn.004159c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0x10
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x437
push ebx
call ebp
lea ecx, [esp + 0x34]
push ecx
push 1
push 0x444
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
push 1
push 0xc2
push ebx
call ebp
push 0x1000
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.00422290
push 0xa5c
call fcn.004159c0
add esp, 0x10
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
push 0xa5d
call fcn.004159c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 4
push eax
lea edx, [esp + 0xf0]
push edx
call edi
push 0xa5e
call fcn.004159c0
add esp, 4
push eax
lea eax, [esp + 0xf0]
push eax
call edi
push 0xa5f
call fcn.004159c0
add esp, 4
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
push 0xa60
call fcn.004159c0
add esp, 4
push eax
lea edx, [esp + 0xf0]
push edx
call edi
lea eax, [esp + 0x10]
push eax
push 0
push 0x437
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call ebp
lea ecx, [esp + 0x90]
push ecx
push 1
push 0x444
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
push 1
push 0xc2
push ebx
call ebp
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x1000
lea ecx, [esp + 0xf0]
push 0
push ecx
add esi, eax
call fcn.00422290
push 0xa61
call fcn.004159c0
add esp, 0x10
push eax
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x10]
push eax
push 0
push 0x437
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call ebp
lea ecx, [esp + 0x34]
push ecx
push 1
push 0x444
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
push 1
push 0xc2
push ebx
call ebp
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x1000
lea ecx, [esp + 0xf0]
push 0
push ecx
add esi, eax
call fcn.00422290
push 0xa62
call fcn.004159c0
add esp, 0x10
push eax
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xa63
call fcn.004159c0
add esp, 4
push eax
lea eax, [esp + 0xf0]
push eax
call edi
push 0xa64
call fcn.004159c0
add esp, 4
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
push 0
push 0x437
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call ebp
lea eax, [esp + 0x90]
push eax
push 1
push 0x444
push ebx
call ebp
lea ecx, [esp + 0xec]
push ecx
push 1
push 0xc2
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x1000
add esi, eax
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.00422290
push 0xa65
call fcn.004159c0
add esp, 0x10
push eax
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x10]
push edx
push 0
push 0x437
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call ebp
lea eax, [esp + 0x34]
push eax
push 1
push 0x444
push ebx
call ebp
lea ecx, [esp + 0xec]
push ecx
push 1
push 0xc2
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x1000
add esi, eax
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.00422290
push 0xa66
call fcn.004159c0
add esp, 0x10
push eax
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xa67
call fcn.004159c0
add esp, 4
push eax
lea edx, [esp + 0xf0]
push edx
call edi
push 0xa68
call fcn.004159c0
add esp, 4
push eax
lea eax, [esp + 0xf0]
push eax
call edi
push 0xa69
call fcn.004159c0
add esp, 4
push eax
lea ecx, [esp + 0xf0]
push ecx
call edi
push 0xa6a
call fcn.004159c0
add esp, 4
push eax
lea edx, [esp + 0xf0]
push edx
call edi
lea eax, [esp + 0x10]
push eax
push 0
push 0x437
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call ebp
lea ecx, [esp + 0x90]
push ecx
push 1
push 0x444
push ebx
call ebp
lea edx, [esp + 0xec]
push edx
push 1
push 0xc2
push ebx
call ebp
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x30]
pop esi
mov dword [ecx], ebx
pop ebx
mov ecx, dword [esp + 0x10e4]
pop edi
pop ebp
xor ecx, esp
call fcn.00422272
add esp, 0x10e0
ret