Function at 0x42d4b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ab6c7
push eax
mov eax, 0x2034
mov dword fs:[0], esp
call fcn.004a2ae0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x20]
call fcn.004288b0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x154]
xor ebp, ebp
cmp eax, ebp
jne 0x42d4f7
mov dword [esp + 0x18], ebp
jmp 0x42d506
mov ecx, dword [esi + 0x158]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x18], ecx
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [0x4c2080]
mov dword [esp + 0x10], eax
mov dword [esp + 0x204c], ebp
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2a]
lea ecx, [esp + 0x2b]
push eax
push ebp
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x2058], 1
call fcn.00430020
push ebp
lea edx, [esp + 0x38]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x2058], 2
call fcn.0042d2f0
cmp dword [esp + 0x18], ebp
jle 0x42d737
mov eax, dword [esi + 0x154]
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [eax + ebp*8]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.0043cc70
mov ebx, eax
mov eax, dword [ebx + 0x98]
test eax, eax
jne 0x42d72a
mov ecx, dword [esi + 0xdc]
lea eax, [ebp + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x20], eax
je 0x42d72a
lea edx, [esp + 0x44]
push 0x1000
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x44]
test eax, eax
je 0x42d5cf
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00405750
lea ecx, [esp + 0x10]
call fcn.00405940
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x42d630
mov ax, word [esi]
push eax
call dword [sym.imp.MSVCRT.dll_iswspace]
add esp, 4
test eax, eax
je 0x42d60b
test edi, edi
jne 0x42d60d
mov edi, esi
jmp 0x42d60d
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x42d5f2
test edi, edi
je 0x42d630
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
call fcn.00405940
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_iswspace]
mov ax, word [esi]
push eax
call edi
add esp, 4
test eax, eax
je 0x42d666
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
push eax
call edi
add esp, 4
test eax, eax
jne 0x42d650
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
mov ecx, dword [eax - 4]
lea edx, [edi + edi + 2]
push edx
lea edx, [ecx + ecx + 2]
push esi
push edx
push eax
call fcn.00410080
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [eax - 8], edi
mov ecx, dword [0x4c2080]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0x205c], 3
call fcn.0042e220
test eax, eax
je 0x42d74e
lea edx, [esp + 0x44]
lea esi, [ebx + 0x2c]
test edx, edx
jne 0x42d6d7
xor eax, eax
jmp 0x42d6e2
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, esi
call fcn.00405750
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c2084]
mov byte [esp + 0x204c], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42d726
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d726
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x42d563
mov eax, dword [esi + 0x164]
test eax, eax
jne 0x42d859
mov dword [esp + 0x18], eax
jmp 0x42d868
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d781
mov ecx, 0x4d1ad0
call fcn.0047ee50
mov ecx, eax
call fcn.0043c810
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
add eax, 4
push 0x40
mov eax, dword [eax]
push eax
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call esi
push 0
push 0
push 0xb7
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d7dd
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42d7e3
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00442ac0
add esp, 4
jmp 0x42d7e3
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204c], 1
call fcn.0042fe20
mov eax, dword [esp + 0x24]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42d81f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42d81f
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42dbc5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42dbc5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
xor eax, eax
jmp 0x42dab0
mov ecx, dword [esi + 0x168]
sub ecx, eax
sar ecx, 3
mov dword [esp + 0x18], ecx
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
mov dword [esp + 0x20], edi
jle 0x42da75
mov eax, dword [esi + 0x164]
mov ecx, dword [eax + edi*8 + 4]
mov edx, dword [eax + edi*8]
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.0043cc70
mov ebp, eax
mov eax, dword [ebp + 0x98]
test eax, eax
jne 0x42da64
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x42da64
mov ecx, dword [esi + 0xdc]
lea eax, [edi + 0x29cc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [esp + 0x30], eax
je 0x42da64
lea edx, [esp + 0x44]
push 0x1000
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x44]
test eax, eax
je 0x42d901
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00405750
lea ecx, [esp + 0x10]
call fcn.00405940
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x42d966
mov ax, word [esi]
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
push eax
call ebx
add esp, 4
test eax, eax
je 0x42d93f
test edi, edi
jne 0x42d941
mov edi, esi
jmp 0x42d941
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x42d924
test edi, edi
je 0x42d96c
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
jmp 0x42d96c
mov ebx, dword [sym.imp.MSVCRT.dll_iswspace]
lea ecx, [esp + 0x10]
call fcn.00405940
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x42d99c
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
push eax
call ebx
add esp, 4
test eax, eax
jne 0x42d986
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
mov ecx, dword [eax - 4]
lea edx, [edi + edi + 2]
push edx
lea edx, [ecx + ecx + 2]
push esi
push edx
push eax
call fcn.00410080
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [eax - 8], edi
mov ecx, dword [0x4c2080]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
mov byte [esp + 0x205c], 4
call fcn.0042e220
test eax, eax
je 0x42dac9
lea edx, [esp + 0x44]
lea esi, [ebp + 0x2c]
test edx, edx
jne 0x42da0d
xor eax, eax
jmp 0x42da18
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, esi
call fcn.00405750
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4c2084]
mov byte [esp + 0x204c], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42da5c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42da5c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jl 0x42d887
lea ecx, [esp + 0x34]
mov byte [esp + 0x204c], 1
call fcn.0042fe20
lea ecx, [esp + 0x24]
mov byte [esp + 0x204c], 0
call fcn.004056c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x204c], 0xffffffff
call fcn.004056c0
mov eax, 1
mov ecx, dword [esp + 0x2044]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2040
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42dafc
mov ecx, 0x4d1ad0
call fcn.0047ee50
mov ecx, eax
call fcn.0043c810
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
add eax, 4
push 0x40
mov eax, dword [eax]
push eax
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, dword [esp + 0x30]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call esi
push 0
push 0
push 0xb7
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42db58
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42db5e
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00442ac0
add esp, 4
jmp 0x42db5e
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [esp + 0x34]
mov byte [esp + 0x204c], 1
call fcn.0042fe20
mov eax, dword [esp + 0x24]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42db9a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42db9a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42dbc5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42dbc5
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
xor eax, eax
jmp 0x42dab0