Function at 0x4280d0
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.0050faf0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00428550
mov eax, dword [esp + 0x10]
mov ecx, 0x104
mov edx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp edx, 1
jg 0x428124
cmp dword [eax - 4], ecx
jge 0x428184
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x14], esi
jle 0x428131
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x428184
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 [0x546564]
cmp ebp, eax
je 0x428180
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x428180
push ebp
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
push 0x30
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x104
call fcn.00531ba5
mov esi, eax
add esp, 4
test esi, esi
je 0x4281ba
lea ecx, [esi + 4]
call fcn.00428350
lea ecx, [esi + 0x28]
call fcn.0050fea0
mov dword [esi], 0
mov eax, esi
jmp 0x4281bc
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.00423820
mov ecx, dword [edi]
mov dword [edi], 0
mov eax, dword [0x553dd0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0x48]
call fcn.00424c60
push esi
mov ecx, edi
call fcn.00406280
push 5
push ebp
mov dword [ebx + 0x4c], ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [esp + 0x50]
call fcn.00510bb0
mov edi, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
cmp edi, 0xffffffff
jne 0x428254
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 0x42826b
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 0x4282e9
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 [0x540fb0]
call fcn.005327d8
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.00426050
mov ecx, ebx
call fcn.004290a0
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42832d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42832d
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.0050fe40
mov eax, 1
add esp, 0x34
ret 0x10