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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x820], ebx
je 0x104341b
mov eax, dword [0x1073a08]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x10433e8
cmp dword [ebp + 0xc], 0x462
jne 0x10433d9
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1073a08]
call edi
jmp 0x10433e8
push 0
push eax
call edi
push 0
push dword [0x1073a08]
call esi
mov eax, dword [0x1073a0c]
test eax, eax
je 0x104341b
cmp dword [ebp + 0xc], 0x464
jne 0x104340c
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1073a0c]
call edi
jmp 0x104341b
push 0
push eax
call edi
push 0
push dword [0x1073a0c]
call esi
cmp dword [ebp + 0x10], 0
je 0x1043486
push 0
push ebx
push 0x20
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1073a4c], 0
je 0x1043486
mov al, byte [0x1073a50]
cmp al, 4
jae 0x1043443
test al, al
jne 0x1043486
mov ecx, dword [0x1073a3c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x1043486
mov ecx, dword [0x1073a44]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x1073a40]
jne 0x1043486
cmp eax, ecx
jne 0x1043486
push 1
push 0x1001af0
push dword [0x1073a24]
push dword [0x1073a20]
call fcn.01033365
mov ecx, dword [0x10739c8]
test ecx, ecx
je 0x10438eb
call fcn.0104589a
test eax, eax
je 0x10438eb
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x104383d
mov ecx, dword [0x10739c8]
push edi
call fcn.0104589a
mov ecx, eax
call fcn.01048585
mov esi, eax
cmp esi, edi
je 0x10436d2
push dword [esi + 0xc]
call fcn.01047cb3
mov ecx, 0x1001e44
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10434fc
cmp dx, di
je 0x10434f8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10434fc
add ecx, 4
add eax, 4
cmp dx, di
jne 0x10434d6
xor eax, eax
jmp 0x1043501
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10436c1
push 0x463
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x10739c8]
push esi
mov dword [ebp - 0x81c], eax
call fcn.0104589a
mov ecx, eax
call fcn.010483b2
cmp dword [ebp - 0x81c], edi
je 0x104383d
lea eax, [ebp - 0x814]
push eax
push 0x200
push 0xd
push dword [ebp - 0x81c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x104383d
mov ecx, dword [0x10739c8]
mov dword [ebp - 0x818], 0xe4
call fcn.0104589a
mov ecx, eax
call fcn.010484d9
mov ebx, eax
test ebx, ebx
jne 0x1043595
push 0x1004dd8
push 4
call fcn.01055c2f
and dword [0x107289c], ebx
jmp 0x104383d
cmp dword [esi + 0x90], 0
je 0x1043607
push dword [esi + 0xc]
call fcn.01047cb3
push dword [ebx + 0xc]
mov edi, eax
call fcn.01047cb3
mov cx, word [eax]
cmp cx, word [edi]
jne 0x10435d6
test cx, cx
je 0x10435d2
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x10435d6
add eax, 4
add edi, 4
test cx, cx
jne 0x10435b0
xor eax, eax
jmp 0x10435db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1043607
push dword [esi + 0xc]
call fcn.01047cb3
push eax
push dword [ebx + 0xc]
call fcn.01047cb3
push eax
push 0x1004d78
push 4
call fcn.01055c69
add esp, 0x10
and dword [0x107289c], 0
cmp dword [0x107289c], 0
je 0x104383d
cmp dword [esi + 0x90], 0
jne 0x1043627
mov dword [ebp - 0x818], 0xe3
mov ecx, esi
call fcn.010480bc
test eax, eax
je 0x1043639
and dword [esi + 0xa4], 0
push 0x100
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x818]
push dword [0x1073960]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x104383d
push dword [esi + 0xc]
call fcn.01047cb3
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.01035948
add esp, 0x10
test eax, eax
jl 0x104383d
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.010358c7
test eax, eax
jl 0x104383d
lea eax, [ebp - 0x814]
push eax
push 0
push 0xc
push dword [ebp - 0x81c]
jmp 0x1043837
push 0x1004d38
push 2
call fcn.01055c2f
jmp 0x104383d
mov ecx, dword [0x10739c8]
call fcn.0104589a
mov ecx, eax
call fcn.010484d9
test eax, eax
je 0x104383d
mov ecx, dword [0x10739c8]
call fcn.0104589a
mov ecx, eax
call fcn.010484d9
push 0x463
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x818], eax
cmp eax, edi
je 0x104383d
lea ecx, [ebp - 0x814]
push ecx
push 0x200
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x104383d
mov ecx, esi
mov edi, 0xe3
call fcn.010480bc
lea ebx, [edi + 1]
test eax, eax
je 0x104375c
cmp dword [esi + 0x90], 0
je 0x1043755
mov edi, ebx
and dword [esi + 0xa4], 0
push dword [esi + 0xc]
call fcn.01047cb3
test eax, eax
je 0x10437a4
push dword [esi + 0xc]
call fcn.01047cb3
mov ecx, 0x1001e44
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x104379b
test dx, dx
je 0x1043797
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x104379b
add ecx, 4
add eax, 4
test dx, dx
jne 0x1043775
xor eax, eax
jmp 0x10437a0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10437b8
push 0x1004cf0
xor edi, edi
push 4
mov dword [0x107289c], edi
call fcn.01055c2f
cmp dword [0x107289c], 0
jne 0x10437c5
cmp edi, ebx
jne 0x104383d
push 0x100
lea eax, [ebp - 0x414]
push eax
push edi
push dword [0x1073960]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x104383d
push dword [esi + 0xc]
call fcn.01047cb3
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x214]
push 0x200
push eax
call fcn.01035948
add esp, 0x10
test eax, eax
jl 0x104383d
lea eax, [ebp - 0x214]
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.010358c7
test eax, eax
jl 0x104383d
lea eax, [ebp - 0x814]
push eax
push 0
push 0xc
push dword [ebp - 0x818]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x10], 0
jne 0x10438d1
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x1043865
mov ecx, dword [0x10739c8]
call fcn.010458c9
test eax, eax
jne 0x10438d1
cmp dword [0x107289c], eax
je 0x10438d1
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x147
push dword [0x1073960]
call esi
test eax, eax
je 0x10438eb
test edi, edi
jbe 0x10438c8
push 8
lea eax, [ebp - 0x14]
push eax
push 0xe9
push dword [0x1073960]
call esi
test eax, eax
je 0x10438c8
test edi, edi
jbe 0x10438c8
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0x200
lea eax, [ebp - 0x214]
push eax
call fcn.010358c7
add esi, 0x3e8
cmp esi, edi
jb 0x10438a9
lea eax, [ebp - 0x214]
push eax
jmp 0x10438d6
push 0x1001e44
push 0
push 0xc
push 0x487
push dword [ebp - 0x820]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047464
leave
ret 0x10