Function at 0x42acb7
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x476548
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
cmp dword [ebp + 0x6c8], 0
jne 0x42ac48
push 0x220
call fcn.0045a06d
mov esi, eax
add esp, 4
test esi, esi
jne 0x42ac0a
xor al, al
mov byte [esp + 0x28], al
push 0x483da4
lea eax, [esp + 0x2c]
push eax
call fcn.0045e39b
mov dword [esi], vtable.KRichEdit.0
mov dword [esi + 4], 0
mov ebx, dword [ebp + 0x30]
mov ecx, 0x12c
mov dword [ebp + 0x6c8], esi
mov dword [esi + 8], ecx
mov edx, ecx
lea eax, [ecx + 0x64]
mov dword [esi + 0xc], edx
mov edi, 0x2bc
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov eax, 0x131
push eax
mov eax, ebx
call fcn.00458f30
mov esi, dword [ebp + 0x6c8]
mov dword [ebp + 0x6cc], 0
cmp dword [esi + 4], 0
mov ebx, 1
jne 0x42ac73
push ecx
mov eax, esp
mov dword [eax], 0
xor eax, eax
call fcn.00458f30
mov esi, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x42ac85
push 1
push esi
call edi
mov edx, dword [0x48eacc]
mov eax, dword [edx + 0xc]
mov ecx, 0x48eacc
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x2c]
lea eax, [esi - 0x78]
mov dword [esp + 0x20], 0
cmp eax, 6
ja case.default.0x42acb0
jmp dword [eax*4 + 0x42ae18]
mov eax, dword [ebp + 0x6c8]
mov eax, dword [eax + 4]
test eax, eax
je case.default.0x42acb0
push 0
push eax
call edi
jmp case.default.0x42acb0
lea ecx, [esp + 0x28]
push ecx
mov edx, 0x47d8f0
call fcn.0040db80
lea edx, [esp + 0x28]
push edx
mov edx, 0x47d904
call fcn.0040db80
lea eax, [esp + 0x28]
push eax
mov edx, 0x47d918
call fcn.0040db80
xor ebx, ebx
jmp case.default.0x42acb0
mov edx, 0x47d930
jmp 0x42ad21
mov edx, 0x47d990
lea edi, [esp + 0x28]
call fcn.0040c2d0
xor ebx, ebx
jmp case.default.0x42acb0
mov edx, 0x47d9b8
jmp 0x42ad21
mov edx, 0x47da38
lea edi, [esp + 0x28]
call fcn.0040c2d0
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], 0
je 0x42ad49
mov eax, dword [ebp + 0x6c8]
mov eax, dword [eax + 4]
test eax, eax
je 0x42ad49
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x6c8]
mov eax, dword [eax + 4]
push 0
push ebx
push 0xcf
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test ebx, ebx
sete cl
add ebp, 0x50
mov dword [ebp + 0x680], esi
mov dword [ebp + 0x67c], ecx
je 0x42ad7e
lea esi, [ebp - 0x24]
jmp 0x42ad80
xor esi, esi
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x38]
lea ecx, [esi + 0x24]
push 0x65
call eax
test eax, eax
jne 0x42adbf
mov edx, dword [esi + 0xe0]
mov eax, dword [edx + 0x38]
lea ecx, [esi + 0xe0]
push 0x65
call eax
test eax, eax
jne 0x42adbf
mov edx, dword [esi + 0x19c]
mov eax, dword [edx + 0x38]
lea ecx, [esi + 0x19c]
push 0x65
call eax
test eax, eax
je 0x42adcb
and dword [eax + 0x34], 0xffffffef
push 1
push esi
call fcn.0041a570
push 0
mov ecx, 0x131
mov eax, ebp
call fcn.0040e7d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ae01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8