Function at 0x43f600
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a30
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
mov ebx, ecx
cmp dword [0x56b468], edi
jne 0x43fb92
push esi
push 0x802
lea eax, [ebp - 0xa08]
mov dword [0x56b468], 1
push edi
push eax
call fcn.004e46b0
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x43f996
lea esi, [ebx + 0x40]
mov ecx, 0x516968
mov edx, esi
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43f660
push 0x400
lea eax, [ebp - 0xa08]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x40a
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xa08]
push eax
call fcn.0042a830
lea ecx, [ebp - 0xa08]
add esp, 4
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f6b0
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
sub ecx, edx
sar ecx, 1
je 0x43f909
mov edi, dword [ebx + 0x30]
lea eax, [ebp - 0xa08]
push eax
call fcn.00429b60
add esp, 4
cmp eax, edi
jne 0x43f903
test edi, edi
je 0x43f843
lea eax, [ebp - 0xa08]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1a20], xmm0
call fcn.0042ad90
add esp, 4
test eax, eax
je 0x43f903
lea eax, [ebp - 0x1a20]
push eax
lea eax, [ebp - 0xa08]
push eax
call fcn.004275e0
add esp, 8
test eax, eax
je 0x43f903
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1a1c]
push dword [ebp - 0x1a20]
call fcn.00415f20
add esp, 0xc
push eax
lea eax, [ebp - 0xa08]
push eax
push str.DEVICE_FREE
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x120c]
push 0x401
push eax
call fcn.00405500
add esp, 0x14
lea eax, [ebp - 0x120c]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x555
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x1a1c]
push dword [ebp - 0x1a20]
call fcn.00405cd0
mov ecx, dword [ebp - 0x1a20]
add esp, 8
mov esi, edx
mov edi, eax
mov edx, dword [ebp - 0x1a1c]
mov dword [ebp - 0x1a28], edi
mov dword [ebp - 0x1a24], esi
call fcn.004e23c0
mov edx, esi
movsd qword [ebp - 0x1a30], xmm0
mov ecx, edi
call fcn.004e23c0
movsd xmm1, qword [ebp - 0x1a30]
lea eax, [ebp - 0x204]
divsd xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
push str._.2f
push eax
call fcn.004054c0
add esp, 0x10
lea eax, [ebp - 0x204]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x536
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
lea eax, [ebp - 0x1a28]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x552
call dword [eax + 0x8c]
push eax
call fcn.00406750
add esp, 8
lea esi, [ebx + 0x40]
jmp 0x43f8e6
push 0x400
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0xa08]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
test eax, eax
je 0x43f903
lea eax, [ebp - 0x1a28]
push eax
lea eax, [ebp - 0x120c]
push eax
call fcn.00429220
add esp, 8
test eax, eax
je 0x43f903
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1a24]
push dword [ebp - 0x1a28]
call fcn.00415f20
add esp, 0xc
push eax
lea eax, [ebp - 0x120c]
push eax
push str.DISK_FREE
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x1a10]
push 0x401
push eax
call fcn.00405500
add esp, 0x14
lea eax, [ebp - 0x1a10]
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x555
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
lea ecx, [ebp - 0xa08]
mov edx, esi
mov eax, ecx
sub edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x43f8f2
jmp 0x43f909
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 0x516968
nop
mov cx, word [esi]
cmp cx, word [eax]
jne 0x43f936
test cx, cx
je 0x43f932
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x43f936
add esi, 4
add eax, 4
test cx, cx
jne 0x43f910
xor eax, eax
jmp 0x43f93b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43f95f
push str.LOCATION_INPUT_INFO
call fcn.004bb8b0
add esp, 4
mov ecx, ebx
push eax
mov eax, dword [ebx]
push 0x555
call dword [eax + 0x8c]
push eax
call edi
xor edi, edi
mov ecx, 0x516968
lea eax, [ebp - 0xa08]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f9b3
test dx, dx
je 0x43f992
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f9b3
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f970
xor eax, eax
jmp 0x43f9b8
lea ecx, [ebx + 0x40]
lea edx, [ebp - 0xa08]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43f9a1
jmp 0x43f961
sbb eax, eax
or eax, 1
test eax, eax
je 0x43fb73
cmp dword [ebx + 0x30], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x1a18], xmm0
je 0x43fa24
lea eax, [ebp - 0xa08]
push eax
call fcn.00427e90
mov esi, eax
lea eax, [ebp - 0x1a18]
push 0
push eax
lea eax, [ebp - 0xa08]
push eax
call fcn.004296e0
add esp, 0x10
test eax, eax
je 0x43fb73
push esi
push dword [ebp - 0x1a14]
push dword [ebp - 0x1a18]
call fcn.00415690
mov ecx, eax
mov dword [ebp - 0x1a14], edx
add esp, 0xc
mov dword [ebp - 0x1a18], ecx
jmp 0x43fa6a
mov eax, dword [ebx]
mov ecx, ebx
push 0x200
push 0x552
call dword [eax + 0x8c]
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 0x536
call dword [eax + 0x8c]
push eax
call fcn.00405d30
mov ecx, eax
mov dword [ebp - 0x1a14], edx
and eax, edx
mov dword [ebp - 0x1a18], ecx
add esp, 0xc
cmp eax, 0xffffffff
je 0x43fb73
cmp dword [ebx + 0x34], 0
mov esi, ecx
mov eax, edx
je 0x43fa92
add esi, 0xfffab000
adc eax, 0xffffffff
cmp eax, 0x7fff
ja 0x43fb73
jb 0x43fab4
cmp esi, 0xfff6b000
jmp 0x43faae
add esi, 0xfffb7000
adc eax, 0xffffffff
cmp eax, 0x3ffff
ja 0x43fb73
jb 0x43fab4
cmp esi, 0xfffb7000
ja 0x43fb73
cmp dword [ebx + 0x30], 0
jne 0x43fb2b
push 0x400
lea eax, [ebp - 0x1a10]
push eax
lea eax, [ebp - 0xa08]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNameW]
test eax, eax
je 0x43fb73
lea eax, [ebp - 0x1a28]
push eax
lea eax, [ebp - 0x1a10]
push eax
call fcn.00429220
add esp, 8
test eax, eax
je 0x43fb73
mov eax, dword [ebx]
mov ecx, ebx
push 0x58f
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
cmp dword [ebx + 0x34], 0
jne 0x43fba4
test eax, eax
je 0x43fba4
mov edx, dword [ebp - 0x1a14]
mov ecx, dword [ebp - 0x1a18]
push dword [ebx + 0x38]
mov eax, dword [ebx]
mov dword [ebx + 0x28], ecx
mov ecx, ebx
push 0x3ea
mov dword [ebx + 0x2c], edx
call dword [eax + 0x8c]
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 0x40b
call dword [eax + 0x8c]
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x8c]
push eax
call fcn.004bd7d0
add esp, 0x10
mov ecx, 1
test eax, eax
cmovne edi, ecx
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 1
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [0x56b468], 0
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x1a14]
cmp edx, dword [ebp - 0x1a24]
jg 0x43fb73
jl 0x43fb25
mov ecx, dword [ebp - 0x1a18]
cmp ecx, dword [ebp - 0x1a28]
ja 0x43fb73
jmp 0x43fb2b