Function at 0x406a40
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x4ad658]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xc7c7c7
push 1
xor edi, edi
push edi
mov dword [esi + 0x5f4], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x1fe
mov dword [esi + 0x5f8], eax
lea ecx, [ebp - 0x206]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x208], ax
call fcn.00469070
add esp, 0xc
push 0x200
lea edx, [ebp - 0x208]
push edx
push 0x68
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x58
lea eax, [ebp - 0x394]
push edi
push eax
call fcn.00469070
push 0x58
lea ecx, [ebp - 0x2d4]
push edi
push ecx
mov dword [ebp - 0x2d8], edi
call fcn.00469070
push 0x58
lea edx, [ebp - 0x274]
push edi
push edx
mov dword [ebp - 0x278], edi
call fcn.00469070
push 0x58
lea eax, [ebp - 0x334]
push edi
push eax
mov dword [ebp - 0x338], edi
call fcn.00469070
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x37c]
push 0x20
push edx
mov dword [ebp - 0x398], 0x14
call fcn.00465cea
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
add esp, 0x3c
lea eax, [ebp - 0x398]
push eax
mov byte [ebp - 0x381], 1
call ebx
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x2bc]
push 0x20
mov edi, 0x12
push edx
mov dword [esi + 0x200], eax
mov dword [ebp - 0x2d8], edi
call fcn.00465cea
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
mov byte [ebp - 0x2c1], 1
call ebx
lea ecx, [ebp - 0x208]
push ecx
mov dword [esi + 0x204], eax
mov dword [ebp - 0x278], edi
mov byte [ebp - 0x263], 1
push 0x20
lea edx, [ebp - 0x25c]
push edx
call fcn.00465cea
add esp, 0xc
lea eax, [ebp - 0x278]
push eax
mov byte [ebp - 0x261], 1
call ebx
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x31c]
push 0x20
push edx
mov dword [esi + 0x208], eax
mov dword [ebp - 0x338], 0x18
call fcn.00465cea
add esp, 0xc
lea eax, [ebp - 0x338]
push eax
mov byte [ebp - 0x321], 1
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x498508
push 0x8b
push 0
mov dword [esi + 0x20c], eax
call ebx
test eax, eax
je 0x406c04
call fcn.0040a8f0
push 0x498508
push 0xa9
push 0
mov dword [esi + 0x218], eax
call ebx
test eax, eax
je 0x406c21
call fcn.0040a8f0
push 0x498508
push 0xa1
push 0
mov dword [esi + 0x214], eax
call ebx
test eax, eax
je 0x406c3e
call fcn.0040a8f0
push 0x498508
push 0xa3
push 0
mov dword [esi + 0x21c], eax
call ebx
test eax, eax
je 0x406c5b
call fcn.0040a8f0
push 0x498508
push 0x86
push 0
mov dword [esi + 0x220], eax
call ebx
test eax, eax
je 0x406c78
call fcn.0040a8f0
push 0x498508
push 0x98
push 0
mov dword [esi + 0x140], eax
call ebx
test eax, eax
je 0x406c95
call fcn.0040a8f0
push 0x498508
push 0x94
push 0
mov dword [esi + 0x22c], eax
call ebx
test eax, eax
je 0x406cb2
call fcn.0040a8f0
push 0x498508
push 0x99
push 0
mov dword [esi + 0x230], eax
call ebx
test eax, eax
je 0x406ccf
call fcn.0040a8f0
push 0x498508
push 0x97
push 0
mov dword [esi + 0x234], eax
call ebx
test eax, eax
je 0x406cec
call fcn.0040a8f0
push 0x498508
push 0x9b
push 0
mov dword [esi + 0x238], eax
call ebx
test eax, eax
je 0x406d09
call fcn.0040a8f0
push 0x498508
push 0x9a
push 0
mov dword [esi + 0x23c], eax
call ebx
test eax, eax
je 0x406d26
call fcn.0040a8f0
push 0x498508
push 0x9c
push 0
mov dword [esi + 0x240], eax
call ebx
test eax, eax
je 0x406d43
call fcn.0040a8f0
push 0x498508
push 0x9e
push 0
mov dword [esi + 0x244], eax
call ebx
test eax, eax
je 0x406d60
call fcn.0040a8f0
push 0x498508
push 0x9d
push 0
mov dword [esi + 0x248], eax
call ebx
test eax, eax
je 0x406d7d
call fcn.0040a8f0
push 0x498508
push 0x9f
push 0
mov dword [esi + 0x24c], eax
call ebx
test eax, eax
je 0x406d9a
call fcn.0040a8f0
push 0x498508
push 0xa2
push 0
mov dword [esi + 0x250], eax
call ebx
test eax, eax
je 0x406db7
call fcn.0040a8f0
push 0x498508
push 0xa0
push 0
mov dword [esi + 0x224], eax
call ebx
test eax, eax
je 0x406dd4
call fcn.0040a8f0
push 0x498508
push 0x90
push 0
mov dword [esi + 0x228], eax
call ebx
test eax, eax
je 0x406df1
call fcn.0040a8f0
push 0x498508
push 0x93
push 0
mov dword [esi + 0x254], eax
call ebx
test eax, eax
je 0x406e0e
call fcn.0040a8f0
push 0x498508
push 0x8e
push 0
mov dword [esi + 0x260], eax
call ebx
test eax, eax
je 0x406e2b
call fcn.0040a8f0
push 0x498508
push 0x8f
push 0
mov dword [esi + 0x270], eax
call ebx
test eax, eax
je 0x406e48
call fcn.0040a8f0
push 0x498508
push 0x90
push 0
mov dword [esi + 0x26c], eax
call ebx
test eax, eax
je 0x406e65
call fcn.0040a8f0
push 0x498508
push 0x91
push 0
mov dword [esi + 0x254], eax
call ebx
test eax, eax
je 0x406e82
call fcn.0040a8f0
push 0x498508
push 0x92
push 0
mov dword [esi + 0x258], eax
call ebx
test eax, eax
je 0x406e9f
call fcn.0040a8f0
lea ebx, [esi + 0x27c]
mov dword [esi + 0x25c], eax
call fcn.00401170
mov ecx, dword [0x4b4a04]
mov eax, dword [esi + 4]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push ecx
push 0
push eax
push 0x47
push 0x220
push 0x135
push 0xd
push 0x50200044
push 0
push str.EDIT
push 0
mov dword [ebp - 0x218], 0xd
mov dword [ebp - 0x214], 0x135
mov dword [ebp - 0x210], 0x22d
mov dword [ebp - 0x20c], 0x17c
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov dword [esi + 0x274], eax
mov edx, dword [esi + 0x204]
push edx
push 0x30
push eax
call ebx
cmp dword [esi + 0x2ec], 8
lea eax, [esi + 0x2d8]
jb 0x406f36
mov eax, dword [eax]
mov ecx, dword [esi + 0x274]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x274]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x274]
push 0
push 1
push 0xcf
push eax
call ebx
mov ecx, dword [0x4b4a04]
mov eax, dword [esi + 4]
push 0
push ecx
push 0
push eax
push 0x12
push 0xe8
push 0x14b
push 0xe
push 0x50000080
push 0
push str.EDIT
push 0
mov dword [ebp - 0x218], 0xe
mov dword [ebp - 0x214], 0x14b
mov dword [ebp - 0x210], 0xf6
mov dword [ebp - 0x20c], 0x15d
call edi
push 1
mov dword [esi + 0x278], eax
mov edx, dword [esi + 0x204]
push edx
push 0x30
push eax
call ebx
cmp dword [esi + 0x340], 8
lea eax, [esi + 0x32c]
jb 0x406fdf
mov eax, dword [eax]
mov ecx, dword [esi + 0x278]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x278]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x26c]
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x39c]
push eax
push ecx
mov dword [ebp - 0x39c], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x407026
mov dword [edi + 8], eax
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x39c]
mov eax, dword [esi + 0x218]
push 0x498510
push ecx
mov dword [esi + 0x600], edx
mov dword [esi + 0x5fc], 0
mov dword [esi + 0x210], eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00464d49
mov esp, ebp
pop ebp
ret