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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420328
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
and ebx, 0x40000000
je 0x410270
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x41027c
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [esi + 4]
mov edi, eax
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
xor ebp, ebp
cmp ebx, ebp
jne 0x4102f3
cmp edi, ebp
je 0x4102b0
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x4102ae
test eax, 0x20000000
je 0x4102b0
xor edi, edi
lea edx, [esp + 0x38]
push ebp
push edx
push ebp
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp edi, ebp
jne 0x4102e5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jmp 0x410326
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x410326
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
lea eax, [esp + 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x28]
push 2
push edx
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
sub eax, edx
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add eax, ecx
sub ebx, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x2c]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x14]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jl 0x410389
mov eax, dword [esp + 0x40]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x41038b
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
jl 0x4103a4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
lea ebx, [edi + edx]
cmp ebx, eax
jle 0x4103a6
sub eax, edx
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x428130]
push ebp
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
call ebx
mov ecx, dword [esi + 4]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x428130]
push ebp
push 0x32
mov dword [esp + 0x1c], edx
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [esp + 0x20]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
push eax
push ebp
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 4]
push 0x4253a4
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x5d
push 0x10f
push 0x18
lea eax, [esp + 0x24]
push 0xd
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x18]
push 0x496
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
lea edi, [esi + 0x114]
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.0040f5c0
push 0x57
push 0x57
push ebp
push 0xe3
push 0xe4
push ebp
mov ecx, edi
call fcn.0040f6b0
push 0x57
push 0x57
push ebp
push 0xe5
push 0xe0
push 1
mov ecx, edi
call fcn.0040f6b0
push 0x57
push 0x57
push ebp
push 0xe1
push 0xe2
push 2
mov ecx, edi
call fcn.0040f6b0
push ebp
push 0xdd
mov ecx, edi
call fcn.0040f690
push ebp
mov ecx, edi
call fcn.0040f930
push 1
push 1
push 0x18
push 0x46
push 0xc3
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, eax
mov dword [esp + 0x10], ebp
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x18], esp
mov dword [eax], 0xd9
call fcn.00402870
mov edx, dword [esp + 0x10]
push ebp
push edx
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebp
je 0x410540
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, edx
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x64], 0x5e
lea edi, [esi + 0x160]
lea ecx, [eax - 0xc8]
add eax, 0xfffffffb
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], eax
call fcn.00410790
cmp dword [eax + 0x30], ebp
jne 0x41059d
call fcn.00410790
mov dword [eax + 0x30], str.BUTTON
call fcn.00410790
lea ecx, [edi + 0x1c]
push ecx
push eax
push 0x428128
call fcn.0040fdf0
push ebp
push eax
mov eax, dword [esp + 0x1c]
push 0xd9
push ebp
push 0x50000000
lea edx, [esp + 0x6c]
push 0x428120
push edx
push eax
mov ecx, edi
call fcn.00411160
mov dword [edi + 0x24], ebx
mov al, byte [edi + 0x20]
test al, 8
je 0x4105f3
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4105f3
mov ecx, edi
call fcn.00417270
mov eax, 1
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 2
mov dword [edi + 0x34], 4
mov dword [edi + 0x20], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, 0xa
add ecx, 0x5f
add edx, eax
sub ebx, eax
sub edi, eax
lea eax, [esi + 0x1ac]
push eax
add eax, 8
push eax
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 4]
push 0x428128
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
call fcn.0040a9b0
mov eax, dword [0x428130]
push ebp
push 0x40e1a0
push edi
mov edi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0xd1
push eax
call edi
mov ebx, dword [esi + 4]
lea eax, [esi + 0x43c]
push eax
add eax, 8
push eax
push 0x428128
call fcn.0040a9b0
mov eax, dword [0x428130]
push ebp
push 0x40e1a0
push ebx
push 0xd0
push eax
call edi
mov ebx, dword [esi + 4]
lea eax, [esi + 0x78c]
push eax
add eax, 8
push eax
push 0x428128
call fcn.0040a9b0
mov eax, dword [0x428130]
push ebp
push 0x40e1a0
push ebx
push 0xd2
push eax
call edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub ecx, eax
push ebp
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x1b0]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [esp + 0x18]
lea edi, [esi + 0x440]
push ebp
push ecx
mov ecx, edi
call fcn.00411080
lea ebx, [esi + 0x790]
lea edx, [esp + 0x18]
push ebp
push edx
mov ecx, ebx
call fcn.00411080
mov eax, dword [esi + 0x1b0]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
mov ecx, dword [edi]
push 0
push ecx
call ebp
mov edx, dword [ebx]
push 0
push edx
call ebp
mov eax, dword [esi + 4]
push 0
push 0x64
push 0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 0xffffffff
test eax, eax
je 0x41076a
lea ecx, [esp + 0x10]
call fcn.0040b760
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x10