Function at 0x429240
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 0x429436
mov esi, dword [esp + 0x34]
test esi, esi
mov dword [esp + 0x18], esi
je 0x429436
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4293e4
mov edi, eax
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x4292c8
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x42932b
mov ecx, dword [0x547570]
test edi, edi
mov dword [esp + 0x10], ecx
jne 0x4292de
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x4292eb
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 0x429327
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 0x42943e
mov dword [esi], eax
mov eax, 0x554e48
test eax, eax
je 0x42935d
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
jmp 0x42935f
xor edi, edi
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x42936d
cmp edi, dword [eax - 4]
jle 0x429380
mov ecx, ebp
call fcn.004124c0
push edi
mov ecx, ebp
call fcn.00405530
test eax, eax
je 0x4293b5
lea eax, [edi + 1]
mov edi, dword [ebp]
test eax, eax
jne 0x42938e
test edi, edi
jne 0x4293ac
push eax
push edi
push 0xffffffffffffffff
push 0x554e48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x4293ac
mov word [edi + eax*2 - 2], 0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00405bb0
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4293e4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4293e4
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x48]
cmp eax, dword [ecx]
je 0x429436
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4293fe
push 0
push eax
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
mov dword [ebx + 0x48], eax
je 0x429436
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.00425f30
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 0x429454
push 0
push eax
mov eax, dword [ebx + 0x54]
push 0x130c
push eax
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x429436
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429436
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret