Function at 0x40950b
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x410ab4
call fcn.0040ff00
sub esp, 0x168
push ebx
push esi
push edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov esi, ecx
push edi
push 1
push 0x1003
push dword [esi + 0xe0]
call ebx
mov ecx, esi
call fcn.00409a7f
mov ecx, dword [esi + 0x154]
lea eax, [esi + 0x154]
cmp ecx, 0xffffffff
je 0x409590
cmp dword [esi + 0x158], 0xffffffff
jne 0x409590
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x1b4]
call fcn.0040c675
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1b8]
je 0x409583
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x409583
mov edi, dword [eax + 0x18]
sub edi, ecx
sar edi, 2
push 0
push edi
push 0x102f
jmp 0x4098fe
lea eax, [ebp - 0x14]
mov dword [ebp - 0x48], 0xf
push eax
mov dword [ebp - 0x44], edi
push dword [esi + 0x158]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], 0x64
mov dword [ebp - 0x14], edi
push ecx
mov ecx, dword [esi + 0x180]
call fcn.00405761
test eax, eax
jl 0x409906
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x15c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
jl 0x409666
and byte [ebp - 0x174], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
mov dword [ebp - 0x18], 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edi, edi
cmp dword [esi + 0x15c], edi
jle 0x409664
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x174]
mov eax, dword [ecx]
push edx
push edi
call dword [eax + 0x24]
test eax, eax
jge 0x40962f
lea eax, [ebp - 0x174]
push 0x415ee0
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x174]
mov dword [ebp - 0x18], 0x103
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x160]
lea eax, [eax + edi + 1]
push eax
push 0x101b
push dword [esi + 0xe0]
call ebx
inc edi
cmp edi, dword [esi + 0x15c]
jl 0x409604
xor edi, edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edi
lea edx, [ebp - 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
test eax, eax
jl 0x409694
push dword [ebp - 0x28]
mov byte [esi + 0x168], 1
push 1
push 0x1003
push dword [esi + 0xe0]
call ebx
jmp 0x40969b
and byte [esi + 0x168], 0
mov eax, dword [esi + 0x154]
lea ecx, [esi + 0x170]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c5b8
mov eax, dword [ebp - 0x10]
cmp byte [ebp + 8], 1
mov cl, byte [eax + 0x14]
je 0x4096e0
test cl, cl
je 0x4096e0
mov eax, dword [eax + 0x18]
lea edi, [esi + 0x164]
mov dword [edi], eax
jmp 0x409782
mov ecx, dword [ebp - 0x14]
and dword [esi + 0x164], 0
lea edi, [esi + 0x164]
add eax, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x48]
lea ecx, [eax + 0x44]
mov eax, dword [eax + 0x4c]
push eax
push edx
call fcn.0040be71
mov eax, dword [edi]
dec eax
mov dword [ebp + 8], eax
js 0x409739
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x44]
call fcn.0040b375
dec dword [ebp + 8]
jns 0x409725
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x409750
mov edx, dword [eax + 0x2c]
sub edx, ecx
test edx, 0xfffffffc
jne 0x40977e
and dword [ebp + 8], 0
cmp dword [esi + 0x15c], 0
jle 0x40977e
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 0x24]
call fcn.0040b303
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x15c]
mov eax, dword [ebp - 0x10]
jl 0x40975d
mov byte [eax + 0x14], 1
push dword [esi + 0x158]
lea ecx, [esi + 0x184]
push dword [esi + 0x154]
push dword [edi]
call fcn.00403f59
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
cmp eax, 0xffffffff
je 0x4097b0
push 0
push eax
mov ecx, esi
call fcn.0040a37a
push 0
push dword [edi]
push 0x102f
push dword [esi + 0xe0]
call ebx
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
cmp dword [esi + 0x15c], eax
mov dword [ebp + 8], eax
jl 0x40980f
mov eax, dword [ebp + 8]
dec eax
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x34]
call fcn.00403ba8
movzx eax, word [eax]
push eax
push dword [ebp + 8]
push 0x101e
push dword [esi + 0xe0]
call ebx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x15c]
jle 0x4097dd
cmp dword [edi], 0
jle 0x4098dc
push 1
pop eax
cmp dword [esi + 0x15c], eax
mov dword [ebp + 8], eax
jl 0x4098dc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push dword [esi + 0x16c]
dec eax
lea ecx, [esi + 0x184]
push eax
push 0
call fcn.0040408a
cmp al, 1
jne 0x4098b2
mov eax, dword [ebp - 0x24]
cmp ax, 2
je 0x40988b
cmp ax, 3
je 0x40988b
cmp ax, 4
je 0x40988b
cmp ax, 5
je 0x40988b
cmp ax, 0x12
je 0x40988b
cmp ax, 0x13
je 0x40988b
cmp ax, 0x14
je 0x40988b
cmp ax, 0x15
jne 0x4098b2
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x64]
push 1
rep stosd dword es:[edi], eax
pop eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
push 0x101a
push dword [esi + 0xe0]
call ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4098ca
push eax
call fcn.0040f574
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x15c]
jle 0x40982a
push 1
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
pop eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x102b
push dword [esi + 0xe0]
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4