Function at 0x428270
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
lea eax, [esp + 0x3c]
push ebx
mov ebx, ecx
push ebp
neg eax
sbb eax, eax
lea ecx, [esp + 0x48]
and eax, ecx
push esi
push edi
mov dword [esp + 0x28], 0xb
mov edx, dword [eax]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.005103f0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.004286f0
mov eax, dword [esp + 0x10]
mov ecx, 0x104
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x4282c4
cmp dword [eax - 4], ecx
jge 0x428324
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x4282d1
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x428324
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax - 8], ecx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x428320
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428320
push ebp
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
push 0x30
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x104
call fcn.00532695
mov esi, eax
add esp, 4
test esi, esi
je 0x42835a
lea ecx, [esi + 4]
call fcn.004284f0
lea ecx, [esi + 0x28]
call fcn.005107a0
mov dword [esi], 0
mov eax, esi
jmp 0x42835c
xor eax, eax
mov ebp, dword [esp + 0x48]
lea esi, [esp + 0x4c]
neg esi
sbb esi, esi
lea edx, [esp + 0x50]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x48]
mov dword [eax], ebp
and esi, edx
lea edi, [eax + 0x2c]
call fcn.004236f0
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x554e40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x48]
call fcn.00424b40
push esi
mov ecx, edi
call fcn.00406370
push 5
push ebp
mov dword [ebx + 0x4c], ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [esp + 0x50]
call fcn.005114b0
mov edi, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
cmp edi, 0xffffffff
jne 0x4283f4
mov eax, dword [ebx + 0x54]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x132f
push eax
call esi
mov edx, dword [ebx + 0x54]
lea ecx, [esp + 0x28]
inc eax
push ecx
push eax
push 0x133e
push edx
call esi
mov edi, eax
jmp 0x42840b
mov ecx, dword [ebx + 0x54]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x28]
push eax
push edi
push 0x133e
push ecx
call esi
mov edx, dword [ebx + 0x54]
xor ebp, ebp
push ebp
push edi
push 0x130c
push edx
call esi
cmp dword [ebx + 0x2c], ebp
je 0x428489
mov edx, dword [ebx + 0x54]
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
push ebp
mov dword [esp + 0x28], eax
push 0x130a
push edx
mov dword [ebx + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], eax
call esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fmul qword [0x541fb8]
call fcn.005332c8
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
and eax, 0xffff
sub ecx, edx
mov edx, dword [ebx + 0x54]
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
push eax
push ebp
push 0x1329
push edx
call esi
push ebp
push 1
mov ecx, ebx
call fcn.00425f30
mov ecx, ebx
call fcn.00429240
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x4284cd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4284cd
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.00510740
mov eax, 1
add esp, 0x34
ret 0x10