Function at 0x104339c
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 0x1043435
mov eax, dword [0x1073a08]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x1043402
cmp dword [ebp + 0xc], 0x462
jne 0x10433f3
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1073a08]
call edi
jmp 0x1043402
push 0
push eax
call edi
push 0
push dword [0x1073a08]
call esi
mov eax, dword [0x1073a0c]
test eax, eax
je 0x1043435
cmp dword [ebp + 0xc], 0x464
jne 0x1043426
push dword [ebp + 0x10]
push eax
call esi
push 5
push dword [0x1073a0c]
call edi
jmp 0x1043435
push 0
push eax
call edi
push 0
push dword [0x1073a0c]
call esi
cmp dword [ebp + 0x10], 0
je 0x10434a0
push 0
push ebx
push 0x20
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1073a4c], 0
je 0x10434a0
mov al, byte [0x1073a50]
cmp al, 4
jae 0x104345d
test al, al
jne 0x10434a0
mov ecx, dword [0x1073a3c]
mov edx, 0x80000000
and ecx, edx
xor eax, eax
or eax, ecx
je 0x10434a0
mov ecx, dword [0x1073a44]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x1073a40]
jne 0x10434a0
cmp eax, ecx
jne 0x10434a0
push 1
push 0x1001af0
push dword [0x1073a24]
push dword [0x1073a20]
call fcn.01033385
mov ecx, dword [0x10739c8]
test ecx, ecx
je 0x1043905
call fcn.010458b7
test eax, eax
je 0x1043905
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x1043857
mov ecx, dword [0x10739c8]
push edi
call fcn.010458b7
mov ecx, eax
call fcn.010485a5
mov esi, eax
cmp esi, edi
je 0x10436ec
push dword [esi + 0xc]
call fcn.01047cd3
mov ecx, 0x1001e44
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1043516
cmp dx, di
je 0x1043512
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1043516
add ecx, 4
add eax, 4
cmp dx, di
jne 0x10434f0
xor eax, eax
jmp 0x104351b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x10436db
push 0x463
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x10739c8]
push esi
mov dword [ebp - 0x81c], eax
call fcn.010458b7
mov ecx, eax
call fcn.010483d2
cmp dword [ebp - 0x81c], edi
je 0x1043857
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 0x1043857
mov ecx, dword [0x10739c8]
mov dword [ebp - 0x818], 0xe4
call fcn.010458b7
mov ecx, eax
call fcn.010484f9
mov ebx, eax
test ebx, ebx
jne 0x10435af
push 0x1004dd8
push 4
call fcn.01055c50
and dword [0x107289c], ebx
jmp 0x1043857
cmp dword [esi + 0x90], 0
je 0x1043621
push dword [esi + 0xc]
call fcn.01047cd3
push dword [ebx + 0xc]
mov edi, eax
call fcn.01047cd3
mov cx, word [eax]
cmp cx, word [edi]
jne 0x10435f0
test cx, cx
je 0x10435ec
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x10435f0
add eax, 4
add edi, 4
test cx, cx
jne 0x10435ca
xor eax, eax
jmp 0x10435f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1043621
push dword [esi + 0xc]
call fcn.01047cd3
push eax
push dword [ebx + 0xc]
call fcn.01047cd3
push eax
push 0x1004d78
push 4
call fcn.01055c8a
add esp, 0x10
and dword [0x107289c], 0
cmp dword [0x107289c], 0
je 0x1043857
cmp dword [esi + 0x90], 0
jne 0x1043641
mov dword [ebp - 0x818], 0xe3
mov ecx, esi
call fcn.010480dc
test eax, eax
je 0x1043653
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 0x1043857
push dword [esi + 0xc]
call fcn.01047cd3
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.01035968
add esp, 0x10
test eax, eax
jl 0x1043857
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.010358e7
test eax, eax
jl 0x1043857
lea eax, [ebp - 0x814]
push eax
push 0
push 0xc
push dword [ebp - 0x81c]
jmp 0x1043851
push 0x1004d38
push 2
call fcn.01055c50
jmp 0x1043857
mov ecx, dword [0x10739c8]
call fcn.010458b7
mov ecx, eax
call fcn.010484f9
test eax, eax
je 0x1043857
mov ecx, dword [0x10739c8]
call fcn.010458b7
mov ecx, eax
call fcn.010484f9
push 0x463
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x818], eax
cmp eax, edi
je 0x1043857
lea ecx, [ebp - 0x814]
push ecx
push 0x200
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1043857
mov ecx, esi
mov edi, 0xe3
call fcn.010480dc
lea ebx, [edi + 1]
test eax, eax
je 0x1043776
cmp dword [esi + 0x90], 0
je 0x104376f
mov edi, ebx
and dword [esi + 0xa4], 0
push dword [esi + 0xc]
call fcn.01047cd3
test eax, eax
je 0x10437be
push dword [esi + 0xc]
call fcn.01047cd3
mov ecx, 0x1001e44
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10437b5
test dx, dx
je 0x10437b1
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10437b5
add ecx, 4
add eax, 4
test dx, dx
jne 0x104378f
xor eax, eax
jmp 0x10437ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10437d2
push 0x1004cf0
xor edi, edi
push 4
mov dword [0x107289c], edi
call fcn.01055c50
cmp dword [0x107289c], 0
jne 0x10437df
cmp edi, ebx
jne 0x1043857
push 0x100
lea eax, [ebp - 0x414]
push eax
push edi
push dword [0x1073960]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1043857
push dword [esi + 0xc]
call fcn.01047cd3
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x214]
push 0x200
push eax
call fcn.01035968
add esp, 0x10
test eax, eax
jl 0x1043857
lea eax, [ebp - 0x214]
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.010358e7
test eax, eax
jl 0x1043857
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 0x10438eb
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x104387f
mov ecx, dword [0x10739c8]
call fcn.010458e6
test eax, eax
jne 0x10438eb
cmp dword [0x107289c], eax
je 0x10438eb
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 0x1043905
test edi, edi
jbe 0x10438e2
push 8
lea eax, [ebp - 0x14]
push eax
push 0xe9
push dword [0x1073960]
call esi
test eax, eax
je 0x10438e2
test edi, edi
jbe 0x10438e2
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0x200
lea eax, [ebp - 0x214]
push eax
call fcn.010358e7
add esi, 0x3e8
cmp esi, edi
jb 0x10438c3
lea eax, [ebp - 0x214]
push eax
jmp 0x10438f0
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.01047480
leave
ret 0x10