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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c7fb
mov eax, dword fs:[0]
push eax
mov eax, 0x5fe8
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x27c], ax
lea eax, [ebp - 0x27a]
push eax
call fcn.00417930
add esp, 0xc
lea ecx, [ebp - 0x5ff0]
call fcn.00408870
xor eax, eax
mov dword [ebp - 4], 0
push 0x64
push eax
mov word [ebp - 0x12f8], ax
lea eax, [ebp - 0x12f6]
push eax
call fcn.00417930
push 0x3fc
lea eax, [ebp - 0x1292]
push 0
push eax
call fcn.00417930
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa7c], ax
lea eax, [ebp - 0xa7a]
push eax
call fcn.00417930
add esp, 0x24
cmp dword [ebx + 0xdc], 5
jne 0x40b416
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40b77c
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x40]
call esi
push 0
push dword [ebx + 0x80]
call esi
push 0
lea ecx, [ebp - 0x5ff0]
call fcn.00409ac0
mov ecx, eax
cmp ecx, 9
jg 0x40b459
cmp ecx, 8
jge case.0x40b452.0
cmp ecx, 6
ja case.0x40b452.2
movzx eax, byte [ecx + 0x40b7b8]
jmp dword [eax*4 + 0x40b7b0]
sub eax, 0x15
je 0x40b628
sub eax, 2
je case.0x40b452.0
sub eax, 0x49a
je 0x40b628
push 0x400
lea eax, [ebp - 0xa7c]
push eax
push 0x7f
push dword [0x440914]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa7c]
push eax
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x40b70d
push ecx
lea ecx, [ebp - 0x5ff0]
call fcn.0040a990
push 0x104
lea eax, [ebp - 0x27c]
push eax
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x5ff0]
mov edi, 3
push eax
call fcn.0040c0d0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0xe94], 0x418
push eax
push 0x42de44
lea eax, [ebp - 0xc84]
push 0x104
push eax
call fcn.00401280
add esp, 0x10
cmp esi, 0x18
jne 0x40b5e7
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.0040ae50
test al, al
je 0x40b5e7
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x5ff0]
call fcn.00409870
push 0x400
lea eax, [ebp - 0xa7c]
push eax
push 0x7a
push dword [0x440914]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa7c]
push eax
push dword [ebx + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
lea ecx, [ebp - 0x5ff0]
call fcn.0040a9b0
lea eax, [ebp - 0x12f8]
push eax
lea ecx, [ebp - 0x5ff0]
call fcn.00409ed0
push 0
lea eax, [ebp - 0x12f8]
push eax
lea ecx, [ebp - 0x5ff0]
call fcn.00409250
mov edi, eax
cmp edi, 0x15
jne 0x40b5e7
lea eax, [ebp - 0xe94]
mov dword [ebp - 0xe90], 0x40000fa0
push eax
call sub.GIDBIN1.dll_GIDSDKAddEvent
add esp, 4
mov dword [ebx + 0xd8], 1
call sub.GIDBIN1.dll_GIDSDKGetAppID
mov dword [ebp - 0x5ff4], eax
call fcn.0040c070
mov ecx, eax
mov eax, dword [ebp - 0x5ff4]
test al, 1
je 0x40b5d9
test ecx, ecx
jne 0x40b5dd
test al, 2
je 0x40b5e7
push 1
call fcn.0040aeb0
add esp, 4
mov dword [ebx + 0xe4], edi
cmp edi, 3
je 0x40b603
cmp edi, 6
jne 0x40b61c
mov dword [ebp - 0xe90], 0x80000bb8
jmp 0x40b60d
mov dword [ebp - 0xe90], 0x800007d0
lea eax, [ebp - 0xe94]
push eax
call sub.GIDBIN1.dll_GIDSDKAddEvent
add esp, 4
mov ecx, ebx
call fcn.0040bde0
jmp 0x40b70d
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00417930
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xa7c]
add esp, 0xc
push 0x400
push eax
push 0x7a
push dword [0x440914]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0xa7c]
push eax
push dword [ebx + 0x40]
call esi
push 0
lea ecx, [ebp - 0x5ff0]
call fcn.00409b60
push eax
push dword [ebx + 0x30]
call esi
push 0x32
lea eax, [ebp - 0x74]
push eax
push 0x8c
push dword [0x440914]
call edi
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0x38]
call esi
lea ecx, [ebp - 0x5ff0]
mov dword [ebx + 0xdc], 4
call fcn.00409890
cmp eax, 0x15
jne 0x40b702
push 0
lea ecx, [ebp - 0x5ff0]
mov dword [ebp - 0xe94], 0x418
mov dword [ebp - 0xe90], 0x40001388
call fcn.00409b60
push eax
push 0x42de44
lea eax, [ebp - 0xc84]
push 0x104
push eax
call fcn.00401280
lea eax, [ebp - 0xe94]
push eax
call sub.GIDBIN1.dll_GIDSDKAddEvent
push 0
call fcn.0040aeb0
add esp, 0x18
push 0
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, ebx
call fcn.0040b950
push str.GIDDESKTOP_TRAY_UPDATEICONFROMTB_49C3FF3C_476F_4e37_8ABB_A97680560C73
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, eax
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push str.GIDDESKTOP_TRAY_CHECKSTATUS_49C3FF3C_476F_4e37_8ABB_A97680560C73
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
push esi
call ebx
push esi
call edi
push str.GIDTOOLBAR_UPDATEIETOOLBARBECAUSEOFLICMAN
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
push esi
call ebx
push esi
call edi
push str.GIDTOOLBAR_UPDATEFFTOOLBARBECAUSEOFLICMAN
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
push esi
call ebx
push esi
call edi
lea ecx, [ebp - 0x5ff0]
mov dword [ebp - 4], 0xffffffff
call fcn.00408930
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret 0x10