Function at 0x402f90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
mov eax, dword [0x41ea08]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push 0x41d218
push 0x64
push 0xd
push 0x3ef
push eax
call esi
mov ecx, dword [0x41ea08]
push 0x41d27c
push 0x104
push 0xd
push 0x3f2
push ecx
call esi
mov edx, dword [0x41ea08]
push 0
push 0
push pe_nt_image_headers32
push 0x3f0
push edx
call esi
neg eax
sbb eax, eax
push 0
neg eax
mov dword [0x41d0b4], eax
mov eax, dword [0x41ea08]
push 0
push pe_nt_image_headers32
push 0x3f3
push eax
call esi
mov ecx, dword [0x41ea08]
push 0x3f5
neg eax
sbb eax, eax
push ecx
neg eax
mov dword [0x41d0b8], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
mov ebx, eax
push 0
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
mov ecx, 6
xor eax, eax
mov edi, 0x41d098
rep stosd dword es:[edi], eax
test ebp, ebp
stosw word es:[edi], ax
je 0x4030b4
mov dword [esp + 0x10], 0x422ee0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x14]
push edx
push 0
push 0x110c
push ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], 8
mov dword [esp + 0x30], 0xf000
call edi
mov eax, dword [esp + 0x1c]
and eax, 0xf000
cmp eax, 0x2000
jne 0x403098
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov byte [edx + 0x41d098], 1
push ebp
push 1
push 0x110a
push ebx
call edi
mov ecx, dword [esp + 0x10]
mov ebp, eax
add ecx, 4
test ebp, ebp
mov dword [esp + 0x10], ecx
jne 0x403052
mov eax, dword [0x41ea0c]
push 0x41d0bc
push 0x64
push 0xd
push 0x3f6
push eax
call esi
mov ecx, dword [0x41ea0c]
xor edi, edi
push edi
push edi
push pe_nt_image_headers32
push 0x3f8
push ecx
call esi
mov edx, dword [0x41ea0c]
push edi
push edi
push pe_nt_image_headers32
push 0x3f9
push edx
mov word [0x41d120], ax
call esi
push edi
mov word [0x41d122], ax
mov eax, dword [0x41ea0c]
push edi
push pe_nt_image_headers32
push 0x3fc
push eax
call esi
mov ecx, dword [0x41ea0c]
push edi
push edi
push pe_nt_image_headers32
push 0x3fb
push ecx
mov word [0x41d124], ax
call esi
mov edx, dword [0x41ea0c]
push edi
push edi
push pe_nt_image_headers32
push 0x3fa
push edx
mov word [0x41d126], ax
call esi
push edi
mov word [0x41d128], ax
mov eax, dword [0x41ea10]
push edi
push pe_nt_image_headers32
push 0x407
push eax
call esi
test eax, eax
je 0x403170
mov dword [0x41d130], edi
mov ecx, dword [0x41ea10]
push edi
push edi
push pe_nt_image_headers32
push 0x408
push ecx
call esi
mov edx, dword [0x41ea10]
push edi
neg eax
sbb eax, eax
push edi
push 0x147
add eax, 2
push 0x3f8
push edx
mov dword [0x41d130], eax
call esi
push edi
mov dword [0x41d12c], eax
mov eax, dword [0x41ea10]
push edi
push 0x147
push 0x3f9
push eax
call esi
mov ecx, dword [0x41ea10]
push edi
push edi
push 0x147
push 0x3fa
push ecx
mov dword [0x41d170], eax
call esi
mov edx, dword [0x41ea10]
push 0x41d134
push 0x1e
push 0xd
push 0x3fb
push edx
mov dword [0x41d19c], eax
call esi
mov eax, dword [0x41ea10]
push 0x41d152
push 0x1e
push 0xd
push 0x3fc
push eax
call esi
mov ecx, dword [0x41ea10]
push 0x41d174
push 0x14
push 0xd
push 0x3fd
push ecx
call esi
mov edx, dword [0x41ea10]
push 0x41d188
push 0x14
push 0xd
push 0x3fe
push edx
call esi
mov eax, dword [0x41ea10]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemInt]
push edi
push edi
push 0x400
push eax
call ebx
mov ecx, dword [0x41ea10]
push edi
push edi
push 0x3ff
push ecx
mov dword [0x41d1a0], eax
call ebx
push 0x41d1b4
push 0x64
mov dword [0x41d1a4], eax
push 0xd
mov edx, dword [0x41ea14]
push 0x3fc
push edx
call esi
mov eax, dword [0x41ea14]
push edi
push edi
push pe_nt_image_headers32
push 0x3fd
push eax
call esi
mov dword [0x41d1ac], edi
mov dword [0x41d1b0], edi
pop edi
pop esi
pop ebp
mov dword [0x41d1a8], eax
pop ebx
add esp, 0x2c
ret