Function at 0x413a7c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [eax + 0x1c], 8
mov esi, ecx
jne 0x413ca4
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax + 0x14]
je 0x413ca4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x1032
mov dword [ebp - 8], ebx
push dword [esi + 0x58]
mov dword [ebp - 0xc], ebx
call edi
cmp eax, 1
jg 0x413ca4
je 0x413b36
lea edi, [esi + 0x18c]
mov ecx, edi
call fcn.0040181c
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f9
mov dword [ebp + 0xc], eax
push dword [esi + 4]
call edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3e8
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3fa
push dword [esi + 4]
call edi
push 0
push eax
call ebx
jmp 0x413c97
mov eax, dword [ebp + 0xc]
push 2
mov eax, dword [eax + 0xc]
push eax
push 0x102c
push dword [esi + 0x58]
call edi
cmp eax, 2
jne 0x413c97
push eax
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x58]
call edi
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x1005
mov dword [ebp - 0x3c], ebx
push dword [esi + 0x58]
mov dword [ebp - 0x44], 4
call edi
mov eax, dword [ebp - 0x24]
lea edi, [eax + 0x30]
mov ecx, edi
call fcn.0040181c
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f9
mov dword [ebp + 0xc], eax
push dword [esi + 4]
call edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x4c]
cmp eax, ebx
je 0x413bcb
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x413bcb
push 5
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [ebp - 1], 0
and byte [ebp + 0xf], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0x41b3cc
mov ecx, dword [eax + 0x68]
push 0xf
call fcn.00402eeb
mov eax, dword [ebp - 0x24]
push 1
pop ecx
cmp dword [eax + 0x60], ecx
jne 0x413c39
mov eax, dword [eax + 0x68]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], cl
mov byte [ebp + 0xf], cl
mov eax, dword [eax + 0x68]
push 0x41e69c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], eax
call fcn.00404554
test al, al
jne 0x413c33
push 0x41e698
lea ecx, [ebp - 0x1c]
call fcn.00404554
test al, al
je 0x413c4e
and byte [ebp + 0xf], 0
jmp 0x413c4e
push 0x41e1c8
lea ecx, [ebp - 0x1c]
call fcn.00404554
test al, al
je 0x413c4e
mov byte [ebp + 0xf], 1
push 0x3e9
push dword [esi + 4]
call edi
xor ecx, ecx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebp + 0xf], cl
setne cl
push ecx
push eax
call ebx
push 0x3e8
push dword [esi + 4]
call edi
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
push ecx
push eax
call ebx
push 0x3fa
push dword [esi + 4]
call edi
push 1
push eax
call ebx
lea ecx, [ebp - 0x1c]
call fcn.004016bf
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0xc]
call fcn.00414a8f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc