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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x480630]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
test ebx, ebx
push esi
mov dword [esp + 0x230], eax
push edi
mov esi, ecx
jl 0x442836
cmp ebx, 4
jg 0x442836
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [esp + 0x10], eax
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x41
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + ebx*4 + 0x58]
push 0x104
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x20]
push edx
call edi
cmp eax, 6
jne 0x4420a2
cmp ebx, 4
jge 0x4420a2
mov eax, dword [esi + ebx*4 + 0x5c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x20]
push ecx
call edi
cmp eax, 7
jle 0x4420c3
cmp ebx, 4
jge 0x4420c3
mov eax, dword [esi + ebx*4 + 0x5c]
lea edx, [esp + 0x27]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x20]
push ecx
call edi
cmp eax, 6
jle 0x4420ee
cmp ebx, 4
jge 0x4420ee
mov eax, dword [esi + ebx*4 + 0x58]
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x2e], 0
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x442836
lea ecx, [esp + 0x20]
push ecx
call edi
cmp eax, 0xf
jle 0x442118
cmp ebx, 4
jne 0x442118
mov eax, dword [esi + 0x68]
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x37], 0
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x442836
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x442159
test ebx, ebx
jle 0x442159
mov edx, dword [esi + ebx*4 + 0x54]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esi + ebx*4 + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 6
push 6
push 0xb1
push esi
call edi
push 0
push 0
push 0xb7
push esi
call edi
jmp 0x442836
cmp ebx, 4
jge 0x4424bb
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x129]
mov byte [esp + 0x128], 0
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esi + 0x58]
mov dword [esp + 0x18], 0
mov edi, eax
jmp 0x4421a0
mov ecx, dword [edi]
push 0x104
lea eax, [esp + 0x12c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 6
jne 0x44223d
mov ecx, 0x105
lea eax, [esp + 0x20]
cmp byte [eax], 0
je 0x4421dd
inc eax
dec ecx
jne 0x4421d2
jmp 0x442202
test ecx, ecx
je 0x442202
mov eax, 0x105
sub eax, ecx
lea ecx, [esp + 0x128]
push ecx
mov edx, 0x105
sub edx, eax
push edx
lea eax, [esp + eax + 0x28]
push eax
call fcn.004084d0
mov ecx, 0x105
lea eax, [esp + 0x20]
jmp 0x442210
cmp byte [eax], 0
je 0x44221b
inc eax
dec ecx
jne 0x442210
jmp 0x44223d
test ecx, ecx
je 0x44223d
mov eax, 0x105
sub eax, ecx
push 0x474670
mov ecx, 0x105
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x28]
push edx
call fcn.004084d0
mov eax, dword [esp + 0x18]
inc eax
add edi, 4
cmp eax, 4
mov dword [esp + 0x18], eax
jge 0x442264
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x4421a0
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x3f], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x1b
jne 0x44258d
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004154a0
mov ecx, eax
call fcn.00410060
test eax, eax
mov dword [esi + 0x50], eax
je 0x4422c0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x4422c0
mov eax, dword [eax + 0x8c]
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00457f3f
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4423ca
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x20]
push edx
add ecx, 0x90
call fcn.00404d30
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x521
je 0x44236a
mov ecx, dword [esi + 0x10]
push ecx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov edx, dword [esi + 0x10]
push 0x424
push edx
call ebx
push 5
push eax
call edi
mov eax, dword [esi + 0x10]
push 0x521
push eax
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x10]
push 0x521
push ecx
call ebx
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffff
push 0xffff
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x442481
mov edx, dword [esi + 0x10]
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov eax, dword [esi + 0x10]
push 0x424
push eax
call ebx
push 0
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x458
push ecx
call ebx
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffff
push 0xffff
push 0xb1
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x442481
mov edx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x521
push edx
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov eax, dword [esi + 0x10]
push 0x424
push eax
call ebx
push 0
push eax
call edi
mov ecx, dword [esi + 0x10]
push 0x521
push ecx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x40]
push 0x4708d8
add ecx, 0x90
call fcn.00404d30
mov eax, dword [ebp + 8]
test eax, eax
jne 0x442430
cmp dword [esp + 0x10], 0x404
jne 0x442461
jmp 0x442481
cmp eax, 1
jne 0x442441
cmp dword [esp + 0x10], 0x456
jne 0x442461
jmp 0x442481
cmp eax, 2
jne 0x442452
cmp dword [esp + 0x10], 0x457
jne 0x442461
jmp 0x442481
cmp eax, 3
jne 0x442481
cmp dword [esp + 0x10], 0x458
je 0x442477
mov edx, dword [esi + 0x58]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ebx, dword [esi + 0x58]
push 0xffffffffffffffff
push 0
jmp 0x442349
mov eax, dword [esi + 0x64]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x84]
mov eax, dword [edx - 8]
test eax, eax
jle 0x4424b2
mov eax, dword [esi + 0x10]
push 0x142
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [esi + 0x50]
xor ecx, ecx
test ebx, ebx
setne cl
dec ecx
and ecx, 5
push ecx
push eax
call edi
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [0x4800d8]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x50]
test eax, eax
mov dword [esp + 0x244], 0
je 0x44278d
call fcn.004154a0
mov edi, eax
cmp dword [edi + 0x1e8], 2
jne 0x442654
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xa4]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.00441f30
mov eax, dword [edi + 0xb8]
test eax, eax
mov byte [esp + 0x244], 1
jne 0x442599
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
push 0x4708d8
push 0xa13f
call fcn.004515d0
push eax
lea ecx, [esp + 0x20]
call fcn.00405970
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x204]
mov eax, dword [edi + 0x208]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x25c], 2
call fcn.00405ab0
add esp, 0x18
lea ecx, [esp + 0x1c]
call fcn.004309a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 0
call fcn.004309a0
jmp 0x4427c4
mov dword [esi + 0x50], 0
jmp 0x4424b5
dec eax
je 0x4425a6
dec eax
jne 0x4425ad
mov eax, 0xa133
jmp 0x4425b1
mov eax, 0xa132
jmp 0x4425b1
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4708d8
push eax
call fcn.004515d0
push eax
lea ecx, [esp + 0x18]
call fcn.00405970
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0xc]
push 0x4708d8
push 0xa131
mov byte [esp + 0x24c], 3
call fcn.004515d0
push eax
lea ecx, [esp + 0x20]
call fcn.00405970
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x204]
push eax
mov eax, dword [edi + 0x208]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x260], 4
call fcn.00405ab0
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.004309a0
lea ecx, [esp + 0x14]
call fcn.004309a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 0
call fcn.004309a0
jmp 0x4427c4
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x4708d8
push 0x7f
call fcn.004515d0
push eax
lea ecx, [esp + 0x14]
call fcn.00404d30
mov edx, dword [esi + 0x40]
add edx, 0x90
push edx
lea ecx, [esp + 0x14]
call fcn.00404240
push str._r_n_r_n
lea ecx, [esp + 0x14]
call fcn.00404260
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x442742
mov ecx, dword [esi + 0x68]
push 0x104
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x33], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
cmp eax, 8
setge cl
mov eax, ecx
test eax, eax
mov dword [esi + 0x54], eax
je 0x442716
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x20]
push edx
add ecx, 0x9c
call fcn.00404d30
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
push 0x4708d8
push 0x7c
call fcn.004515d0
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040aa70
mov byte [esp + 0x244], 5
jmp 0x442770
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
push 0x4708d8
push 0x7a
call fcn.004515d0
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040aa70
mov byte [esp + 0x244], 6
jmp 0x442770
push 0x4708d8
mov dword [esi + 0x54], 1
mov ecx, dword [eax + 0xc]
push 0x7c
call fcn.004515d0
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040aa70
mov byte [esp + 0x244], 7
lea ecx, [esp + 0x10]
push eax
call fcn.00404cd0
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0
call fcn.004309a0
jmp 0x4427c4
cmp ebx, 4
jge 0x4427df
lea edx, [esp + 0x20]
push edx
call edi
cmp eax, 0x1b
push 0x4708d8
jge 0x4427ad
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0xc]
push 0x70
jmp 0x4427b5
mov ecx, dword [esi + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x7e
call fcn.004515d0
lea ecx, [esp + 0x10]
push eax
call fcn.00404d30
mov edx, dword [esi + 0x10]
push 0x426
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x44281d
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 0xc0]
test eax, eax
je 0x4427fa
mov eax, dword [esi + 0x54]
test eax, eax
je 0x44281d
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
and edx, 0xd
or edx, 2
push edx
push eax
call dword [ecx + 0x20]
lea ecx, [esp + 0x10]
call fcn.004309a0
mov eax, 1
jmp 0x442838
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
and edx, 9
push edx
push eax
call dword [ecx + 0x20]
lea ecx, [esp + 0x10]
call fcn.004309a0
xor eax, eax
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret 4