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

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.user32.dll_GetFocus]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x30]
push 0x16c
push eax
call edi
push eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [esi + 0x30]
mov ebx, dword [sym.imp.user32.dll_IsDlgButtonChecked]
push 0x167
push ecx
call ebx
mov edx, dword [esi + 0x30]
push 0x168
push edx
mov dword [esi + 8], eax
call ebx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x30]
push 0x173
push eax
call edi
push 0
mov ebx, eax
push 0
push 0x147
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.user32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jle 0x420e38
push 0
push ebp
push 0x149
push ebx
call dword [sym.imp.user32.dll_SendMessageA]
inc eax
push eax
call fcn.004c7e90
add esp, 4
mov ebx, eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push 0x148
push ebp
mov byte [ebx], 0
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x420e61
push ebx
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
mov ebp, eax
inc ebp
push ebp
call fcn.004c7e90
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
push ebp
push ebx
push ecx
mov byte [ebx], 0
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ebp, dword [esp + 0x10]
cmp byte [ebx], 0
je 0x420eed
mov eax, dword [esi + 0x54]
lea ebp, [esi + 0x44]
test eax, eax
je 0x420eb2
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x14], ecx
jle 0x420eb2
jmp 0x420e87
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x420e97
test ecx, ecx
jl 0x420e97
mov edx, dword [ebp + 4]
mov ecx, dword [edx + ecx*4]
jmp 0x420e99
xor ecx, ecx
push ecx
call fcn.004c7e56
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
add esp, 4
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x420e83
mov eax, dword [ebp + 4]
push eax
call fcn.004c7e56
push 0x80
call fcn.004c7e90
push 0
push ebp
push ebx
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], pe_nt_image_headers32
call fcn.00421380
mov ebp, dword [esp + 0x24]
add esp, 0x14
push ebx
call fcn.004c7e56
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
jne 0x420f2c
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
push eax
push 0x205
push 0x202
push ecx
push edx
call fcn.00443760
add esp, 0x14
push ebp
call dword [sym.imp.user32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf8
ret
xor ebx, ebx
test eax, eax
jle 0x420f5c
cmp ebx, dword [esi + 0x4c]
jge 0x420f43
test ebx, ebx
jl 0x420f43
mov eax, dword [esi + 0x48]
mov eax, dword [eax + ebx*4]
jmp 0x420f45
xor eax, eax
push 0
push eax
call fcn.004c818e
add esp, 8
test eax, eax
jne 0x420f9d
mov eax, dword [esi + 0x4c]
inc ebx
cmp ebx, eax
jl 0x420f37
mov ecx, dword [0x4ee264]
push 0x4ee8f8
push ecx
push 0x400
push 0x14
push 1
push ebp
call fcn.00445320
mov eax, dword [esi + 0x70]
lea ebp, [esi + 0x60]
add esp, 0x18
test eax, eax
je 0x420fff
mov eax, dword [ebp + 8]
xor ebx, ebx
test eax, eax
jle 0x420fff
cmp ebx, eax
jge 0x420fec
test ebx, ebx
jl 0x420fec
mov edx, dword [ebp + 4]
mov eax, dword [edx + ebx*4]
jmp 0x420fee
cmp ebx, dword [esi + 0x4c]
jge 0x420fae
test ebx, ebx
jl 0x420fae
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx + ebx*4]
jmp 0x420fb0
xor ebx, ebx
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x40]
push 0
push 0x211
push ebx
push edx
push eax
call fcn.004436f0
add esp, 0x14
push ebp
call dword [sym.imp.user32.dll_SetFocus]
push 0xffffffffffffffff
push 0
push 0x142
push ebp
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf8
ret
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [ebp + 8]
add esp, 4
inc ebx
cmp ebx, eax
jl 0x420f91
mov eax, dword [ebp + 4]
push eax
call fcn.004c7e56
push 0x80
call fcn.004c7e90
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], pe_nt_image_headers32
mov ecx, dword [esi + 0x30]
push 0x170
push ecx
call edi
push 0
mov ebx, eax
push 0
push 0x147
push ebx
call dword [sym.imp.user32.dll_SendMessageA]
test eax, eax
jle 0x421062
lea edx, [esp + 0x68]
push edx
push eax
push 0x148
push ebx
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x421070
lea eax, [esp + 0x68]
push 0x50
push eax
push ebx
call dword [sym.imp.user32.dll_GetWindowTextA]
mov al, byte [esp + 0x68]
test al, al
je 0x4210a6
mov ecx, dword [0x4ee264]
push 0x4ee918
push ecx
push 0x400
push 0x32
push 1
push ebx
call fcn.00445320
push 1
lea edx, [esp + 0x84]
push ebp
push edx
call fcn.00421380
add esp, 0x24
mov eax, dword [esi + 0x8c]
lea ebp, [esi + 0x7c]
test eax, eax
je 0x4210df
mov eax, dword [ebp + 8]
xor ebx, ebx
test eax, eax
jle 0x4210df
cmp ebx, eax
jge 0x4210cc
test ebx, ebx
jl 0x4210cc
mov eax, dword [ebp + 4]
mov eax, dword [eax + ebx*4]
jmp 0x4210ce
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [ebp + 8]
add esp, 4
inc ebx
cmp ebx, eax
jl 0x4210c0
mov ecx, dword [ebp + 4]
push ecx
call fcn.004c7e56
push 0x80
call fcn.004c7e90
add esp, 8
mov dword [ebp + 4], eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0x1f
mov dword [ebp + 0x14], pe_nt_image_headers32
mov edx, dword [esi + 0x30]
push 0x16f
push edx
call edi
push 0
mov ebx, eax
push 0
push 0x147
push ebx
call dword [sym.imp.user32.dll_SendMessageA]
test eax, eax
jle 0x421145
lea ecx, [esp + 0xb8]
push ecx
push eax
push 0x148
push ebx
call dword [sym.imp.user32.dll_SendMessageA]
jmp 0x421156
lea edx, [esp + 0xb8]
push 0x50
push edx
push ebx
call dword [sym.imp.user32.dll_GetWindowTextA]
mov al, byte [esp + 0xb8]
test al, al
je 0x42118e
mov eax, dword [0x4ee264]
push 0x4ee908
push eax
push 0x400
push 0x32
push 1
push ebx
call fcn.00445320
push 1
lea ecx, [esp + 0xd4]
push ebp
push ecx
call fcn.00421380
add esp, 0x24
mov edx, dword [esi + 0x30]
push 0
push 0x170
push edx
call edi
mov ebp, dword [sym.imp.user32.dll_EnableWindow]
push eax
call ebp
mov eax, dword [esi + 0x30]
push 0
push 0x16f
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x30]
push 0
push 0x173
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x30]
push 0
push 0x167
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x30]
push 0
push 0x168
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x30]
push 0
push 0x16e
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x30]
push 0
push 0x172
push edx
call edi
push eax
call ebp
mov ecx, dword [esi + 0x40]
mov ebx, dword [sym.imp.user32.dll_LoadStringA]
lea eax, [esp + 0x18]
push 0x50
push eax
push 0x7a
push ecx
call ebx
mov edx, dword [esi + 0x30]
push 0x16a
push edx
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
push 0x16d
push eax
call edi
mov ecx, dword [esi + 0x34]
push 5
push ecx
mov dword [esi + 0x38], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov edx, dword [esi + 0x38]
push 5
push edx
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.user32.dll_SetWindowTextA]
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x18]
push 0x50
push edx
push 0x96
push eax
call ebx
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 0x16c
push edx
call dword [sym.imp.user32.dll_SetDlgItemTextA]
mov ecx, esi
call fcn.004214d0
mov ebx, eax
mov eax, dword [esi + 0x30]
push 1
push 0x167
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x30]
push 1
push 0x168
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x30]
push 1
push 0x173
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x30]
push 1
push 0x170
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x30]
push 1
push 0x16f
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x30]
push 1
push 0x16e
push edx
call edi
push eax
call ebp
mov ecx, dword [esi + 0x30]
xor eax, eax
test ebx, ebx
setne al
push eax
push 0x172
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x30]
push 0x171
push edx
call dword [sym.imp.user32.dll_IsDlgButtonChecked]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x34]
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
lea ecx, [esp + 0x18]
push 0x50
push ecx
push 0x97
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.user32.dll_LoadStringA]
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0x18]
push eax
push 0x16c
push ecx
call dword [sym.imp.user32.dll_SetDlgItemTextA]
test ebx, ebx
jle 0x42135b
mov edx, dword [esi + 0x30]
push 0x172
push edx
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
push 1
push eax
push 0x28
push ecx
call dword [sym.imp.user32.dll_PostMessageA]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xf8
ret