Function at 0x4290a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [ebx + 0x54]
push 0x130b
push eax
call esi
mov edx, eax
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 8
push ecx
push edx
mov edx, dword [ebx + 0x54]
push 0x133c
push edx
call esi
test eax, eax
je 0x429296
mov esi, dword [esp + 0x34]
test esi, esi
mov dword [esp + 0x18], esi
je 0x429296
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x429244
mov edi, eax
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x429128
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42918b
mov ecx, dword [0x546560]
test edi, edi
mov dword [esp + 0x10], ecx
jne 0x42913e
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x42914b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], eax
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x429187
lea eax, [esi + esi]
mov esi, edi
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], edx
mov ecx, dword [esp + 0x10]
mov word [eax + ecx], 0
mov esi, dword [esp + 0x34]
mov edx, dword [ebx + 0x60]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebp
push 0xd25
push edx
call edi
test eax, eax
je 0x42929e
mov dword [esi], eax
mov eax, 0x553dd8
test eax, eax
je 0x4291bd
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
jmp 0x4291bf
xor edi, edi
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x4291cd
cmp edi, dword [eax - 4]
jle 0x4291e0
mov ecx, ebp
call fcn.00412670
push edi
mov ecx, ebp
call fcn.00405530
test eax, eax
je 0x429215
lea eax, [edi + 1]
mov edi, dword [ebp]
test eax, eax
jne 0x4291ee
test edi, edi
jne 0x42920c
push eax
push edi
push 0xffffffffffffffff
push 0x553dd8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x42920c
mov word [edi + eax*2 - 2], 0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00405bb0
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429244
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429244
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x48]
cmp eax, dword [ecx]
je 0x429296
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x42925e
push 0
push eax
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
mov dword [ebx + 0x48], eax
je 0x429296
push 0
push eax
mov eax, dword [ebx + 0x60]
push 0xd23
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x48]
push 0
mov dword [ebx + 0x4c], ecx
push 1
mov ecx, ebx
call fcn.00426050
mov edx, dword [ebx + 0x48]
push 5
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [ebx + 0x44]
cmp eax, 0xffffffff
je 0x4292b4
push 0
push eax
mov eax, dword [ebx + 0x54]
push 0x130c
push eax
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429296
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429296
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret